Set active row after reloading grid data of detail

Hi Community,

Every after record item changes, I am calling this method this.reloadGridData() to refresh the grid in order the recent changes will be displayed.

Now I want after reloading, I want the last active row to be re-selected again. Any idea how can I possibly do this?

Like 0

Like

3 comments

Start from debugging the reloadGridData method and find how it works. Keep your attention on the "onGridDataLoaded" method. Additionally, please debug and find what happens after selecting a record.

Eugene Podkovka,

 

Hi Eugene, 

 

How to debug the reloadGridData method?

Where to find this method?

Hello, 

 

I'd suggest to check the corresponding replacing view model schema where the logic is implemented.

This article (and connected to it) could be helpful for better understanding. 

Hope it clarifies!

Best regards,

Anastasiia

Show all comments