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

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

问题描述

嘿,我需要能够将我的 ExtJS 网格滚动到当前选择,但不知道如何做到这一点.我在论坛中遇到了一个关于 ensureVisible 方法的参考,但找不到任何信息.任何人都可以提出任何建议吗?谢谢

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

推荐答案

抱歉,我真的很笨.我刚刚尝试了 ensureVisible,效果很好.

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

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

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