Hello
I have tried to get dynamic row index to merge cell and value is as per needed but its not working.
my function for get dynamic row value as per below
complete: function()
{
var data = that.grid.pqGrid("pageData"),
merged = [];
if(!empty(data) )
{
$.each(data, function(i,row)
{
if(typeof(row["children"])!=="undefined")
{
merged.push({r1:i, c1:0, rc:1, cc:3});
}
});
}
that.grid.pqGrid( "option", "mergeCells",merged);
},
resopnse as at console from loop in screeshot.
Thank You....