javascript - extjs 4.2 treepanel bufferedRenderer scroll to specific node -
i use extjs 4.2 , bufferedrenderer large tree. when need scroll specific node have use grid.view.bufferedrenderer.scrollto(rowindex) in http://docs.sencha.com/extjs/4.2.0/extjs-build/examples/grid/buffer-grid.html
but when not have row index node object how can scroll it? if tree nodes expanded - simple: have count previous nodes, if nodes collapsed?
you can try this
grid.getview().scrollrowintoview(rowindex)
Comments
Post a Comment