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
16
votes
3 answers

Gwt celltable invoke sort on a column

I have a Gwt celltable. Clicking on the headers sorts the columns properly. But on page load the columns are not sorted by default. I want to make the right most column to be sorted when the page loads.
blue01
  • 2,035
  • 2
  • 23
  • 38
11
votes
3 answers

GWT Datagrid does not show data , but contains it

I'm trying to convert a cellTable into adatagrid, because I want to add a search handler later and therefor I need fixed column headers. At the moment I extend the celltable/datagrid class and put the widget into a simplelayoutpanel and add this to…
Akkusativobjekt
  • 2,005
  • 1
  • 21
  • 26
10
votes
2 answers

In search of a GWT validation example... where art thou?

As a follow-up to Why are there no decent examples of CompositeCell in use within a CellTable? I am trying to add-on JSR-303 validation support. I have followed Koma's config advice here: How to install gwt-validation with gwt-2.4.0 (Note: I'm…
Chris Phillipson
  • 795
  • 1
  • 15
  • 34
9
votes
1 answer

Defining GWT CellTables with UiBinder

If I define my CellTable in MyView.ui.xml UiBinder file like this:
Mike
  • 1,296
  • 2
  • 15
  • 40
7
votes
1 answer

GWT : Celltable Multiselection , MouseDown event?

I've got a CellTable, which has 4 columns: | Column 1 | Column 2 | Column 3 | Column 4 | Goal: User can select multiple columns while holding mouse button down and hovering over the columns. e.g User clicks on column 1 and holds the mouse button…
6
votes
1 answer

Handling onClick for a checkbox in a CellTable Header

I am trying to create a CellTable that has a column with some text and a checkbox, which will be used as a select all checkbox (see the drawing below, "cb" is checkbox). Currently I am using an class derived from Header and overriding it's render…
anotherdjohnson
  • 303
  • 1
  • 5
  • 13
6
votes
1 answer

GWT 2.5 DataGrid SelectionModel with Subrows

When using TableBuilder to create rows and sub rows, selection model isn't working as expected. When clicking on a subrow's checkbox the row isn't been selected, however, the parent row become selected instead. I tried to overload onBrowserEvent of…
YardenST
  • 5,119
  • 2
  • 33
  • 54
5
votes
2 answers

CellTable click swallowed

I've an combo box which is composed of a text field and a popup with a CellTable showing the suggestion items. The text field has a change handler that updates the CellTable's selection. When typing a character and clicking an already selected…
Dan L.
  • 1,717
  • 1
  • 21
  • 41
5
votes
3 answers

GWT CellTable Cells readOnly/disabled/non-editable

I want to make that some cells of the rows can be non-editable. by now my solution is when i create the columns, if one is readOnly, y make a TextCell, if not, i go with the default Cell wich can be EditTextCell,DatePickerCell,etc. The problem with…
Fabrizio Guespe
  • 583
  • 1
  • 10
  • 25
5
votes
2 answers

Programatic CellTable sort in GWT not working

I'm using the ListDataProvider example here as a guide. The columns are sorting fine as expectd based on the provided comparators. I'm trying to programatically apply a sort as alluded to on this line from the example: // We know that the data is…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
5
votes
4 answers

Composite Cell in a gwt application

I am trying to create a CompositeCell which consists of a TextCell and a ButtonCell. I want to add the CompositeCell to Column ordinarily and then the Column to a CellTable. However I am not able to figure out how the instance of the column should…
arjacsoh
  • 8,932
  • 28
  • 106
  • 166
4
votes
3 answers

GWT CellTable and ListBoxes complex identifiers

I'm following Goolge's example on how to add ListBoxes/SelectionCells to a CellTable, but I can't figure how to change the behaviour so the matching is done not with the string value displayed. The items I display @SelectionCell are not unique (i.e…
jpp1jpp1
  • 181
  • 1
  • 16
4
votes
2 answers

GWT CellTable : Add / Delete a row in a CellTable

Is the GWT CellTable designed to only display records and update the existing ones. Can one add and delete a record from a CellTable, any pointers to a stable solution. Thanks
user1246570
  • 41
  • 1
  • 1
  • 4
4
votes
1 answer

Make the rows of the datagrid draggable in GWT

I want to make a datagrid in which rows will be draggable so that a person can move rows up and down by dragging the rows. As row of the datagrid will be get as an element. I know how to make the widgets draggable, but how the rows of the datagrid…
Mani
  • 508
  • 1
  • 7
  • 18
4
votes
2 answers

Difference between Datagrid and CellTable in GWT

What is the difference between the Datagrid and Celltable? I know that following major differences Datagrid provides RequiresResize.onResize() functionality while celltable does not give this Datagrid headers are fixed and do not move while…
Mani
  • 508
  • 1
  • 7
  • 18
1
2 3
13 14