Posted by Alec on Mon, 27 Apr 2009, in Tools
I have been playing around with a free datagrid control available, called FlexiGrid. It has to be one of the very best grid control available as open source. Having a very elegant user interface and very easy to integrate and customised codes, we could integrate FlexiGrid into any existing applications.
The beauty of FlexiGrid is simply using the strength of JQuery that supports functionalities such as resizable column widths, show/ hide columns, pagination, etc. It also supports JSON/ XML with web services. Meaning, everytime we browse through pages, it actually communicates with a web service, which returns back an XML that gets parsed and displayed in the grid.
Some userful links: Official Flexigrid Code Project demo project
The demo project from CodeProject is very useful in teaching how to setup the structure. I changed it a bit so that instead of having business objects for each classes, we use a generic method for data access, returning a dataset and then create an xml from the datatable.