简体   繁体   中英

Get WebDataGrid page size in javascript

I am using Infragistic WebDataGrid . When it load first, it gets data from database as data source in Page_Load event. On some UI interaction, I am rebinding it with JQuery.Ajax call by clearing it and appending new html using append method of JQuery. It works fine except I am not able to persist page size that I have declared in mark-up. Is there any way to accessing page size in javascript?

Or is there anything else I can do to achive this.

您可以像这样在客户端上访问页面大小:

$find("WebDataGridID").get_behaviors().get_paging().get_pageSize();

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM