Questions tagged [gwt-2.2-celltable]

93 questions
17
votes
2 answers

Append custom style to a GWT CellTable (in this case all cells)

I have a case where I want to append white-space: nowrap; to the style of each cell in my CellTable. Currently it applies to all tables, but it would be nice to know both have to apply it for a specific CellTable, and all CellTables.
l3dx
  • 2,930
  • 6
  • 33
  • 43
14
votes
2 answers

Adding clickHandler to row in CellTable in GWT?

I have created a basic CellTable and filled it with some data. Now I want to add a clickHandler to each row but I'm not sure how to do this. I've created a clickEvent for the whole table but I want one for each row. …
gusjap
  • 2,397
  • 5
  • 24
  • 38
12
votes
1 answer

CellTable with custom Header containing SearchBox and Focus Problem

I am trying to implement a CellTable with a custom Column Header which displays a SearchBox (simple Textbox) below the normal Column text.The SearchBox should allow the user to filter the CellTable. It should look something like this: |Header …
Ümit
  • 17,379
  • 7
  • 55
  • 74
12
votes
5 answers

GWT Table that supports sorting, scrolling and filtering

I have a project using GWT and it displays data in a table. I need a Table for GWT that supports: sorting by particular column scrolling the data, while the header is immobile filtering rows for data searched in the table The project is being…
user24456
  • 121
  • 1
  • 1
  • 4
11
votes
3 answers

How to add a Clickhandler to a cellTable cell (or row )

I would like to have a handler on a column of my cellTable.The column is an ImageResourceCell and I would that when I click on it, it delete the row Here is my code Column imageColumn = new Column
javaxiss
  • 680
  • 3
  • 13
  • 34
11
votes
2 answers

GWT CellTable with checkbox selection and on row click event

How to call a method when some row is clicked using the checkbox selection model? I'm setting the checkbox selection model like this: table.setSelectionModel(selectionModel, DefaultSelectionEventManager. createCheckboxManager(0));
Italo Borssatto
  • 15,044
  • 7
  • 62
  • 88
9
votes
2 answers

GWT CellList Click to Toggle selection (Multi-Selection)

I'd like to setup a CellList so that clicking a row will toggle the selection. Such that multiple rows can be selected with out the need for holding the ctrl key. What do I need to change to get it working? class ToggleEventTranslator implements…
Nick Siderakis
  • 1,961
  • 2
  • 21
  • 39
6
votes
3 answers

how to add column of ClickableTextCells to cellTable

hi all i need a simple example show me how to add column of ClickableTextCells to cellTable thanks.
ahmed Shoeib
  • 254
  • 6
  • 22
5
votes
2 answers

GWT CellTable programmatically select CheckBoxCell

I've got a cellTable with a CheckBoxCell column. What I'm trying to do is to have a set of buttons outside the celltable which let the user to automatically check/uncheck a different set of elements (for example check all / uncheck all, but I'd like…
Noya
  • 3,879
  • 3
  • 26
  • 32
5
votes
3 answers

GWT Different column types in same column?

I'm working on a GWT app, and so far I'm loving the Java developer friendly UI framework! So far I've been able to do pretty much anything with the widgets, but this one has me stumped. I have a cell table, that I use as a user input source. Its…
theboot
  • 51
  • 1
  • 2
5
votes
3 answers

how to add an image to a cell in cellTable in GWT

I want to add an image in a cell in the CellTable. After reading the documentation, this is what I did, Column imageColumn = new Column(new ImageCell()) { @Override public String getValue(Contact object) { …
sherry
  • 1,829
  • 7
  • 21
  • 23
5
votes
4 answers

Setting the width of a column without clipping TextInputCell in GWT 2.2 CellTable?

I have a rather peculiar problem. I am using CellTable from GWT 2.2 release. The CellTable is configured for fixed layout. I have a editable column (TextInputCell) in the table. I am currently using setColumnWidth method on the CellTabel to fix the…
Ashwin Prabhu
  • 9,285
  • 5
  • 49
  • 82
5
votes
1 answer

GWT CellTable selection and single click on CheckBoxCell

I've got a CellTable wich work with SingleSelectionModel to make single selection and show some information into details panel. Also I've got CheckBoxCell column into this CellTable which work with another MultipleSelectionModel to make mass delete…
Vladislav Bauer
  • 952
  • 8
  • 19
4
votes
4 answers

GWT SimplePager LastButton issue

I am facing problem with lastButton of SimplePager. I have 3 pages in celltable, Page size=11 (1 empty record + 10 records(with value)), Total record=26. I used CustomerPager by extending SimplePager. In 1st attempt 1+10 records display in celltable…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
4
votes
3 answers

Creating custom ActionCell in CellTable Column

I want one of my table columns to have a deleteButton. ActionCell deleteCell = new ActionCell("x",new Delegate() { @Override public void execute(Entrata object) { // rpc stuff.... …
Fabio B.
  • 9,138
  • 25
  • 105
  • 177
1
2 3 4 5 6 7