Questions tagged [gwt-2.2-celltable]

93 questions
1
vote
2 answers

GWT: How to center element containing CellTable?

I'm trying to center an element that contains a CellTable. The actual centering logic works okay, but I'm having problems with all those attaching/detaching events. Basically, I'm doing this in my container widget: @Override public void onLoad()…
Ionuț G. Stan
  • 176,118
  • 18
  • 189
  • 202
1
vote
3 answers

gwt - celltable - adding extra row

enter code hereI have a celltable and the columns contains some numbers. I want to add an extra row at the end of the table which will hold the total for each column. Is there any way to do this? Following is my code: import java.util.*; import…
sap
  • 1,141
  • 6
  • 41
  • 62
1
vote
1 answer

GWT CELLTABLE How to restore old value in EditableTextCell?

I want to used editableNumbercell like intger,decimal etc.. But there is no such gwt widget present so I am using editable text cell and using validation for numbers when user update value in cell. How to avoid cell editing when validation fails. if…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
1
vote
4 answers

How to add multiple lines of text in GWT celltable EditTextCell?

I have a celltable displayed with data. I want to edit the cells to give information in multiple lines. Example: key1=value1| In next line add anoter key: key2=value2| After editing the values, when the celltable is displayed/ redrawn then the…
Madhusudan G
  • 11
  • 1
  • 2
1
vote
1 answer

realizing questionnaire (survey) constructor using gwt

in my current project i need to realize questionnaire (survey) constructor functionality (kind of google forms). In my case there is list of questionnaires, every questionnaire has list of question groups, every question group has list of questions…
basilboli
  • 614
  • 1
  • 6
  • 21
1
vote
1 answer

Alternating row colors for GWT CellTable

I'm extending the GWT celltable, and I'd like to override the default row striping with my own styles. The documentation seems to indicate that the celltable should implement RowStyles interface, which I have: @Override public String…
tpow
  • 7,600
  • 11
  • 59
  • 84
1
vote
0 answers

Simple example of MultiSelectionModel

I'm trying to make CellBrowser capable of multi-selection. I just start learning this new concept of cells in GWT 2.2 and I'm look at example that Google has in its GWT Showcase but their code is not very clear. Where can I find a same example but…
Maksim
  • 16,635
  • 27
  • 94
  • 135
1
vote
2 answers

Adding css class names to the contents of Cells in a gwt CellTable

I want to add style classes to elements in a cell (or the td itself) that will change depending on the state of the data in the cell. For example, the cell might have color: red when the data is unsaved, color: blue while the data is being saved,…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
1
vote
3 answers

Adding anchor to cellTable Column

i am trying to add anchor to cell Table column is there a way to do this ???? thanks.
ahmed Shoeib
  • 254
  • 6
  • 22
1
vote
2 answers

add row number column to Cell Table

I am trying to add row number column to Cell Table where in the row number should be associated with each object. Meaning, if any column is sorted the serial number should not be changed for that particular row. Example: Before Sorting SrNo order is…
Tia It
  • 45
  • 5
1
vote
1 answer

Discard updated value from a valueupdater in a CellTable fails

I want to check the updated value before persisting it. If the check fails, I want to discard the update but that doesn´t work. EditTextCell cell = new EditTextCell(); Column column = new Column(cell) + {…
mica
  • 3,898
  • 4
  • 34
  • 62
1
vote
1 answer

How can I get the text in a EmptyTableWidget in GWT CellTable

My code is CellTable celltable = new CellTable(); celltable.setEmptyTableWidget(new Label("No")); Here I want to get this "No" from CellTable I tried as cellTable.getEmptyTableWidget()).getElement().getInnerText() But I don't know how to get…
Gnik
  • 7,120
  • 20
  • 79
  • 129
1
vote
2 answers

How to add a custom selection Handler to a celltable

I want to add a special selection model to the celltable. Basically the function i want to have is to select a row on the table which is located on left side, a corresponding form will pop up on the right side. I know so many people will use the…
Joey
  • 2,732
  • 11
  • 43
  • 63
0
votes
1 answer

How would I create a custom GWT CellTable class?

I have a CellTable created in GWT that allows users to update/delete records in a database. This kind of table will be used in about 10 different places with very minimal changes (same number of columns, all with the same type, just need to be able…
James Hush
  • 479
  • 1
  • 10
  • 26
0
votes
1 answer

CellTable is not visible in TabLayoutPanel

I have an EntryPoint class WebCrawlerOne.java which contains the TabLayoutPanel and in one of the tabs I am calling CrawlerOne.java which contains the CellTable. I have tried a lot but am not able to find any error whatsoever. I have tried to search…
Prince
  • 20,353
  • 6
  • 39
  • 59