What property should I set so that I can select cells in multiple rows only from those columns which are being dragged, as we do in Excel.
At the moment when I drag in particular column(s) downward, it also selects the cells from other columns which are not dragged.
Please see below the screen shot of what I need.
Can someone please reply to this urgent query?
Hi,
Maybe one possible way to achieve desired behavior could be if you are using the proeprties below:
private void ultraGrid1_InitializeLayout(object sender, InitializeLayoutEventArgs e) { e.Layout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.ExtendedAutoDrag; e.Layout.Override.SelectTypeCol = Infragistics.Win.UltraWinGrid.SelectType.Single; e.Layout.Override.SelectTypeRow = SelectType.Extended; e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect; }
private void ultraGrid1_InitializeLayout(object sender, InitializeLayoutEventArgs e)
{
e.Layout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.ExtendedAutoDrag;
e.Layout.Override.SelectTypeCol = Infragistics.Win.UltraWinGrid.SelectType.Single;
e.Layout.Override.SelectTypeRow = SelectType.Extended;
e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect;
}
Let me know if you have any questions.
Regards..
Thanks for providing the solution.
There is still one issue that is that it selects all the cells of the last row in selection.
That worked for me. Thanks.