How do you prevent the movement of the header?
I think most of the screen to display the data.
It is very important that the order of columns.
It should not be moved.
But I can not find how to prevent it
Drag to move the header to the user want to prohibit
grid.Headers [0]. FixedColumns.Count = 3
It did not work
I want to prevent the movement of all the headers
0
-
Dear Yang Sun Yeol,
Each column has Column.Movable property. it's enough to set it to false and the user won't be able to move them. So, you can do a small loop to prevent all columns from moving:
for(Column column = grid.Headers[0].Columns)
{
column.Movable = false;
}Best regards,
Dapfor
0
Please sign in to leave a comment.
Comments
1 comment