Вопрос

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?

Это было полезно?

Решение

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

Другие советы

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top