1

After the drag and drop operation in tree panel, the scroller bar is moving to top automatically. Is there is any way to fix scroll bar in dropped position. please someone help me to solve this issue

sri
  • 19
  • 2

1 Answers1

2

Try set preserveScrollOnRefresh to true on view of your treepanel:

  viewConfig: {
     preserveScrollOnRefresh: true
  }
pvlt
  • 1,843
  • 1
  • 10
  • 19
  • I tried with preserveScrollOnRefresh already but it doesn't helped. I got the solution for the problem. I saved the scrollbar position before drag and set it manually after drop operation. Its working fine now. Thank you so much for your help. – sri Jan 24 '20 at 05:30
  • Also, the problem can probably be fixed if as follows: `viewConfig: {preserveScrollOnReload:true}` – pvlt Jan 24 '20 at 06:21