mahadewa
4 Feb 2008, 10:16 AM
Well, I know what PagingToolbar is for, principally. I've just tried to implement this myself.
What I don't get is the part where, on the server code, we need to pass the 'totalProperty' everytime the Ajax call from the PagingToolbar is run (i.e. when we click 'Next').
Now, maybe I just don't know how to do this, but if we have to count the number of 'all' data so that we can pass it to 'totalProperty', everytime, doesn't it defeat the purpose of Paging ?
Or, maybe I just don't get it.
Anybody can give me pointer here ? How do you pass around the 'totalProperty' between Ajax call so you don't have to re-calculate the total everytime ?
Thanks in advance.
What I don't get is the part where, on the server code, we need to pass the 'totalProperty' everytime the Ajax call from the PagingToolbar is run (i.e. when we click 'Next').
Now, maybe I just don't know how to do this, but if we have to count the number of 'all' data so that we can pass it to 'totalProperty', everytime, doesn't it defeat the purpose of Paging ?
Or, maybe I just don't get it.
Anybody can give me pointer here ? How do you pass around the 'totalProperty' between Ajax call so you don't have to re-calculate the total everytime ?
Thanks in advance.