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 set the GridGroupingControl''s (GGC) DataSource property to be a DataTable with columns defined, but no rows. (The idea being to retrieve this at a later date to add rows.).
This is set with following code:
dataGrid.DataSource = underLyingDataTable;
If I immediately retrieve the data source using:
object ds = dataGrid.DataSource;
ds is undefined.
Any ideas why this happens? (I do the same thing with DataBoundGrid and it works as expected.)
ADAdministrator Syncfusion Team June 20, 2006 04:59 PM UTC
Hi Clivito,
I am afraid that I was not able to reproduce this issue.
Please let me know the version number of Studio you are testing this with and the .Net version.
Thanks for using Syncfusion Product.
Regards,
Haneef
CHClive HillJune 20, 2006 06:03 PM UTC
My bad... for DataBoundGrid I was doing the following:
((System.ComponentModel.ISupportInitialize)(dataGrid)).BeginInit();
dataGrid.SuspendLayout();
when building up the grid. For GridGroupingControl this has te effect of making the DataSource come back as null for some reason.
This works now.