Sorting GridDataBoundGrid with Entity Framework Query as Datasource

Hi there,

Simple question:
Is it possible to use the sorting functionality from the datagrid when i use EF 4.0 as datasource?

GridDataBoundGrid.DataSource = EFContainer.Objekt;

This will bind the data to the grid and it displays correctly, but doubleclicking on the header has no effect.


1 Reply

JJ Jisha Joy Syncfusion Team February 11, 2010 06:59 AM UTC

Hi Roland,

As far as the sorting support, your DataSource must support IBindingList in order to get the built-in sorting within GridDataBoundGrid. Please refer the following forum thread for more details.

http://www.syncfusion.com/support/forums/grid-windows/38413

Thanks,
Jisha

Loader.
Up arrow icon