This project is read-only.

Sortable Headers

Mar 18, 2011 at 9:14 AM


Firstly I would like to say how impre4ssed I am with the grid.

I am getting the error  "Can not swap rows if they contain spanned ranged which extend more than one row" when I click on a row or column header. I understand that this is bacause I have spanned rows and I dont need the sort functionality.

My question is how do I disable this and make clicking/double clicking the header do nothing.

Many Thanks

Mar 21, 2011 at 7:45 AM

I'd try SourceGrid.Cells.Header as header cells instead of SourceGrid.Cells.ColumnHeader.

Mar 23, 2011 at 12:07 PM

Thanks very much, that sorted my problem.