cchipman
Posts: 7
|
Posted: 12/29/2004, 3:09 PM |
|
I'm trying to make a directory for our company, pulling the records out of an LDAP server. Is there any way tto fill in the grid with the results of the LDAP query? Or are the grids specifically aimed at hooking up to a database?
_________________
Carl Chipman |
|
|
lvalverdeb
Posts: 299
|
Posted: 12/31/2004, 7:38 AM |
|
Hi Carl,
As far I know the grid component only works with tables/views. To handle similar tasks I "build" the grid (usually from an XML file) within a PHP function and return it as a HTML table bound to a label control with the Content type set to HTML.
Best Regards
Luis
_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4 |
|
|
lvalverdeb
Posts: 299
|
Posted: 12/31/2004, 7:49 AM |
|
Carl,
I missed the "editable grid" part of your question. I've used a similar approach as explained earlier (except for "return as a table") where a PHP function parses an XML file (called from the Before Build Select event of the grid) and inserts/updates a table which is then displayed/modified in the editable grid.
I am not sure if this approach would work for you as it has for me.
Luis
_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4 |
|
|
cchipman
Posts: 7
|
Posted: 12/31/2004, 9:33 AM |
|
Do you have some code you could/would share? In short, I want the functionality of their grid, but without tying into a database. I guess I could just go modify their grid class to one of my own, but I'm uncertain of it.
_________________
Carl Chipman |
|
|
|