obscure jqGrid API notes

If you are using an older version of jqGrid because it comes nicely wrapped up in the jquery-grid-rails-plugin, keep in mind that all the demo code is written with the new API introduced in version 3.6. Fortunately, most of the demo code can still be reused with our version of jqGrid (3.5). Just get rid of any “jqGrid(’ ** ‘)” function wrappers, and everything should work fine. (I find this easier to do than rewriting the rails plugin for the new version)

For example:

var ids = jQuery("#rowed2").jqGrid('getDataIDs');


var ids = jQuery("#rowed2").getDataIDs();
comments powered by Disqus