Re: CellTable custom footer

2011-08-22 Thread Uemit
Hi John I do have a question regarding redrawing the entire DataGrid/CellTable when new data is pushed in. I tried to implement a SearchTextBoxes in the ColumnHeader for filtering the data which is displayed in the CellTable. As soon as I type a character into the SearchTextBox in one of the

Re: CellTable custom footer

2011-08-16 Thread Mark Wengranowski
Awsome! That was exactly what i was looking for. Cheers, -Mark On Aug 15, 11:39 am, John LaBanca wrote: > There is an example in the DataGrid example of > Showcase:http://code.google.com/p/google-web-toolkit/source/browse/trunk/sampl... > > Within the footer getValue() mathod, you can get all o

Re: CellTable custom footer

2011-08-15 Thread John LaBanca
There is an example in the DataGrid example of Showcase: http://code.google.com/p/google-web-toolkit/source/browse/trunk/samples/showcase/src/com/google/gwt/sample/showcase/client/content/cell/CwDataGrid.java?r=10228#270 Within the footer getValue() mathod, you can get all of the row data and extr

Re: CellTable custom footer

2011-08-15 Thread Mark Wengranowski
Thanks John! Do you have an example of how i would total all of the cells in a particular column and set the footer (Header instance)? On Aug 15, 11:19 am, John LaBanca wrote: > If you pass a Header instance as the footer, it will be updated every time > you push new row data.  You can also refr

Re: CellTable custom footer

2011-08-15 Thread John LaBanca
If you pass a Header instance as the footer, it will be updated every time you push new row data. You can also refresh footers manually using CellTable#redrawFooters(). There is also a pending change that allows you to fully customize headers and footers: http://gwt-code-reviews.appspot.com/14998

Re: CellTable custom footer

2011-08-15 Thread Mark Wengranowski
Anyone? On Aug 9, 1:05 pm, Mark Wengranowski wrote: > Hi Everyone, > > I'm trying to add a footer to my CellTable and am having a hard time > finding information on creating a footer that would update dynamically > based on the cells in that column. > > i.e. I want the last row in my cell table t

CellTable custom footer

2011-08-09 Thread Mark Wengranowski
Hi Everyone, I'm trying to add a footer to my CellTable and am having a hard time finding information on creating a footer that would update dynamically based on the cells in that column. i.e. I want the last row in my cell table to have a total footer. Adding static text is easy as you just pas