Welcome Guest Search | Active Topics | Sign In | Register

Grid Paging Options
Simon
Posted: Tuesday, December 21, 2010 9:35:28 AM
Rank: Newbie
Groups: Member

Joined: 12/10/2010
Posts: 2
Is there any way to change the paging on the grid? For example move it from the footer to the top? Or to a different location entirely?
eo_support
Posted: Tuesday, December 21, 2010 9:47:27 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You can customize the appearance of the built-in pager, but there is no way for you to move the built-in pager. However if you run the grid in server mode (RunningMode set to Server), you can implement your own pager very easily because your code would be handling the paging anyway. In that case you will essentially disable paging on the Grid but rebind the Grid whenever user switches your pager. This way the built-in pager will not be visible and all paging are done in your code.

If you run the Grid in client mode, then you must set AllowPaging to true to enable client side paging, which will display the built-in pager. You can still implement your own pager and then call this JavaScript function to switch page:

http://doc.essentialobjects.com/library/1/jsdoc.public.grid.gotopage.aspx

That allows you to put an additional pager (your own pager) on the top. If you still wish to hide the built-in pager at the bottom, you can stack a non-transparent DIV on top of the bottom portion of the Grid to block it.

Hope this helps. Please feel free to let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.