3

I use ExtJS 4.2 and bufferedRenderer for large tree. when i need to scroll specific node I have to use grid.view.bufferedRenderer.scrollTo(rowIndex) as in http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/grid/buffer-grid.html

but when I do not have row index but only node object how can I scroll to it? If all tree nodes expanded - it is simple: I have to count all previous nodes, but if some nodes collapsed?

clarent
  • 347
  • 2
  • 15

1 Answers1

0

You can try this

grid.getView().scrollRowIntoView(rowIndex)
Renganathan M G
  • 5,039
  • 2
  • 31
  • 35