Hi,
I tried to bind colNames and colModel to Jqgrid dynamically.
I am creating json as required and passing it to Jqgrid with variable.
Â
If we put hardcoded then i can see jqgrid i.e
Â
In Jqgird i used like :
$gridDatasetItem.jqGrid({
datatype: “json”,
mtype: “POST”,
// Specify the column names
colNames: colN,
// Configure the columns
colModel: colM,
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top