Datasource in databound grid....

Hi, The Datasource in databound grid is an "Object" type. I have a complex object which has information for displaying nested headers on both rows and columns. Can the databound grid work with such an object ? I appreciate your help Thanks,

1 Reply

AD Administrator Syncfusion Team March 3, 2004 09:30 PM UTC

The default behavior of the GridDataBoundGrid is to bind to a IListSource and to display simple public properties of the objects in the list as columns in the grid. So, I suspect your complex object will not bind just by setting the DataSource property. You might want to consider using a GridControl in virtual mode. This type of grid can be bound to anything by handling 1 to 4 simple events (the number of required events depends upon the functionality you want).

Loader.
Up arrow icon