Re: How to add footer section using DataTable

2010-09-16 Thread gouthamrv

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



How to add footer section using DataTable

2010-09-16 Thread gouthamrv

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: How to add footer section using DataTable

2010-09-15 Thread TahitianGabriel

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org