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 writing a little app and trying to use the GridListControl. Basically, I just need a simple multi-column listbox and thought this would be simple to do. I must be missing something basic.
I have a class with 6 public properties, 3 strings, 2 ints, and an enum.
If I bind to the GridDataBoundGrid, I get all the columns just the way I want. I suppose I could just use the ListSelectionMode stuff in that, but I''d like to know what I''m doing wrong with the GridListControl.
First I tried binding to an array of these objects (which again, worked with GDBG). But when I try it with the GridListControl, I only get the first column/object property (Title, in this case).
I tried setting GridListControl.Grid.ColCount = 6, but that had no effect.
I tried creating a class derived from ArrayList that implemented ITypedList. In the GetItemProperties() (which I verified is getting called), the TypeDescriptor.GetProperties(typeof(MyObject)) returns the PropertyDescriptors for all 6 properties. Still no success.
Surely I''m just missing something simple. I couldn''t find a sample that displays more than one column. Did I miss something?
Thanks.
Pete