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 BindingList

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



4 Replies

NA Nisha Arockiya A Syncfusion Team November 17, 2008 06:53 AM UTC

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




HL Hyung-Jin Lee November 17, 2008 12:34 PM UTC

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. ^_^ ;;



HL Hyung-Jin Lee November 18, 2008 11:46 AM UTC

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.



NA Nisha Arockiya A Syncfusion Team November 18, 2008 12:23 PM UTC

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


Loader.
Live Chat Icon For mobile
Up arrow icon