Is it possible to span a header of a celltable GWT - gwt

I want to create a header in CellTable as follows.
The workaround I think of is to add a panel with "Main title" just above the table.

If you use GWT 2.5, you can use a customized CellTableBuilder to add your Main Title header line.

Related

Adding a clickable icon to jFace table column header

Is it possible to add an icon to a jFace table column header with a text and make the icon separately clickable (Add listeners to the icon)
No, this isn't possible for the standard TableColumn.

How to add HTML ID to gwt tabpanel tabs

Anyone knows how to add an ID to GWT tab panel tab headings so that they can be used in Selenium like applications.
Why not get to element, and set as property:)?
tagPanel.getElement().setAttribute("id", "myId")

Add PDF report button on TabPanel's header

I want to add PDFreport button at the right of the header in TabPanel or may be on TabItem.
Is it possible?
I haven't tried this, but i think you could try with this method.
It allows you to put HTML code into the header of your TabPanel.
So you could insert your button as plain HTML into the header.
But it depends on what that button should do.

GWT DataGrid multi row header

I am migrating some GWT content from CellTable to DataGrid, mainly for the DataGrid's feature of locking the header row in place as you scroll.
With CellTable, the column header text would wrap to the next line if the text phrase was too long. The CellTable's header would dynamically grow in height. This was the default behavior, and I never edited any css files.
Can I get this behavior in DataGrid? Do I need a change to my main project css file, or do I make a change to clean.css? Is there a programatic way to set a proprety on DataGrid?
I am creating TextColumn, etc. and adding via dataGrid.addColumn();
Edit: looking at the example here, the header doesn't wrap if you shrink the width of your browser window: http://gwt.googleusercontent.com/samples/Showcase/Showcase.html#!CwDataGrid
Add this to your CSS file:
th {
white-space: normal !important;
}

Adding the appropriate elements in SectionStackSections

I'm trying to build a similar menu like in http://www.gwt-ext.com/demo/#menuButton. But i am using the SmartGWT instead of GWT-Ext and GWT Designer in Eclipse. I have built the SectionStack and add to it 3 sections. My problem is that i do not know what components to add in each section to get the selected items as in the example 'Showcase Explorer' menu of the link. Like the example i want to fill each section with several text lines but if i add just Label components then there are not selectable like in the example (when you view the menu in accordion mode).
Why dont you use http://www.smartclient.com/smartgwt/showcase/#menus_category_treebinding this menu instead?