FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

Sort
Link Posted: 23-Jan-2006 20:18
Hi,
does the sortcolumns array is soretd by the time each column was selected?

i mean that if i take this string and apllay this sort on tha dataview, it will give me the wanted result?
Link Posted: 24-Jan-2006 08:14
Columns.SortColumns array is a readonly array.
To change this array you should change .SortOrder of some column, for example:
[list]
  • if you change SortOrder from None to Ascending from certain column, this column will inserted into Columns.SortColumns array.
  • [/*:m]
  • if you change SortOrder from Ascending to None from certain column, this column will deleted Columns.SortColumns array.
  • [/*:m][/list:u]