Loading Data By Pagination
[ File Path: bigdata/page.html ]
1, Explanation of large data load
- 1) Pagination can be an effective solution to the large number of child nodes of the situation.
- 2) Using custom method to display the pagination button.
- 3) Pagination lead to the association of checkbox can not be achieved, only correction after show each page . Because of the time limitation, Demo does not deal with association of checkbox.
- 4) The use of pagination, you can only get the current page node data from zTree. You can save the data after each page loading as the cache, according to the demand to determine the specific methods.
2, Explanation of setting
- Need to set the parameters in setting.async
- No other special configuration, the user can set their own requirements.
3, Explanation of treeNode
- No special requirements on the node data, the user can add custom attributes.