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.
Unfortunately, activation email could not send to your email. Please try again.

Sorting GridDataBoundGrid with Entity Framework Query as Datasource

Thread ID:





92889 Feb 10,2010 09:30 AM Feb 11,2010 01:59 AM Windows Forms 1
Tags: GridControl
Roland Westphal
Asked On February 10, 2010 09:30 AM

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.

Jisha Joy [Syncfusion]
Replied On February 11, 2010 01:59 AM

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.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.