You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by gouthamrv <go...@yahoo.com> on 2010/09/15 21:15:01 UTC

How to add footer section using DataTable

I am using DataTable to display a table. I want to add some buttons to footer
section. How do I do that? Currently it just shows empty tfoot elements in
my html. Here is the sample code of the DataTable:

DataTable table = new DataTable("datatable", columns, new
CalculationInfoProvider(), 1);
add(table);
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-footer-section-using-DataTable-tp2541058p2541058.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to add footer section using DataTable

Posted by gouthamrv <go...@yahoo.com>.
Yes you are right, we can do that. 

Thanks!
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-footer-section-using-DataTable-tp2541058p2542678.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: How to add footer section using DataTable

Posted by TahitianGabriel <gl...@piti.pf>.
You could use something like :

table.addBottomToolbar(new YourFooterToolbar(...));

where YourFooterToolbar extends AbstractToolbar

regards,

Gabriel.
-- 
View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-footer-section-using-DataTable-tp2541058p2541390.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org