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
165
How to set specific cell in edit mode programmatically?
posted

I want to programmatically set specific cell into edit mode.

How to do that?

I see only cell.EndEditMode() method. I need smth. like cell.StartEditMode().

Parents
No Data
Reply
  • 4850
    Verified Answer
    Offline posted

    You first need to set the ActiveCell then execute the StartEditMode command, e.g.

    this.XamDataGrid1.ActiveCell = this.XamDataGrid1.RecordManager.Sorted[0].Cells[0];

    this.XamDataGrid1.ExecuteCommand(DataPresenterCommands.StartEditMode);

Children