We are using infragistics v10.3 webdatagrid which has 76 columns & 3000 rows.
We have check all checkbox in the header template. On its selection system is throwing following error(Stop running this script?)
For check all checkbox in the header template we have written following javascript function:
function CheckAllItems(checkbox) {
var grid = $find("<%gridname %>");
for (var i = 0; i < grid.get_rows().get_length(); i++) {
var row = grid.get_rows().get_row(i);
var cell = row.get_cell(0);
var element = cell.get_element();
element.children[0].checked = checkbox.checked;
if (checkbox.checked)
grid.get_behaviors().get_selection().get_selectedRows().add(row);
else
grid.get_behaviors().get_selection().get_selectedRows().remove(row);
}
We suspect the below lines are taking time in the function-
Kindly suggest an alternative.
Hi Support Team,
Any updates on above mentioned WebDataGrid issue?
Thanks & Regards,
Nilesh Sawant
Hello Nilesh ,
I’m just following up to see if you’ve been able to resolve your issue. If you have any questions or concerns or if you need further assistance please let me know.
Best Regards,
Maya Kirova
Developer Support Engineer
Infragistics, Inc.
http://es.infragistics.com/support