I've also had luck making a ajax call using iwf ajax lib (turns all the xml goo into nice javascript stuff like myxml.mylist[4].fields[4].name so its easy to write code against the dynamic returned values) - to go get the grid data and then wrote code that literally "drew the data in" on the client. This is heavy lifting, but once its coded - it works nicely. Probably more work then Alex's elegant solution.
-----Original Message----- From: Alexander Back [mailto:[email protected]] Sent: Monday, July 27, 2009 10:07 AM To: qooxdoo Development Subject: Re: [qooxdoo-devel] a table/grid with remote data? Hi Skar, On Monday 27 July 2009 skar wrote: > I need a way to show data from the server in a grid like > jqgrid(http://www.trirand.com/jqgrid35/jqgrid.html). I would need > search, sort on certain columns alone, while other columns wouldn't need > these search/sort features. I found this > http://qooxdoo.org/documentation/0.8/remote_table_model?s=send%20json > about remote table. But, how do I associate this model with a widget > like a table? To set the Remote Table Model for the table widget you can use --snip-- yourTableInstance.setTableModel(yourRemoteTableModelInstance); --snip-- -> http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.Table cheers, Alex ------------------------------------------------------------------------------ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
