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.
Hi, I would like to know how to get a nested table without using DataSets. For example, setting as DataSource an ArrayList of ArrayList... Would it be possible?
ADAdministrator Syncfusion Team April 14, 2005 05:17 PM UTC
Yes. You can do this. Here is a little sample.
http://www.syncfusion.com/Support/user/uploads/GGC_ArrayLists.zip
RORoberto ObispoApril 15, 2005 09:39 AM UTC
Thank you very much!
The sample works fine in C#, but I''ve tried to use the same method with my VB.NET project, and It keeps throwing me this exception:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at Syncfusion.Grouping.RelationDescriptorCollection.EnsureInitialized(Boolean populate)
at Syncfusion.Grouping.RelationDescriptorCollection.get_Version()
at Syncfusion.Grouping.FieldDescriptorCollection.EnsureInitialized(Boolean populate)
at Syncfusion.Grouping.FieldDescriptorCollection.get_Version()
.......
(the original text is very much larger, as you could imagine)
It ocurrs after setting the grid''s DataSource.
Where could be the problem?
Thanks a lot
ADAdministrator Syncfusion Team April 15, 2005 10:05 AM UTC
Here is a VB version.
http://www.syncfusion.com/Support/user/uploads/GGC_ArrayLists_VB_c4081367.zip
Depending upon the order of initializing things, the groupinggrid may not have set certain variables. You can force them to be set just by accessing a count or something that triggers the initialzation like:
Dim i as integer = me.grd.TableDescriptor.Columns.Count
This may be the problem you are seeing.