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'm using your GridGroupingControl to display a DataTable I populate using our database. I've set the AllowNew and AllowRemove properties from it's TableDescriptor to false as I do not wish the user to add or remove rows from the grid.
It is quite often that the user will trigger an action that requires the DataTable to be updated and re-shown in the GGC. When this occurs, we programmatically set the GGC's DataSource property to null, retrieve the new DataTable and apply it to the GGC's DataSource.
Here's the problem. When setting the GGC's DataSource property to null, it's TableDescriptor objects seems to restore all it's property values back to their default values. Most importantly, the AllowNew and AllowDelete properties return back to true! Now I'm forced to reset these values back to false every time this occurs.
So, is this expected behavior when setting the GGC's DataSource to null? If so, why? If not then I believe we have a bug on your hands.
ADAdministrator Syncfusion Team October 21, 2008 08:30 PM UTC
Hi Brian, If you don't want the TableDescriptor to be reset when the DataSource is set to null, please set this property GridGroupingControl.AllowResetTableDescriptorWhenDataSourceSetNull to false.