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
1415
Programmatically select the particular cell
posted

Hello Team,

Is there a way to programmatically select the row of the particular cell.

Scenario: I have a Igx data grid (grid1).OnCellClick($event) method call, i have to open a drawer on left that displays another igx grid(grid 2). As per the requirement, we have to refresh the page every 15 seconds and the selected cell gets unselected.

Requirement: I am storing the cell value in session storage but with the refresh of the page, the selection of the cell gets unselected. Need to keep the selection of the row.

Please provide a solution in stackbliz ASAP as this is an ongoing project.

Thanks in advance.

Parents
  • 60
    Offline posted

    Hello Shobhana,

    Thanks for contacting us.

    In order to save and restore the cell selection state, to use the IgxGridState is the easier way.
    www.infragistics.com/.../state-persistence
    Please read this article and check the behavior of DEMO.
    You can save/restore the cell selection by clicking the button in the DEMO.
    And then please change these timing to before/after the page refresh on your application.

    Sincerely,
    Motoki.

Reply Children
No Data