滚动到ExtJS网格中的选择 [英] Scroll to selection in an ExtJS Grid

查看:115
本文介绍了滚动到ExtJS网格中的选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗯,我需要能够将我的ExtJS网格滚动到当前选择,但不知道如何做到这一点。我在论坛中遇到了一个引用来保证可视的方法,但是没有找到任何信息。有人可以提出任何建议吗?
谢谢

解决方案

对不起,我真的很笨。我刚刚尝试确保可视,它的工作正常。


Hey, i need to be able to scroll my ExtJS grid to the current selection but have no idea how to do this. I came across a reference in a forum to an ensureVisible method but can find no information. Can anyone make any suggestions? Thanks

解决方案

Sorry, I'm being really dumb. I just tried ensureVisible and it works fine.

这篇关于滚动到ExtJS网格中的选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆