Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    refreshing all listgrid rows at once

    i have to change the data in bulk in list grid, 2-3 fields of around 300 rows, so i do the below.
    for(var i = 0; i < data.length; i++){
    var rowNum = LisGrid.getRecordIndex(data[i]);
    var wsRecord = LisGrid.getRecord(rowNum);
    wsRecord.FieldX = data[i].FieldX;
    wsRecord.FieldY = data[i].FieldY;
    LisGrid.refreshRow(rowNum);
    }

    as the script is long IE always gives an error that script is takking too long do u want to stop, is there any way i can refresh the changed rows at once instead of doing one by one
Working...
X