Styling GWT FlexTable with CSS only

How do I create a GWT FlexTable using only CSS? The API says nothing about which CSS classes are available.

Are there any classes, and I have to install them myself?

I would like, for example, styling on "th".

+3
source share
1 answer

FlexTable (which extends HTMLTable ) does not seem to apply any specific styles to the cells it contains. There are two possible solutions:

  • Apply a style to the included FlexTable and use the child selector ( .myFlexTable th {}) for cell styles.
  • Use CellFormatter to add custom style names to cells in FlexTable.
+4
source

Source: https://habr.com/ru/post/1794238/


All Articles