We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

New Row in GDBG

When is a DataRow created for a new row in a GDBG? I have a breakpoint in the CurrentCellChangedEvent, but even after changing serveral cells in the new row, the DataRowCollection count is zero. Ken

1 Reply

AD Administrator Syncfusion Team May 14, 2004 08:35 PM UTC

You have to leave the row before the changes are moved to the datasource. As long as you are changing the cells in the same row, the changes are cached locally. If you want to force the changes to be saved to the datasource as you leave each cell, try handling the CurrentCellMoved event. In the handler if grid.CurrentCell.MoveToRowIndex is equal to grid.CurrentCell.MoveFromRowIndex, then you can try calling grid.Binder.EndEdit().

Live Chat Icon For mobile
Up arrow icon