Hi
I have to handle drag and drop in infragistics grid. i have to drag multiple rows from the grid to treeview
node. But i couldnt enable my grid to have multiple selection. please give me any direction how to
proceed..
Thanks,for u help
Hi there,
Here is the code that will allow you to enable multi-select rows (or cells):
private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e) {
//Configure what happens when you click cells / rows
e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
//OR
e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.CellSelect;
//Configure the "Multi-select" functionality e.Layout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.Extended; e.Layout.Override.SelectTypeRow = Infragistics.Win.UltraWinGrid.SelectType.Extended;
}