dojo 1.6 中是否有获取 dojox.grid.EnhancedGrid 当前页面的方法?

Is there a method in dojo 1.6 to get the current page for dojox.grid.EnhancedGrid?

第一个问题,请多指教

我正在使用 Enhanced Grid 的分页插件,但找不到如何获取当前页面的句柄。

例如:

我在 10 页中的第 3 页,我想将此页码存储在我的 cookie 中,这样当我 return 到网格时它会自动滚动到该页面并突出显示该行。

提前致谢。

下面的代码会给你grid的当前页。

grid.plugin('pagination')._currentPage