Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3455
How to deselect the row.
posted

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.

if I call

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

  • 17259
    Offline posted

    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)