AD
Administrator
Syncfusion Team
October 21, 2005 05:07 PM UTC
Take a look at the \3.3.0.0\Windows\Grid.Windows\Samples\DataBound\Hierarchical\Customers sample. It binds to a collection of nested objects.
GU
Gulshan
October 21, 2005 05:39 PM UTC
Thanks Clay
I got it!
Can we make sort functionality work in that example!
>Take a look at the \3.3.0.0\Windows\Grid.Windows\Samples\DataBound\Hierarchical\Customers sample. It binds to a collection of nested objects.
AD
Administrator
Syncfusion Team
October 21, 2005 10:46 PM UTC
The GridDataboundGrid only directly supports sorting if the DataSource is an IBindingList object, and supports sorting through the IBindingList interface.
Another option is to catch the click on the header cell and then directly sort your datasource somehow, and the call grid.Refersh to redisplay the grid.