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
950
How to put on a cell by code
posted

For Exemple , when I Clic on a Button , I Want get the focus on row = 3 and cell = 4 on my xamldatagrid

 

Thank you     CAISSEODV

Parents
No Data
Reply
  • 12004
    Verified Answer
    posted

    Hello Caisseodv,

    For setting the focus you can set the ActiveCell property and return as a Cell object. E.g.:

    DataRecord record = (DataRecord)XamDataGrid1.Records[3];
    XamDataGrid1.ActiveCell = record.Cells[4];

Children