My team solved the problem the same way, by using a custom Header Toolbar under the header labels. Couldn't find a clean way to create a footer toolbar that matched the columns.
On Tue, Sep 7, 2010 at 9:49 AM, Branislav Kalas <bka...@gmail.com> wrote: > Hi i also tried this. > I ended up by positioning aggregation toolbar right after column headers. > (as custom toolbar which extends AbstractHeaderToolbar). > I think it is not easy to have this toolbar at the bottom (specially when > you have enabled column resizing, because you have to bind somehow on > resizing js) > Please write here a solution if you will find out how to do it. > > On 09/07/2010 01:29 PM, pieter_degraeuwe wrote: > >> Hi, >> >> I'm looking for some hints for doing the following: >> >> I have an Inmethod datagrid, which has the columns 'amount', 'product', >> 'detail', 'price'. >> I would like to have at the bottom of the table (just above the paging >> toolbar) an extra row which shows me the sum (total) of all prices in the >> list. >> How I calculate these values (sum of the showed items, or sum of ALL >> items), >> should not matter, I want to add these cell values by just giving a model. >> But, the sum() column should be located under the 'prices' column. >> >> I did try this via a custom Toolbar, where I add a div with it's >> own<table> >> element. This seems to work, but I do not get the styling right. The >> columns >> of this table should have the same width als the columns of the 'body' >> table. >> >> Digging into the code, I saw that some javascript is used for doing the >> sizing. >> >> Can anyone give me some hints what is the best approach to get the >> column's >> size correct? (or maybe I'm doing this completely wrong?) >> >> Thanks ! >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >