Hi!
I am using a current build of the grid view (2011.2.0808.40) and I am trying to enable drag & drop reordering of rows.
I found some examples in this board, however the examples don't compile against the current Version. For example
fails to compile because RadItemsControl and the ItemsControl Properties don't exist.
I tried to replace the code with
however the event handler row.MouseUp += this.RowMouseUp; is not invoked when releasing the mouse button.
Only the drag&drop indicator shows up.
I think the code is the one from this thread:
http://www.telerik.com/community/forums/wpf/gridview/row-drag-drop-re-ordering.aspx
An other problem is when dragging a row with extended selection mode enabled all rows I cross with my mouse while dragging are selected.
I am using a current build of the grid view (2011.2.0808.40) and I am trying to enable drag & drop reordering of rows.
I found some examples in this board, however the examples don't compile against the current Version. For example
RadItemsControl itemsControl =
this
.gridView.ItemsControl;
this
.currentDropIndex = itemsControl.Records.IndexOf(row.Record);
fails to compile because RadItemsControl and the ItemsControl Properties don't exist.
I tried to replace the code with
this
.currentDropIndex = gridView.Items.IndexOf(row.Item);
however the event handler row.MouseUp += this.RowMouseUp; is not invoked when releasing the mouse button.
Only the drag&drop indicator shows up.
I think the code is the one from this thread:
http://www.telerik.com/community/forums/wpf/gridview/row-drag-drop-re-ordering.aspx
An other problem is when dragging a row with extended selection mode enabled all rows I cross with my mouse while dragging are selected.