Thread: datagrid
View Single Post
  #2 (permalink)  
Old 2004-03-20, 08:51 AM
MonkeyMagic
Guest
 
Posts: n/a
Default

Hi,

I would just create a class that prints out a table. The class could have a sql query member to populate the table. Fetch the results into an associative array use the first fetch to create the table headers and first row of data, subseqent rows will make up the rest of the table.

To mimic datagrid behavoir table headers should be links to requery the database using the basic query with an ASC 'tableheader' appended.
Reply With Quote