data tables with headers, footers and widgets in cells

142 views
Skip to first unread message

Matthew Pocock

unread,
Aug 6, 2012, 11:40:33 AM8/6/12
to google-we...@googlegroups.com
Hi,

I'm developing an app that needs to display some info in a grid/table. It needs to support pinned headers/footers, paging, sorting, filtering, scrolling of the non-header/footer cells, and individual cells are custom widgets that are constantly listening to events and updating and/or which have custom editors attached.

I started off building on FlexTable, and this let me get all the custom, interactive cell behaviour working. However, it doesn't support any of the column operations or the header/footer and scrolling stuff. DataGrid seems to support the inverse - it does most of what I need but cells are not widgets.

What's the solution?

Thanks,

Matthew

--
Dr Matthew Pocock
Integrative Bioinformatics Group, School of Computing Science, Newcastle University
skype: matthew.pocock
tel: (0191) 2566550

Message has been deleted

Joshua Godi

unread,
Aug 6, 2012, 5:59:48 PM8/6/12
to google-we...@googlegroups.com
The DataGrid will be able to do everything that you want, here is the link for the GWT Showcase of it: http://gwt.google.com/samples/Showcase/Showcase.html#!CwDataGrid

As you can see, you can have widgets inside of the cells.

For a better example of different widgets inside the cells you can look at: http://gwt.google.com/samples/Showcase/Showcase.html#!CwCellSampler

On Monday, August 6, 2012 10:40:33 AM UTC-5, Matthew Pocock wrote:
Hi,

I'm developing an app that needs to display some info in a grid/table. It needs to support pinned headers/footers, paging, sorting, filtering, scrolling of the non-header/footer cells, and individual cells are custom widgets that are constantly listening to events and updating and/or which have custom editors attached.

I started off building on FlexTable, and this let me get all the custom, interactive cell behaviour working. However, it doesn't support any of the column operations or the header/footer and scrolling stuff. DataGrid seems to support the inverse - it does most of what I need but cells are not widgets.

What's the solution?

Thanks,

Matthew

--
Dr Matthew Pocock
Integrative Bioinformatics Group, School of Computing Science, Newcastle University

Andrei

unread,
Aug 7, 2012, 9:45:36 AM8/7/12
to google-we...@googlegroups.com
Joshua is right: DataGrid is your solution. If existing cells do not meet your needs, you can build any cell you like by extending AbstractCell.

Matthew Pocock

unread,
Aug 15, 2012, 10:33:23 AM8/15/12
to google-we...@googlegroups.com
Thanks. I've cobbled something together with DataGrid.

M

On 7 August 2012 14:45, Andrei <vol...@spiraluniverse.com> wrote:
Joshua is right: DataGrid is your solution. If existing cells do not meet your needs, you can build any cell you like by extending AbstractCell.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/BFRRQb5xAHUJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Matthew Pocock

unread,
Aug 15, 2012, 4:02:27 PM8/15/12
to google-we...@googlegroups.com
I've had a proper look at the cell sampler showcase. While it does render UI components for cells, it isn't actually embedding widgets. It's using classes like CheckboxCell that render html directly. So it doesn't look like with this approach I can embed my custom IsWidget directly as cell content.

Matthew

Andrei

unread,
Aug 16, 2012, 1:50:51 PM8/16/12
to google-we...@googlegroups.com
What do you want to embed in your cells? I may give you some pointers.
Reply all
Reply to author
Forward
0 new messages