CurrentCellMoving

Hi, I have a grid with GridTextBoxCellRenderer. I want my OnSaveChanges to be called everytime focus changes between the cells within the grid or when the focus goes out of the grid irrespective of the cells changed or not. How do I do this? The way I was doing this was using grid_Leave and grid_CurrentCellMoving calls. But for some reason, I get a ''rowIndex'' OutofBoundsException with this trace dump ( but when i do a watch in CurrentCellMoving everything seems legal): Parameter name: rowIndex at Syncfusion.Collections.SFTable.set_Item(Int32 rowIndex, Int32 colIndex, Object value)

1 Reply

AD Administrator Syncfusion Team October 1, 2005 03:41 AM UTC

Try handling the CurrentCellMoved event. There, set this.grid.CurrentCell.IsModified = true. This should force the current cell to be saved whether or not there was a change.

Loader.
Up arrow icon