Questions tagged [gwt-2.2-celltable]

93 questions
4
votes
1 answer

Cell colors in a GWT CellTable

I'm using a CellTable and would like to programatically change the background color of certain cells in some situations. I tried it with an Custom Cell as described in the documentation and changed the background color with sb.appendHtmlConstant…
Armin Müller
  • 41
  • 1
  • 2
4
votes
1 answer

GWT CELLTABLE SimplePager : Event handling on first,last,next,prev button present in SimplePager?

How to handle event on SimplePager? Event handling on first,last,next,prev button present in SimplePager? I am using CellTable gwt 2.3.0 Right now I am parsing xml in which 100 records are present. xml coming from server. @ time I am showing 100…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
4
votes
1 answer

GWT CellTable validation

I want to make a CellTable that shows validation errors by changing CSS style on wrong cells. I have started working with this gwt showcase example. My problem is that validation is executed only when user changes a cell (overriding onBrowserEvent()…
TxANG
  • 190
  • 10
4
votes
1 answer

How do I use an editable NumberCell in GWT Celltable?

Does anybody know how to achieve this? I want to add a NumberCell to a GWT CellTable and want to use inline editing as with EditTextCell. For a EditTextCell I use: Column editableColumn = new Column( …
Chris
  • 1,119
  • 1
  • 8
  • 26
4
votes
1 answer

GWT CellTable and Editors framework

In order to do not duplicate code, I've decided some time ago, to refactor my views towards usage of editors framework. Currently, each view is editor which contains set of other editors. For example "Person details" view contains editors such as…
omnomnom
  • 8,911
  • 4
  • 41
  • 50
4
votes
4 answers

Tab from input to input in CellTable

I have a CellTable with a bunch of cells that render to tags. Tabbing between the inputs is broken because of CellTable's fancy event processing. It seems that tab inspires each cell to finishEditing, but that in turn hogs the focus and…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
3
votes
2 answers

How can I get the height of a GWT CellTable after it's done rendering?

I am familar with getOffsetHeight and getElement.getClientHeight. The problem is I can't find when to call these methods to get the rendered height of my CellTable. I've tried adding an attach handler, row change handler, and overriding setRowData.…
John Wheeler
  • 797
  • 1
  • 7
  • 21
3
votes
3 answers

GWT EditTextCell : How to increase editable TextBox width in EditTextCell?

I am using GWT2.3 in my project. I want to increase editableTextBox width when user click on editableTextCell. Problem is My Column width is 200 Px. when user clicks on editableTextCell then that TextBox width is around 125px in EditableTextCell is…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
3
votes
1 answer

Prevent GWT EditTextCell from flipping when switching between edit and non-edit-mode

I've noticed that my web application jumps around in cell width when I click into my EditTextCell. As I've seen on http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellTable it's possible to prevent that. Also I've seen solutions where…
Chris
  • 1,119
  • 1
  • 8
  • 26
3
votes
2 answers

How to set entire column's background color in CellTable GWT

I want to find a way to set an entire column's background color in CellTable in GWT, but no luck. In CellTable's style, I only found the style cellTableLastColumn and cellTableFirstColumn which could be used to set the background color for the last…
Fan
  • 31
  • 1
  • 3
3
votes
2 answers

How can I set the title on a GWT cell widget?

I have a cell table that has several columns whose data may occasionally be wider than their column's width. I have my css text-overflow set to ellipsis so it is obvious to the user that there is more to the cell's value when it exceeds the column's…
Doug
  • 191
  • 2
  • 8
3
votes
2 answers

Gwt: CellTable CSS removes all other CSS files

I am having a problem, when I override the CellTable CSS file with mine (a different one), then all other CSS files get disappear and changes the styles etc. on page. What could be the problem? Can I add more styles (other than CellTable's) into…
Deam
  • 1,007
  • 2
  • 17
  • 36
3
votes
1 answer

GWT CellTable with ImageResourceCell

Does anyone have an idea on how to implement a GWT CellTable with an ImageResourceCell from GWT 2.1M3? I have the following but can't seem to figure out the correct way to add an ImageResourceCell CellTable ct = new…
chiappone
  • 2,728
  • 3
  • 27
  • 32
3
votes
2 answers

GWT CellTable Custom Selection Model

I need a 'custom selection model' for GWT CellTable. One of the columns in CellTable is a Checkbox column. Basic rquirements (both work in solution below): - Row click (not on checkbox), selects that row and un-selects all other rows. - Checkbox…
2
votes
1 answer

paginaton is not working in gwtcelltable?

i am using simplepager class for adding pagination to the cell table,it was displaying the values for the first time while i was trying to view the next page results it shows nothing.... my code is: SimplePager pager; SimplePager.Resources…