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

Loop Engineering: Designing the Systems That Prompt Your Agents

Loop Engineering For the last couple of years, the core skill in working with AI was writing a good prompt. You'd craft careful instru...