Hi ,
Can anyone solve this problem for me
1) In my ultragrid i have multiple selection of rows and
2) When a user clicks on a particular Row, at any point that's not an enditable field, the cursor should default move to the Editable field in the row
i have written the code like
private void ugCellMerging_AfterSelectChange(object sender, AfterSelectChangeEventArgs e) { if (ugCellMerging.ActiveRow != null) { if (ugCellMerging.ActiveCell.CanEnterEditMode == false) { ugCellMerging.ActiveCell = ugCellMerging.ActiveRow.Cells[2]; ugCellMerging.PerformAction(UltraGridAction.EnterEditMode, false, false); } } }
by writting this code my 2 point is working but multiple selection is going off
how can i achive both multiple selection as well as cursor moving to editable field on a particular row click
Regards
Priyanka
Hi Mike,
Thanks for your reply
or else am breaking my head in getting the 2 cases
Hi Priyanka,
If a cell in the grid is in edit mode, then the selection is cleared. There is no way around this. They are mutually exclusive states.