The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator 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().