Skip to content

Infragistics Community Forum / Web / Ignite UI for Angular / Programmatically select the particular cell

Programmatically select the particular cell

New Discussion
Shobhana Suara
Shobhana Suara asked on Nov 6, 2020 1:53 PM

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.

Sign In to post a reply

Replies

  • 0
    元喜 中江
    元喜 中江 answered on Nov 6, 2020 8:15 AM

    Hello Shobhana,

    Thanks for contacting us.

    In order to save and restore the cell selection state, to use the IgxGridState is the easier way.
    http://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.

    • 0
      Shobhana Suara
      Shobhana Suara answered on Nov 6, 2020 1:53 PM

      Thanks Motoki. Will have a look

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Shobhana Suara
Favorites
0
Replies
2
Created On
Nov 06, 2020
Last Post
5 years, 4 months ago

Suggested Discussions

Created by

Created on

Nov 6, 2020 1:53 PM

Last activity on

Feb 19, 2026 9:56 PM