The LiteGrid jQuery Grid plug-in is getting some new code as I drive towards the 1.0 release. I’ve (finally) started on an MVC library to make working with LiteGrid within MVC applications trivially-simple, I’ve created a sample application to serve as live documentation, and a variety of NuGet packages will be part of the 1.0 release. If you want to know more, read on.
What is LiteGrid?
- AJAX-based data provider supporting retrieval, updates (both multi-row batch and single-cell modes), updates, and inserts, with full support for retrieving and rebinding database-populated values post insert/update (more on this in a future post)
- Batch saving module that allows users to persist their changes on-demand
- BlockUI integration, nicely disabling access to the grid during data operations
- Cell saving module that automatically saves changes whenever a cell is edited
- Formatting module that allows you to specify anything from simple to advanced formatting rules
- Editable via integration with JEditable
- Layout manager that adds resizable columns, fixed header row, and more
- Integration with jQuery UI
- Row addition module that does exactly what it sounds like
- Row deletion module that adds a delete button to all rows
- Injection protection through escaping potentially dangerous characters, and unescaping them prior to edit
- Dynamic row striping that maintains the correct striping even as the grid changes
- Toolbar that supports custom buttons
- Tree-grid functionality, allowing rows to be nested under other rows
- Client-side sorting, even when the tree-grid module is used.
Thanks to the persistent reminders via E-mail, I’ve once again made LiteGrid a priority, and I’ll be working towards a 1.0 release later this month. The 1.0 release will include a library of MVC classes (HTML helpers, ActionResults, etc) as well as a sample MVC 3 application that shows how to use LiteGrid. I’ve just committed the first step towards this release to source control, so if you’re curious or can’t wait for the official release, feel free to check out the code. There’s already a partially working sample application with a basic example of how to move data to/from LiteGrid and an MVC 3 application. I’ll continue to flesh that sample out as the MVC library grows and things inch towards the 1.0 release.
If there are other features people are interested in seeing for 1.0, please let me know, and I’ll do my best to include them. In the meantime, look for future posts to highlight some of the things that are happening to the codebase as it moves towards the 1.0 release.
(Oh, and I haven’t forgotten about Fluently-XML either. The final post in that series as well as the source code release are both in the works.)