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 BindingList

Thread ID:

Created:

Updated:

Platform:

Replies:

77751 Nov 14,2008 08:05 PM Nov 18,2008 07:23 AM Windows Forms 4
loading
Tags: GridControl
Hyung-Jin Lee
Asked On November 14, 2008 08:05 PM

Hello.
There are many similar questions that
I want to ask.
But I didn't still solve my problem. ;;
I want to sort data in GridDataBoundGrid.
In my case, I use BindingList <> as DataSource,
but BindingList doen't have Sort()
or similar methord .
Is there any way to sort BindingList ?
If you have another solution, Please
help me.
Thank you



Nisha Arockiya A [Syncfusion]
Replied On November 17, 2008 01:53 AM

Hi Chin,

Thanks for your interestin Syncfusion Products.

You can refer to our browser sample that illustrates a solution for sorting a column of GridDataBound grid which bounds to IBindingList datasource.

\My Documents\Syncfusion\EssentialStudio\6.3.0.6\Windows\Grid.Windows\Samples\2.0\DataBound\DataBoundSortByDisplayMember

By default the sorting is done in a GridDataBoundGrid through the IBindingList.Sort method on the underlying datasource for the grid. This means that the sorting is done on the actual values that are in the datasource.

Please let me know if this helps.

Regards,
Nisha



Hyung-Jin Lee
Replied On November 17, 2008 07:34 AM

Hello. Nisha
I appreciate for your reply.
But I could not find the sample.
Could you let me know the address for sample
exactly, please ?
Thank you. ^_^ ;;


Hyung-Jin Lee
Replied On November 18, 2008 06:46 AM

Hello. Nisha
I appreciate for your reply.
But I could not find the sample.
Could you let me know the address for sample
exactly, please ?
Thank you.


Nisha Arockiya A [Syncfusion]
Replied On November 18, 2008 07:23 AM

Hi Chin Lee,

Sorry for the inconvenience caused so far.

Please refre to the following sample that illustrates on IBindingList sorting.

GDBG_IBindingList_Sort-682175837.zip


Please let me know if this helps.

Regards,
Nisha


CONFIRMATION

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.

;