Questions tagged [celltable]

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.

203 questions
1
vote
1 answer

Overriding Celltable Column getCellStyleNames method returns null

I tried to override the getCellStyleNames(Context context, T object) method of Column. But its not working. I tried to return super.getCellStyleNames(), but it returns null. What is the problem? What am I supposed to do to fix this problem? I am…
Bennet
  • 387
  • 1
  • 6
  • 13
1
vote
1 answer

GWT Header CheckBox requires two clicks to fire setValue, after changing its value programatically

I have a GWT DataGrid, and a CheckBox in the Header to select/deselect all rows in the grid. The code for the CheckBox Header is as follows: private class CheckboxHeader extends Header implements HasValue { private boolean…
Miloš Ranđelović
  • 444
  • 1
  • 5
  • 13
1
vote
1 answer

Composite Cell width on CellTable

I have a composite cell, which works fine, it has a textinputcell and a button cell. However when it is shown it puts the buttoncell under the text input cell, like in the picture: Here is the implementation of my compositecel using hascells: final…
Fabrizio Guespe
  • 583
  • 1
  • 10
  • 25
1
vote
3 answers

Column in gwt celltable doesn't sort

I want to add sorting for column in celltable with help of ListHandler. But it doesn't sort. I don't understand why it doesn't work. My code is based on GWT tutorial. Please suggest me something. Contract.java public class Contract implements…
Valentyn Grygoriev
  • 463
  • 10
  • 29
1
vote
1 answer

Add a subrow on a GWT CellTable

I have a CellTable that needs a subrow of a different type; similar to http://showcase2.jlabanca-testing.appspot.com/#!CwCustomDataGrid I do not want to use DataGrid as I understand it to have a fixed height, and my table looks better with a dynamic…
user1256378
  • 712
  • 2
  • 12
  • 31
1
vote
1 answer

GWT filler rows in a CellTable

I currently have a CellTable which I expanded with a filter/paging/sorting. I am working on adding more features too. One things that bugs me though, is when you set the limit for a page to be for example 10. If an object doesn't have 10 rows and…
Sheogora
  • 64
  • 2
  • 12
1
vote
1 answer

Celltable with fixed number of rows

I have 2 celltables on my page positioned vertically (one below the other). How can I set fixed number of rows in celltable (independently on the number of data rows)? E.g. when celltable contains 0 rows it should consist of some "blank" ones to…
zbyszek26104
  • 437
  • 1
  • 5
  • 15
1
vote
2 answers

gwt cell table dynamic columns - sorting

You can represent your "rows" as List instances, you have to change your parameterization from String to List in your Grid, Column and data provider; and of course you have to call updateRowData with a List>, not a…
1
vote
3 answers

GWT CellTable Data Not Displaying

I have the following code in my modules onModuleLoad() method: List promotionData = new ArrayList(); MyPromo promotion1 = new MyPromo(...); promotionData.add(promotion1); PromotionTable promoTable = new…
James
  • 1,237
  • 4
  • 22
  • 43
1
vote
1 answer

GWT CheckboxCell hinders selection in CellTable

I discovered that if you have a GWT CellTable and add a column that contains a CheckboxCell, the selection via a SingleSelectionModel does not work anymore. This cell type does hinder the row selection. Following a code sample that demonstrates this…
Adrian
  • 281
  • 5
  • 14
1
vote
2 answers

Colspan and Rowspan in CellTable

I'm implementing a table which has both colspan and rowspan cells. I used FlexTable before but decided to use CellTable. But it looks like CellTable does not support adding style while FlexTable did... Please look at the picture to know what I'm…
Long Thai
  • 807
  • 3
  • 12
  • 34
1
vote
0 answers

Create GWT CellTable Dynamically - sorting

Create GWT CellTable Dynamically - refer to the earlier question : Create GWT CellTable Dynamically for this dynamic celltable, I would like to do sorting based on a column dynamically. How to do the comparator ? My first SO question ! thanks in…
Gwt Qa
  • 41
  • 4
1
vote
3 answers

GWT DataGrid/CellTable: Select all over multiple pages

I´m using GWT 2.4 with a DataGrid and a SimplePager along with a MultiSelectionModel. I want to implement a simple select-all-feature over all pages. I´m only able to select all visible items on the current page. What is the best way to select all…
Tony Skulk
  • 237
  • 1
  • 3
  • 11
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
1 answer

Dynamic styles for GWT cellTable cells

I'm having an issue using GWT. I'm building the columns of a cellTable and I want the style of a cell to depends of the value of that cell: Column editButtonColumn = new Column(new ActionCell("", new…
Max
  • 696
  • 2
  • 9
  • 24