Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
ExtJs GridPanel滚动到最后一个元素_Extjs_Scroll_Gridpanel - Fatal编程技术网

ExtJs GridPanel滚动到最后一个元素

ExtJs GridPanel滚动到最后一个元素,extjs,scroll,gridpanel,Extjs,Scroll,Gridpanel,我试图滚动到GridPanel的最后一个元素,最后一个元素已经被 _this.testpanel.getSelectionModel().selectLastRow( ); 我试过很多方法,但都不管用。。。 GridPanel通过以下方式保存: _this.testpanel =new Ext.grid.GridPanel(... 在加载函数中,我尝试了 _this.testpanel.getRow(_this.receiver_list.getStore().getCount()-1).s

我试图滚动到GridPanel的最后一个元素,最后一个元素已经被

_this.testpanel.getSelectionModel().selectLastRow( );
我试过很多方法,但都不管用。。。 GridPanel通过以下方式保存:

_this.testpanel =new Ext.grid.GridPanel(...
在加载函数中,我尝试了

_this.testpanel.getRow(_this.receiver_list.getStore().getCount()-1).scrollIntoView(_this.receiver_list.getView(),false);
这个什么也不做

_this.receiver_list.getView().getRow(_this.receiver_list.getStore().getCount()-1).scrollIntoView("receiver_list");

这一个滚动表单,GrindPanel在里面。但不在GridPanel本身中。

查看以下函数


使用元素方法。

您使用的是什么版本的ExtJs?