Can i show pagination on top of datagrid?

Talk about Sorting & Paging problems, issues etc.

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

kenson
Senior
Senior
Posts: 27
Joined: Dec 8th, '11, 10:03

Can i show pagination on top of datagrid?

Postby kenson » Feb 21st, '12, 10:21

Dear Sir,

I would like to ask whether i can set the datagrid to show pagination on top as well? Just like this forum do have 2 set of pagination (top and bottom).

Thanks. :)

administrator
Site Admin
Site Admin
Posts: 5992
Joined: Jan 7th, '09, 23:18
Contact:

Re: Can i show pagination on top of datagrid?

Postby administrator » Feb 22nd, '12, 09:24

Please read carefully Getting started -
you have to define both:
$bottom_paging = array("results"=>true, "results_align"=>"left", "pages"=>true, "pages_align"=>"center", "page_size"=>true, "page_size_align"=>"right");
$top_paging = array("results"=>true, "results_align"=>"left", "pages"=>true, "pages_align"=>"center", "page_size"=>true, "page_size_align"=>"right");


Return to “Settings: Sorting & Paging”