Hi,
I'm trying to block reordering of a gridview column.
In my sample, I've three columns. The first one got IsReorderable = false. Others are true.
But I can move the second and the third column at the first index, and I want to block that because this is a sort of reordering the initial first column.
I've inspected the DropInfo and DragInfo to the grid, and I can see the e.Options.Payload containing something called :
Telerik.Windows.Controls.GridView.HeaderCellReorderOptions;
having my informations : CurrentDisplayIndex and InitialDisplayIndex.
But I'm unable to cast the object with this type, and play with them.
Any idea ?
Thanks.
I'm trying to block reordering of a gridview column.
In my sample, I've three columns. The first one got IsReorderable = false. Others are true.
But I can move the second and the third column at the first index, and I want to block that because this is a sort of reordering the initial first column.
I've inspected the DropInfo and DragInfo to the grid, and I can see the e.Options.Payload containing something called :
Telerik.Windows.Controls.GridView.HeaderCellReorderOptions;
having my informations : CurrentDisplayIndex and InitialDisplayIndex.
But I'm unable to cast the object with this type, and play with them.
Any idea ?
Thanks.