Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Controlling the placement of the paginator

According to the docs, Displaytag can be configured to put a paginator before or after the generated table element via the paging.banner.placement property.

However, I would like to place the paginator in it's own row in the table footer.

Does anyone have an idea how to do this within the Displaytag Framework?

The only solution that I can see so far, is to let Displaytag generate a paginator as usual and then use JavaScript to move the paginator into a new row in the table footer.

like image 230
kulafu Avatar asked Sep 11 '09 08:09

kulafu


1 Answers

If you look at the default banners, you'll see that spans are used. In order to give a banner its own row in the footer, you should use divs or tables. and rows

See here for more on the default banner content - http://displaytag.sourceforge.net/11/configuration.html

like image 182
Jay Bose Avatar answered Nov 15 '22 15:11

Jay Bose