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.
My bounded object has three public properties (S1, S2, S3). I defined in my GridGroupingControl only two columns for presentation properties S1 and S2. In runtime, when I assign DataSource to the grid, it accesses to property S3. Why? How can I prevent access to the property from Grid? Thank you.
ADAdministrator Syncfusion Team June 24, 2008 11:27 PM UTC
The grid by default caches the original values for each record for various reasons. If you do not want the grid to do this, you can set gridGroupingControl1.CacheRecordValues = false;
Setting this property will prevent the grid from accessing the properties not used in the TableDescriptor.Columns collection.
Another way to handle this is to have your list object implement ITypedList, and in the GetItemProperties implementation return only the property descriptors for S1 and S2.
ADAdministrator Syncfusion Team June 25, 2008 11:04 AM UTC