Title: TreeGrid pagination Post by: ClSoft on February 03, 2013, 01:35:34 PM Hi all
I added pagination in TreeGrid, but not sure how to use "total":xxx,"rows": ? this is what I try: Code:
Thanks for suggestions. Additional, how to call "Processing, please wait" message? I try to call it "onBeforeLoad" event, but it will not display. It display only on "reload" event, when data is in grid. I need to call it before data is added to treegrid, because I need time to fill data. When data is added, I (think) I close it with $('#mytreegrid').treegrid('loaded'); ?? thanks. Title: Re: TreeGrid pagination Post by: stworthy on February 03, 2013, 11:12:57 PM Here is the tutorial shows how to add a pagination to treegrid.
http://www.jeasyui.com/tutorial/tree/treegrid4.php Title: Re: TreeGrid pagination Post by: ClSoft on February 04, 2013, 01:30:54 AM Thanks!
any idea of how to use it in JSON? I need to create JSON file instead of using PHP. Thanks. Title: Re: TreeGrid pagination Post by: ClSoft on February 05, 2013, 11:15:00 AM Please?
Title: Re: TreeGrid pagination Post by: stworthy on February 05, 2013, 12:31:00 PM What 'json file instead of php' means?
Title: Re: TreeGrid pagination Post by: ClSoft on February 05, 2013, 01:40:14 PM hi
it means that I use this: url="members_tree.json" instead of url="somefile.php" I create "members_tree.json" in external software. Thanks. Title: Re: TreeGrid pagination Post by: stworthy on February 06, 2013, 08:06:02 PM For the client side pagination please refer to http://www.jeasyui.com/demo/main/index.php?plugin=TreeGrid&theme=default&dir=ltr&pitem=Client%20Side%20Pagination.
Title: Re: TreeGrid pagination Post by: ClSoft on February 07, 2013, 12:42:30 AM Thanks man!
Title: TreeGrid pagination Post by: AssessySheews on February 20, 2013, 06:09:07 AM I am currently Developing a php Pagination Script / Class. Does anyone have any good examples of how they do this or a good tutorial to follow which will help me ? I am looking to improve my current script so this will be of use.
Thanks |