Hi,
I need to delselect the wingrid row if selected using c# code.
The situation which do me so.
I need to edit / enter values to first row, but the third row is selected.
this.UltraGrid1.PerformAction(UltraGridAction.EnterEditMode);
there is no change in the first row, it is only activated and still now the third row is selected.
When I debuged the BeforeEnterEditMode is not triggering.
Regards,
Ceaser
The selection shouldn't bother you. I think you're not getting edit mode since there is no active cell in the first row. Try adding those rows before:
PerformAction(UltraGridAction.FirstRowInGrid)
PerformAction(UltraGridAction.FirstCellInRow)