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 Columns in GridListControl

I am trying to enable sorting by column in a GridListControl and have been working with the examples for GridListControlSample and GridControlSortSample, but when the code hits this line (in my new GridListControlSample code): this.ListBox1.Grid[0, col].Tag = ListSortDirection.Ascending; I get an argument out of range exception and no sorting takes place. Can someone tell me if this functionality is possible with the GridList?

2 Replies

AD Administrator Syncfusion Team September 12, 2005 06:26 AM UTC

Hi, See the forum posted in http://syncfusion.com/Support/Forums/message.aspx?MessageID=21917 You can also try to use GridControl/GDBG instead of GridListControl. You can get the look and feel of a GridListControl in GridControl/GridDataBoundGrid as shown in this KB: http://www.syncfusion.com/support/kb/grid/Default.aspx?ToDo=view&questId=118 Regards, Leo


WK Will Knoll September 12, 2005 07:04 PM UTC

Excellent, thank you Leo, I''ll give those a try.

Loader.
Live Chat Icon For mobile
Up arrow icon