CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 LDAP with Editable Grids

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.