Sortable Headers

Mar 18, 2011 at 8:14 AM

Hi,

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 6:45 AM

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

Mar 23, 2011 at 11:07 AM

Thanks very much, that sorted my problem.