0

I am creating a GWT app that will use a table to display some data. I am not sure which cell widget/table to use to populate data vertically in column. Basically I want to populate data going down instead of going across.

Simple example:

Category A   |  Category B
-------------|-------------
item 1a      |  item 1b
item 2a      |  item 2b

...

Based of off the showcase of feaures: http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwCellTable

My best option might be to just use a grid, or to create a bunch of separate cell tables for each category. Anyone have any ideas?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Tim
  • 284
  • 1
  • 4
  • 20

2 Answers2

1

These look like 2 separate CellList's to me. The CellTable and DataGrid objects are specifically bound to displaying object data in rows.

Lavie Tobey
  • 484
  • 1
  • 4
  • 12
  • Ok thank you, that's what I was unsure of; whether or not you could hack something together so that CellTables or DataGrids could display data in something other than rows. – Tim Jun 19 '13 at 06:41
1

My best option might be to just use a grid, or to create a bunch of separate cell tables for each category. Anyone have any ideas?

If you want to show just data then better to use FlexTable for it. it is same as table of html.

Cell Table is manage large amounts of data and having inbuilt cell like editable, selection cell etc...widgets in it. so it is reach feature with it.

Data Grid is same as celltable but with fixed header and footer, with a scrollable content area

bNd
  • 7,512
  • 7
  • 39
  • 72