Re: How to add click events to multiple images in a cell/celltable

2011-11-03 Thread Thomas Trebbien Pedersen
gle.gwt.cell.client.Cell.Context > context, >          final Element parent, final C value) { >       cell.setValue(context, parent, value); >    } > > } > > It was much easier and more flexible than extending every cell type i > wanted to be clickable. > > Now you can j

Celltable column click throws exception (only first time)

2011-11-03 Thread Thomas Trebbien Pedersen
Hi, I have a celltable with a NoSelectionModel as the selection model. When clicking a column/row an edit panel is shown and the celltable panel is hidden. The strange thing is that when clicking a column for the first time the below exception is thrown but all subsequent clicks on the same colum

Re: How to align header/footer text in cell table

2011-11-03 Thread Thomas Trebbien Pedersen
Cool that works - thanks. And Google comon and implement this please. On 31 Okt., 15:08, Carl wrote: > I will definitely try this out.  Thanks for sharing... Though, I still > believe this should be inherent behavior for the Column Header itself. -- You received this message because you are sub

Re: How to add click events to multiple images in a cell/celltable

2011-10-17 Thread Thomas Trebbien Pedersen
their respective FieldUpdaters > and still be rendered in the same cell. > > Hope this helps, > Adam > > On Oct 14, 9:41 am, Thomas Trebbien Pedersen > > > > > > > > wrote: > > Hi, > > > I have a celltable where I would like to sort the rows by cl

How to add click events to multiple images in a cell/celltable

2011-10-14 Thread Thomas Trebbien Pedersen
Hi, I have a celltable where I would like to sort the rows by clicking either a up or a down arrow. The two sort-direction arrows are placed in a single cell on each row. Now how do I add a click event to each image? I know a cell has a onBrowserEvent(...) put thats for the entire cell right? Wha

Re: How to change default padding for cell/td in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
12:21, Thomas Trebbien Pedersen wrote: > Hi, > > Can anyone help me how to change the default padding for cell/td in > cell table. > > I have found out that GWT by default adds this css class: > > .GALD-WOHC { >         padding-bottom: 2px; >         padding-left:

How to change default padding for cell/td in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
Hi, Can anyone help me how to change the default padding for cell/td in cell table. I have found out that GWT by default adds this css class: .GALD-WOHC { padding-bottom: 2px; padding-left: 15px; padding-right: 15px; overflow: hidden; padding-top: 2px; }

Re: How to align header/footer text in cell table

2011-10-11 Thread Thomas Trebbien Pedersen
Hi, Can someone please help. On 7 Okt., 10:28, Thomas Trebbien Pedersen wrote: > Hi, > > How do I set the horizontal alignment for headers/footers in a > CellTable? > > I want to right align the text like I can do with a Column: > > someColum

How to align header/footer text in cell table

2011-10-07 Thread Thomas Trebbien Pedersen
Hi, How do I set the horizontal alignment for headers/footers in a CellTable? I want to right align the text like I can do with a Column: someColumn.setHorizontalAlignment(HasHorizontalAlignment.ALIGN_RIGHT); Isn't something similar possible for headers/footers - can anyone please help. Thanks