Javascript中的GridView分页 [英] GridView Paging in Javascript
问题描述
大家好,,,
我手动通过javascript在gridview中添加行...意味着创建一个新行而不是新单元格而不是添加控件(标签)在那些单元格中填充gridview行....
现在我想在gridview上允许分页..为此, ,我是否需要获取所有数据意味着某些东西中的所有行,而不是允许页面上的特定行数...或者我应该使用什么方法来允许分页???
我有点困惑..因为我通过javascript添加行..所以我没有任何fillGrid或loadgrid类型方法重新绑定gridview ....所以请帮助.....
还告诉我如何在服务器端获得gridview的所有行?还有
Hi All,,,
I am adding rows in gridview by javascript manually.. mean creating a new row than new cells and than adding controls (labels) in those cells to populate gridview rows....
Now I want to allow paging on my gridview.. to do that,, Do i need to get all the data mean all rows in some thing and than allow specific number of rows on a page.. or what method should I use to allow paging ???
I am bit confused.. as I am adding rows through javascript.. so I dont have any fillGrid or loadgrid type method which rebinds the gridview....So Kindly help.....
Also tell me How can i get all the rows of gridview on serverside aswell??
推荐答案
检查这个
使用javascript进行Gridview分页 [ ^ ]
这篇关于Javascript中的GridView分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!