Tree Flexgrid how to set the current selected row

Posted by: kun.leeing on 1 June 2020, 10:16 pm EST

    • Post Options:
    • Link

    Posted 1 June 2020, 10:16 pm EST

    Hi team,

    For the Flex Tree grid, how can I select the previous selected row after itemsource reloaded? For instance, a button in a row tiggered itemsource changed, afterwards still locate the selected row?

    Thanks.

  • Posted 2 June 2020, 2:13 am EST

    Hi Ken,

    You will need to store the previous selected row in a variable in the itemsSourceChanging event and set it back again in the itemsSourceChanged event.

    https://stackblitz.com/edit/angular-wyyidw

    Regards,

    Ashwin

  • Posted 3 June 2020, 9:30 pm EST

    Thanks, Ashwin. Great example!

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels