I know there''s another thread regarding this question, but it doesn''t bring up a solution..
When setting the
DataGrid.SortBehavior = Syncfusion.Windows.Forms.Grid.GridSortBehavior.SingleClick
nothing happens.. in my extremely simple grid.. I expected to see those small arrows in the columnheaders... What I am supposed to do to get something as straightforward as sorting grids to work??
ADAdministrator Syncfusion Team April 28, 2005 01:23 PM UTC
Is it possible to upload a sample that shows the problem? Which version do you use?
RFRasmus FynboApril 28, 2005 01:53 PM UTC
My example couldn''t be more simple.. it''s a simple databoundgrid and the sortingBehavior in the designer is as default set to DoubleClick..
>Which version do you use?
ADAdministrator Syncfusion Team April 28, 2005 02:00 PM UTC
An ArrayList as datasource does not support sorting, you need to add a DataTable or DataView, because the sorting is made on the DataTable.DefaultView.Sort or DataView.Sort property.
EWEric WeberDecember 29, 2005 06:59 PM UTC
I''m also using a GDBG, but it is bound to an IBindingList populated with IEditableObjects. What is the easist way to implement sorting? Do you have any examples of how to implement sorting in an IBindingList?
ADAdministrator Syncfusion Team January 2, 2006 02:50 PM UTC
If your GridDataBoundGrid is bound to some IBindingList collection and you want your GridDataBoundGrid to support sorting , you will have to implement the IBindingList.AllowSorting property and the IBindingList.ApplySort method (in addition to the other interface members). Refer to Sample.
Refer this forum for sorting the ArrayList
Let me know, for futher assistance.