Bruno17/MIGX

this.listboxEditor edit causing grid/window to scroll back to top

travisbotello opened this issue · 2 comments

When editing a grid field via this.listboxEditor the grid/window scrolls back to top after every edit. This makes it kind of hard to alter multiple consecutive items. I think it would be more efficient to maintain the scroll position.

any suggestions, how this could be solved?

I couldn't find the initiator of this scroll to top trigger but I do believe that this is some kind of native extJs behavior when records in the grid are updated via inline editing. Updating a record via modal doesn't scroll the grid to top. I found a very old thread on the sencha forum regarding this matter: https://forum.sencha.com/forum/showthread.php?34802-Stop-scrolling-to-top-when-grid-store-is-reloaded