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.
Hello, I hope you can explain a problem I am experiencing.
I am running MS V/s 2005 and have a gridgroupingcontrol bound to a table in a dataset through a bindingsource (All created via the tasks drop down presented during design time.
A couple of the fields are populated from dropdown lists. These are obtained by setting up foriegnkeyreferences which all works fine.
When running. The addnew row allows for new lines to be edited and the results show up. ie clicking the enabled button will toggle it. However, Once the line has been added a new behaviour is observed.
If I click the enabled button the grid isnot updated (The change has taken effect just the grid has not updated) until I move off the row or press enter. If instead of moving off the row or press enter but TAB to the next field the change is lost (ie, pressing enter or moving off the row does not update the grid).
I've been using the syncfusion grids for a while now and not seen it behave like this which makes me think I may have clicked an option on/off to make it behave like this?
HAhaneefm Syncfusion Team July 13, 2007 09:53 PM UTC
Hi Daniel,
By Default,The GroupingGrid will push all data for a row into the underlying datasource for every record once you move the current cell of that record. Once the changes for a record have been pushed into the datasource the grid has no more knowledge about these changes and thus cannot reverse and undo these changes.It does not push all data for a row into the underlying datasource for every cell movement. If you want to commit all data to undelying datasource for every cell movement(button's click),you can call in Table.EndEdit Method(before calling this , you need to call the Table.TableDirty property to true). Below are the code snippet.
Thank you Haneef. calling Table.Endedit; Table.TableDirty = true; during the tablecontrolcurrentcellchanged event for certain column allowed me to control the grid to give the required results.