Hi,
I am trying to move a row within the same band and within the same parent row. I copied the code from the KB010086 example and it did not work for me. All the events fired and in stepping thru the code everything worked as expected, however, the row was not moved. The row that was selected and the target index location were correct. Is there another property that I need to set? Is a multi-band grid an isuue for Drop and Drag?
I am using v. 7.3
Thanks
Rich
I downloaded the Article and I got it to work, I think what you are missing is setting the SelectType in the InitializeLayout:
Your initialize layout would look as follows:
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) { ultraGrid1.AllowDrop = true; e.Layout.Override.SelectTypeRow = SelectType.ExtendedAutoDrag; e.Layout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True; e.Layout.Override.CellClickAction = CellClickAction.RowSelect; }
I am facing exact the same problem.
Also using v.7 vol3
Regards