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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sorting GridDataBoundGrid with Entity Framework Query as Datasource

Thread ID:





92889 Feb 10,2010 02:30 PM UTC Feb 11,2010 06:59 AM UTC WinForms 1
Tags: GridControl
Roland Westphal
Asked On February 10, 2010 02:30 PM UTC

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 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.




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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon