We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

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.
Live Chat Icon For mobile
Up arrow icon