Home - Forums-.NET - FlyGrid.Net (Windows Forms) - Help Re Disabling Column Sorting

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

Help Re Disabling Column Sorting
Link Posted: 02-Nov-2005 04:29
I have a very basic flyGrid on my form and I assign a DataSet to it based on the result of a search.  I want the grid to enable sorting (not filtering) on some columns but I want it disabled on others.

By default sorting is enabled on all columns (by clicking on the column header) but my question is: How do I disable the ability to click on a column header for the columns that I don’t want sorting?

Many thanks in advance
DaHeidsta
Link Posted: 02-Nov-2005 04:49
Simply set column.AllowSorting = false on columns that don't support sorting.
Link Posted: 02-Nov-2005 06:18
Hi

There doesn’t appear to be a Column.AllowSorting.  There’s a Column.AllowFiltering, Column.AllowSelect and Column.AllowSizing but no AllowSorting.

I’m working with FlyGrid.Net 1.0.1.0 Evaluation Version could this be why???  I haven’t bought it yet as I wanted to make sure it was fit for purpose.

Many Thanks
DaHeidsta (Originaly posted under Guest)
Link Posted: 02-Nov-2005 07:41
Please download latest 1.2.5 version.