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.
I have a GDBG bound to a table. One of the columns is an entry date. I want the following functionality:
If a user edits data on a row, i want to keep the original row (with no modifications) and automatically insert a new row with an entry date equal to the current date, along with the modifications made by the user to the row.
Is this possible with the events? I can''t seem to find the proper events on the grid. Also, can I hide the original row, and show the new row in the same position as the old row?
ADAdministrator Syncfusion Team September 30, 2005 02:22 AM UTC
Hi Keyur,
I am not really sure how to do this but one idea would to set binder.AllowSetValueOnCurrentItem = false;
and then handle the RowLeave event. In that event you could loop through the values of the current record (simply call Model[row, col] to get styles) and save them. Then you call you call binder.CancelEdit and then you manually create a new record in your datasource and applies the values you previously saved to it.
To hide a row you could set Model.HideRows[rowIndex] = true;
Stefan