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.
...so the datatable gets updated when the user leaves the cell.
However, if the user makes changes to a cell without leaving the active cell and just clicks on the dropdown arrow again to close grid2, the changes do not get saved to the datatable.
I need to find what event I can subscribe to to do a dtGrid2.AcceptChanges() or grid2.EndUpdate, or something so that changes are saved.
ADAdministrator Syncfusion Team May 4, 2007 10:06 AM UTC
Something to try.
Subscribe to the CurrentCellCloseDropDown event and in the event handler, try calling grid2.CurrentCell.ConfirmChanges(). (If that does not trigger the save, also try calling grid2.Binder.EndEdit().)
DGDan GarvinMay 4, 2007 03:38 PM UTC
All I can say is...You the man! The ConfirmChanges() worked. Thanks loads. -dan
>Something to try.
Subscribe to the CurrentCellCloseDropDown event and in the event handler, try calling grid2.CurrentCell.ConfirmChanges(). (If that does not trigger the save, also try calling grid2.Binder.EndEdit().)