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

 using Microsoft.AspNetCore.Mvc; using System.Xml.Linq; using System.Xml.XPath; //<table class="common-table medium js-table js-stre...