ExtJS获取Grid的行数

时间:2014-06-25 21:58:58   收藏:0   阅读:672

1.     grid.getSelectionModel().getCount() ;  // 获得当前选中的行数  
2.     grid.getStore().getTotalCount();  // 获得记录总数  
3.     grid.getStore().getCount();   // 获得当前页的记录总数  

ExtJS获取Grid的行数,布布扣,bubuko.com

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!