Michael Andersen
|
| Posted: 02/10/2003, 5:21 AM |
|
Hi all
I've been working woth CCS for a couple of weeks not, and am finding it a
very usefull tool. Thanks to those that developed the editable grids.
My issue... i need to vary the displayed columns (and headings) at runtime.
Most of my current application can use the grids as created by CCS, but one
page has to show a user specified view of the data (user can influence the
sql executed), i.e. can't make the template html pages ahead of time. Has
anyone developed any good practices for this sort of thing? I need to do
this in ASP and PHP.
Some approaches that come to mind are;
See what the returned field list is (and what the characteristics of the
fields extracted from sql db metedata), then produce a new html file on the
fly. i'm nervouse about this approach, because of the number of files it
could be createing (1000 users, 1000 pages, plus naming issues)
Hand code the page just using ASP or PHP, without any reliance on CCS. This
page would sling the required html on the fly. A very doable thing, but I'd
prefer not to.
Any suggestions?
Michael
|
|
|
 |
|