I have a case where I want to append
white-space: nowrap;
to the style of each cell in my CellTable. Currently it applies to all tables, but it would be nice to know both have to apply it for a specific CellTable, and all CellTables.
I have a case where I want to append
white-space: nowrap;
to the style of each cell in my CellTable. Currently it applies to all tables, but it would be nice to know both have to apply it for a specific CellTable, and all CellTables.
CellTables have their own CssResource. To override this style applied to all cells in a cellTable, create a new css file :
Then create your own CellTable.Resources interface :
Finally, when creating your cellTable, use the constructor that lets you specify which Resources to use
For a working example, look at the Expenses sample provided in the GWT SDK.
Or you could do this the easy way:
No css files, no weird boilerplate code.