Announcement

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

    Not sure if that's a bug but ...

    I have to post my question about saveAllEdits again.
    Code:
    if (listGrid.getAllEditRows().length != 0)
    {		
    alert(listGrid.getAllEditRows().length);
    var grid = listGrid;
    listGrid.saveAllEdits(0, function() {alert(grid.getAllEditRows().length);});	
    var grid = listGrid;
    listGrid.saveAllEdits(1, function() {alert(grid.getAllEditRows().length);});
    }
    I am saving two new records. Initially ListGrid does not have any data.

    First alert shows 2. Second shows 2. Third shows 1.
    Does not look right to me.
Working...
X