문제

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