Skip to main content

Posts

Showing posts with the label jqgrid

jqgrid grails : editing rows with drop-downs/combo boxes

Jqgrid is a jquery plugin that allows formatting data as table and has number of options - paging, sorting, filtering, inline editing etc. There are few good tutorials explaining the process to integrated jqgrid in your grails application. http://pramodnepal.com.np/?p=119 http://www.grails.org/plugin/jqgrid Following is a typical jquery script that can be used in a grails application. The property 'editable=true' make any of the field in grid as editable.

Paging techniques for applications using google appengine for java

Paging technique is implemented in tons of websites and there are many libraries, both opensource and commercial components, that are easy to integrate into any website. Ajax based tables (excel like) with navigators for paging to and fro, are integral part of RIA applications. Why do we need a different technique to implement paging for Google appengine application when so many components exists today? To answer this, we need to understand two aspects. 1) How majority of the "paging" components are designed for usability? 2) How data is stored and retreived in applications that use Google Appengine? I used my favourite "paging" library Jqgrid to explain the techniques. The component is based on JQuery and is well documented. Click the link for jqgrid demo The above picture shows, - options to navigate page by page - total number of records available - total number of pages etc