Hi,
you can’t restrict the drap and drop functionnallity on the Column Headers but you can restrict the possible actions.
To disable the two possible drag and drop actions on the column headers (changing the display order of the columns from the original layout and grouping).
foreach(Row row in m_gridControl.FixedHeaderRows)
{
if(row is ColumnManagerRow)
((row) as ColumnManagerRow).AllowColumnReorder = false;
else
if(row is GroupByRow)
((row) as GroupByRow).AllowGroupingModification = false;
}
Imported from legacy forums. Posted by Ghislain (had 1228 views)