Cell tables and data grids are gwt ui components usually bound to domain objects/ pojos. Very fast and efficient and with powerful API, somewhat complex to extend on first sight.
Questions tagged [celltable]
203 questions
0
votes
1 answer
How to I apply a custom cell class to a CellTable using GWT 2.5?
If I define a custom cell extending AbstractCell how to I use my custom cell in a CellTable?
My custom cell is composed of two Labels and an Image and is populated by a Contact object that holds the values for the labels and image.
How do I define a…

Carl
- 2,896
- 2
- 32
- 50
0
votes
1 answer
GWT: CellTable inside FlowPanel inside TabPanel
I have a CellTable widget (item that extends Composite and has a CellTable + Pager via UiBinder), which is inside a FlowPanel, which is the contents of a tab for a TabPanel.
I've set the height and width programmatically (for now) on all so…

James
- 1,237
- 4
- 22
- 43
0
votes
2 answers
How to keep odd/even background colors on selection?
I have a GWT DataGrid (CellTable) with different background colors for odd/even rows:
.dataGridEvenRow { background: white !important; }
.dataGridEvenRowCell { border: selectionBorderWidth solid white !important; }
.dataGridOddRow { background: red…

membersound
- 81,582
- 193
- 585
- 1,120
0
votes
2 answers
How to add custom keyboard shortcuts to GWT CellTable
I created a CellTable in GWT and I set
.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
to enable the use of keyboad.
Now I can move up and down with keyboard and press spacebar to interact with each row. Is it possible to add custom…

v3ctor
- 105
- 1
- 2
- 10
0
votes
0 answers
ButtonCell in CellTable footer only works in first column
I have a cell table with a custom button as a footer in one of the columns which works fine. But when I try to move the button to another column the clickevent (valueupdater) of the button does not work anymore. I simply add the button as a footer…

wasp256
- 5,943
- 12
- 72
- 119
0
votes
1 answer
java gwt multiselectionmodel disable blue
I'm using multiselectionmodel for a cell table. When clicking on a row it is changed to a blue format. Is it somehow possible to disable this? Probably in a .css file?

wasp256
- 5,943
- 12
- 72
- 119
0
votes
1 answer
How to make a Non Editable CellTable?
I made a dynamic CellTable using this question as guide : Create GWT CellTable Dynamically
But like that I can only made a editable CellTable, I don't know why.
Check my Code:
@UiField
CellTable
- > tableDynamic;
@UiField
SimplePager…

Bernardo Vale
- 3,224
- 4
- 21
- 34
0
votes
1 answer
GWT celltable custom column setfieldupdater not working for ListBox
I have created a custom cell that determines whether to display a SelectionCell or TextCell. In the case of a SelectionCell render, I am unable to get the setFieldUpdater method to fire.
Code below...
private class CustomTypeCell extends…

user1635484
- 3
- 2
0
votes
2 answers
GWT celltable Simple pager Next and previous buttons
I am working on a CellTable with a SimplePager. My paging works fine in the sense when i set the page size to be 5 only 5 records are being displayed. My question is that do next and previous buttons come by default or do we have to configure them.…

Saritha
- 181
- 17
0
votes
1 answer
GWT - celltable listbox dynamic contents
I have a celltable with 2 columns, name and cars he owns. One of the columns(cars) has to be a listbox.
The person object will be rendered as a row in the celltable. The listbox will show the names of the cars owned by the person.
Lets say,
Person…

blue01
- 2,035
- 2
- 23
- 38
0
votes
1 answer
GWT event not working on an element added in runtime
I create a new CellTable.
Override the onBrowserEvent2 to handle mouse events.
Add a new element to the table.
Sadly the event listener is not working on the added element. It's only working on the initial elements.
table = new…

Lakatos Gyula
- 3,949
- 7
- 35
- 56
0
votes
1 answer
How to place text with mouseClick listener inside of cell of table?
I need to place a text that has listener on it inside of cell of celltable. I also want to render a window after it was clicked. I am somehow failing to achieve this. Please note that I am new to gwt.

MrProper
- 1,500
- 5
- 19
- 25
0
votes
1 answer
GWT celltable how to create a selectioncell / combobox column
As you see in the title I´m searching for the code to add a simple selectioncell/combobox column in my celltable, the Items don´t come from any database.
I haven´t found it anywhere yet.
Could someone please answer with the code to add it and how to…

Erasio
- 43
- 2
- 8
0
votes
2 answers
GWT sorting 2 celltables
I have a requirement wherein I have 2 GWT CellTable's on the same page.
Lets call them A and B.
I need to sort columns of B, depending on user sort activity on A.
Any pointers for implementation of the same will be appreciated.

AM01
- 302
- 3
- 18
0
votes
2 answers
GWT Determining Row Value during Cell render
I'd like to determine whether an icon is used based on the value of the "row" value that is in the CellTable (or DataGrid). How do I determine that when building the Cell renderer?
IconCellDecorator icd = new…

Joel
- 2,601
- 4
- 33
- 44