Hi
In treegrid I uesd the below code for export only the checked rows.
var selection = $("#jqxGrid").jqxTreeGrid('getRows');
var data = new Array();
var j = 0;
for (var i = 0; i < selection.length; i++) {
// get a selected row.
if (selection[i].checked == true) {
data[j] = selection[i];
j++;
}
}
$("#jqxGrid").jqxTreeGrid('exportData', extension, 'griddata', true, data, true, null);
But it was exporting all the rows in the treegrid.Can you tell me that where I did the mistake or it’s not possible with treegrid.
Thanks and regards,
Arunkumar.