Bruno17 / MIGX

MIGX for revo 2.2 and above
83 stars 78 forks source link

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

Open travisbotello opened 3 years ago

travisbotello commented 3 years ago

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.

Bruno17 commented 3 years ago

any suggestions, how this could be solved?

travisbotello commented 3 years ago

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