PDA

View Full Version : Using the Datagrid


antun
08-27-2004, 03:05 PM
In the past there have been Tips of the Week on the Grid component, but seeing as the Olympics are on, I thought I'd post one that used live XML-based medal counts. You can see the result here:

http://www.mylaszlo.com/lps-2.1.2/antun/olympics/olympics.lzo?lzt=html

... and the source code here:

http://www.mylaszlo.com/lps-2.1.2/lz-utils/viewer/viewer.jsp?file=/antun/olympics/olympics.lzx

Note that comparator functions had to be written so that the Grid would not treat the medal counts as strings when sorting.

Enjoy!

PS The web service is available here:

http://www.laszlosystems.com/cgi-pub/olympics.cgi