Sunday, May 12, 2013

jqGrid : parameters are case sensitive

Note that the following did not work :

$("#abcd").jqGrid ( {
         dataType : myfuncname,
.........
})


but the following worked :


$("#abcd").jqGrid ( {
         datatype : myfuncname,
.........
})


Notice the casing : dataType vs datatype. 
I was used to type dataType for jquery ajax call, hence type it that way in jqgrid also and it didn't work.





























No comments:

Post a Comment

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...