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

Fixed Header and Rows height in GWT cellTable

How can i make the height of the row and the header fixed when the height of the cellTable is fixed e.g 200px? In my case, the header and the row are automatically re-sized every time a content is added or removed. I've defined my CSS like this: …
ndongo
  • 256
  • 7
  • 14
2
votes
2 answers

GWT CellTable columnsorting

I am trying to sort on a column in GWT using their ListDataProvider Sorting example as a reference http://code.google.com/webtoolkit/doc/latest/DevGuideUiCellTable.html#columnSorting The problem is I can see my table column data is getting sorted…
kapricanon
  • 179
  • 1
  • 5
  • 16
2
votes
2 answers

How to deselect a row in GWT CellTable without firing onSelectionChange(...)

I have a GWT CellTable with SingleSelectionModel enabled. Once a user clicks a row, the onSelectionChange(...) fires up my Confirmation Dialog which asks the user whether to proceed or not. The issue is when the user clicks 'Cancel', nothing happens…
enfany
  • 875
  • 2
  • 15
  • 33
2
votes
3 answers

How do I programmatically get info about a CellTable's headers?

I'm using GWT 2.4. I have a com.google.gwt.user.cellview.client.CellTable widget, but I'm having trouble figuring out a programmatic way to get the String headers after the widget is constructed. I add column data like so ...…
Dave
  • 15,639
  • 133
  • 442
  • 830
2
votes
1 answer

When handling browser events in a GWT CellTable, how do I get the most specific within a cell?

The onBrowserEvent method of an abstract cell returns a parent element. If I have multiple HTML items rendered within the cell, such as spans or divs, how do I get and distinguish which one triggered the event?
Uri
  • 88,451
  • 51
  • 221
  • 321
2
votes
1 answer

GWT: Adding GWTP Tooltip to a CellTable cell

I want to use GWT-Bootstrap Tooltip for cells of a column in the CellTable. Each Tooltip will show description of a cell which is a field in the "MyCustomObject" class used for generating the table. One of the quick solutions I found in one of the…
CobaltBabyBear
  • 2,188
  • 6
  • 26
  • 47
2
votes
2 answers

GWT celltable pagination not working

I have following code, which crates a cell table and adds SimplePager to it. public class CellTableTestClass { private VerticalPanel applicationPanel = new VerticalPanel(); private CellTable cellTable = new CellTable(); public…
Pradip Borde
  • 2,516
  • 4
  • 18
  • 20
2
votes
1 answer

GWT: SelectionChangeEvent.Handler does not detect deselect of row on CellTable

So I have this piece of code which is almost exactly the same on the GWT Showcase selectionModel = new SingleSelectionModel(keyProvider); cellTable.setSelectionModel(selectionModel); selectionModel.addSelectionChangeHandler(new…
jcera
  • 345
  • 2
  • 11
2
votes
1 answer

Adding dynamically user control to a Asp Table

I'm trying to add dynamically an input checkbox type and a asp textbox to a Asp Tablecell, using some data from a dataset. I've read few post about this but none has the combination want to reach. This is the code I'm using (Where ds is the dataset…
weilah
  • 463
  • 7
  • 20
2
votes
2 answers

Waiting for data for CellTable in GWT

I'm using GWT 2.4 with RequestFactory mechanism. With bigger portions of data there is some extra time (1-2 sec) for celltables to get populated. During that time celltable is empty and user doesn't know if anything will appear in it. Is there any…
zbyszek26104
  • 437
  • 1
  • 5
  • 15
2
votes
1 answer

Horizontal scrolling of celltable in GWT

In my GWT 2.4 app I'm having cell tables with >10 columns. I'm wondering how to add horizontal scrollbar to these tables because for some screen resolutions some columns are hidden. Thanks for any help.
zbyszek26104
  • 437
  • 1
  • 5
  • 15
2
votes
2 answers

GWT SimplePager - Getting Incorrect pager index onclick of pager's LastButton

I am using my GWT 2.3 Celltable & SimplePager Written CustomPager by extending SimplePager class. Used ListBox to show different page size for celltable like 10,20,50,100 I am showing 11 record in celltable when page size is 10. (1 empty…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
2
votes
1 answer

GWT DataGrid with editable sub rows

I have created a DataGrid with GWT 2.5, based on the DataGrid from the GWT showcase. The main difference from there is, that I need editable cells in the sub rows. When changing the TableBuilder for the sub rows from TextCell to EditTextCell in the…
2
votes
1 answer

Is it possible to span a header of a celltable GWT

I want to create a header in CellTable as follows. The workaround I think of is to add a panel with "Main title" just above the table.
Momo
  • 2,471
  • 5
  • 31
  • 52
2
votes
2 answers

GWT CellTable getRowElement throwing IndexOutOfBoundsException

I am using a CellTable in GWT and trying to add styling to a row whenever certain events happen. The code to add styling is as follows: Range range = playlistTable.getVisibleRange(); int start = range.getStart(); for (int i = start; i < start +…
Ryan L
  • 35
  • 3
1 2
3
13 14