I am trying to create a view like the attached.
Essentially, it's a hybrid between a CellTable and a CellTree; that is, the data exists in a tree structure but it wants to be represented two-dimensionally (in a table) with tree-depth displayed via an indent. The actual requirement I have is a very data intensive application and so ideally I'd prefer to use the Cell Widgets.
As I see it, I've got a few options:
- Try to hack something up with CellTable/DataGrid (ala the Showcase example). This isn't ideal as it seems difficult to then rely on the individual widgets to reliably manage data.
- Use CellTable/DataGrid with: a) a Cell to indent the name (as per the attached) and decorate the value with a caret; and b) a DataProvider wired up to fetch data and insert it at a specified index.
- Use FlexTable (or some bespoke table impl) and avoid Cell Widgets et al all together. This is what I'm currently leaning towards as it seems the most controllable.
- Write a new widget -- likely extending AbstractCellTree -- to do what I need.
I am of course hoping there's some simple solution I'm overlooking and so any help and/or advice would be greatly appreciated.
Cheers,
- Andrew.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:
Post a Comment