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

Misc Javascript points

 Nodejs can support multithreading through use of promises _ is the numeric separator for javascript, that means the numbers 10_000, 11.23_0...