View Full Version : grid scrollToRecord() problem

30 Jul 2020, 1:37 PM

I am using Extjs 7.1 Modern Framework, and I have and exactlly problem on grid scrollToRecord()
https://fiddle.sencha.com/#view/editor&fiddle/36b5 (https://link.getmailspring.com/link/[email protected]/0?redirect=https%3A%2F%2Ffiddle.sencha.com%2F%23view%2Feditor%26fiddle%2F36b5&recipient=bWl0Y2hAbm9ydGhzdGFyc3lzdGVtcy5jYQ%3D%3D)

1 when the grid scroll to the bottom of the list,
and call scrollToRecord(),
for example scrollToRecord(theFirstRecord)
the list screen become empty,
until manually scroll the scrollbar.

2. when try to scroll to the record that far away from the current list itme,
it cannot go to the target record even call multiple time of scrollToRecord()

Thank you