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
0
votes
1 answer

Using CellTable for ResultSet

I'm a little bit stucked right now and I hope someone can help me with my problem. I'm getting a ResultSet from a SQL Query and I want to use GWT CellTable for displaying the content of my ResultSet dynamically based on the ResultSet. I need this…
spcial
  • 1,529
  • 18
  • 40
0
votes
1 answer

Adding links to a row in a column on click (CellTable)

I have a CellTable where I want to add several links to a row when I click an add button. Right now Im facing the problem that when I click the add button the link will be added to all rows in that column. Somehow it feels like I only can add things…
kArvee
  • 84
  • 1
  • 11
0
votes
1 answer

GWT cell table- remove object from Cell table directly from server (i have written my code as)

here my contact class: contact class: package com.gwt.sample.gwtdemoproject.shared; import java.io.Serializable; import java.util.ArrayList; import java.util.List; public class Contact implements Serializable { private List
0
votes
1 answer

Can't get correct List via RPC for ListDataProvider

I want to receive typed List via RPC and then link it to ListDataProvider. Then ListDataProvider must show this list in CellTable. But List, which I get from RPC, doesn't show up in CellTable. I created a simple List without RPC and linked it to…
Valentyn Grygoriev
  • 463
  • 10
  • 29
0
votes
1 answer

GWT CellTable highlighted row

So I have a cell table with click event selection model working fine. I later found out you can press UP and DOWN arrows to get the highlighted row to change, but the awful thing is you have to press Space for it to actually call the…
Sheogora
  • 64
  • 2
  • 12
0
votes
2 answers

Celltable onBrowserEvent is not getting called

I have written below code in a celltable constructor public ViewSubscriptionsCellTable(CellTableResource resource, final WidgetListener clickListener) { super(15, resource); this.resource = resource; …
sujikin
  • 351
  • 3
  • 11
0
votes
1 answer

GWT CellTable SelectionModel can not deselect item after editing

Hello I have a Contact class with informations which i show in a CellTable. The CellTable has a DataListProvider, MultiSelectionModel and KeyProvider which checks the id of the Contact. DataListProvider and CellTable have the same KeyProvider. if i…
Ser Yoga
  • 466
  • 1
  • 6
  • 18
0
votes
2 answers

GWT, why CellTable doesn't show Image when running in Eclipse?

I have the code: ClickableTextCell imageCell = new ClickableTextCell() { @Override public void render(Context context, SafeHtml data, SafeHtmlBuilder sb) { if (data != null) { String imagePath = "contact.jpg"; …
Tom
  • 825
  • 1
  • 8
  • 28
0
votes
2 answers

In gwt , what is the simplest code to count total of rows in a celltable?

Given: CellTable> table = new CellTable>(); ListDataProvider> dataProvider = new ListDataProvider>(); dataProvider.addDataDisplay(table); List> list = dataProvider.getList(); what is…
Tom
  • 825
  • 1
  • 8
  • 28
0
votes
1 answer

GWT, columnSortHandler.setComparator for all columns in a loop, make the sorting messed-up?

I've got this code: ListHandler> columnSortHandler = new ListHandler>(list); for (int k=0; k<10; k++){ IndexedColumn myColumn=new IndexedColumn(k+1); table.addColumn(myColumn, "col "+k); …
Tom
  • 825
  • 1
  • 8
  • 28
0
votes
3 answers

GWT, ListHandler> columnSortHandler does not sort properly

I got these code: ListHandler> columnSortHandler = new ListHandler>( list); columnSortHandler.setComparator(nameColumn, new Comparator>() { …
Tom
  • 825
  • 1
  • 8
  • 28
0
votes
1 answer

GWT UiBinder CellTable is not rendered with AsyncDataProvider

I want to have on my page created with UIBinder a CellTable with data, received from server. I think I dont quite understand the logic of UiBinder. What steps should I do before calling initWidget(), and what I shouldn't ? When I remove the call…
frf
  • 3
  • 5
0
votes
1 answer

GWT Propagate event through AbsolutePanel

I have a CellTable with ClickableCell. When I click on it, a popup opens and show the clicked cell table as exepected. The CellTable is added in a AbsolutePanel(Parent). For some developpment, an another AbsolutePanel(Over) is located over the…
0
votes
1 answer

Celltable GWT Sorting

i've been searching now for couple of days but i cannot find something that helps me. I have a few columns and sorthandlers, so the sorting itself is no problem. But is it possible to set Sorthandlers or the Celltable, so that they only sort in one…
Thomas
  • 79
  • 6
0
votes
1 answer

GWT - update table in panel

I have a verticalPanel with a table in it. OnModuleLoad I get data from database which I display in a table. On button click I want to add new data from a listbox to it. It works fine but I dont know how to update the table/panel. What I do at the…
kArvee
  • 84
  • 1
  • 11