Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
605
The CheckAll in UltraWebGrid is very slow
posted

Dears:

We need a checkBox in the first column to that we can decide witch row will be deleted or updated,And of course we use a checkBox in the header to Make All the Checkbox Checked.

Now I show you my code in js:

function Grid_SelectAll(UltraWebGrid, CheckBox) {
    //oUWGrid代表GRID的名称,客户端可以取到(方法:o+GRID的ID)
    var oGrid = UltraWebGrid;

    var oRows = oGrid.Rows;

  for (i = 0; i < oRows.length; i++) {
     var row=oRows.getRow(i);
     var cell=row.getCellFromKey("CHECK");
        if (cell.isEditable()) {
            cell.setValue(CheckBox.checked);
        }
    }
}

when the row's count more than 50,we fill feel that it is slow,and more rows more slow.

can you give me someother methods to resolve this problem

Thanks!

 

 

 

Parents
No Data
Reply Children