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
715
Select a cell in the grid programmatically?
posted

Is it possible to do this?

I've tried giving the grid focus, getting hold of a reference to the cell, setting IsSelect/IsActivated to true, yet nothing happens, any ideas?

Thanks

  • 715
    posted

    It's ok, found the answer elsewhere

     

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

    this.XamDataGrid1.ExecuteCommand(DataPresenterCommands.StartEditMode);