Hi,
Does anyone have an example of a toolbar that would add the amounts in the
table?
Thanks.
swapnil.wadagave wrote:
hi Sanjeev,
I think you can able to do it using this code,
extend parent class as DataTable,dont use DefaultDataTable :
code:
DatatTable datatable=new
hi Sanjeev,
I think you can able to do it using this code,
extend parent class as DataTable,dont use DefaultDataTable :
code:
DatatTable datatable=new DataTable(entries,column,provider,3)
{
protected Item newRowItem(String id,int index,IModel model)
{
return new OddEvenItem(id,indexmmodel);
}};
PROTECTED]
Sent: Thursday, May 01, 2008 2:46 PM
To: users@wicket.apache.org
Subject: Footer Toolbar for DefaultDataTable (wicket 1.3.2)
I'm using DefaultDataTable with sortable data provider in my project.
All the
columns are sortable. This data table has few amount columns, which I
need
I'm using DefaultDataTable with sortable data provider in my project. All the
columns are sortable. This data table has few amount columns, which I need
to sum up and show as a last row (TotalRow) at the bottom of the table. This
last row (TotalRow) should not be part of sortable data provider.
@wicket.apache.org
Subject: Footer Toolbar for DefaultDataTable (wicket 1.3.2)
I'm using DefaultDataTable with sortable data provider in my project.
All the
columns are sortable. This data table has few amount columns, which I
need
to sum up and show as a last row (TotalRow) at the bottom of the table