Documentation

(jvx:client:gui)

Setting Column Width

This is an old revision of the document!


The column width can be set via ColumnDefinition, e.g.

dataBook.getRowDefinition().getColumnDefinition("FUNCTION").setWidth(231);

The table uses this width for the cell width.

But be careful, because the real cell width depends on the UI implementation. Some GUI toolkits like Swing, fill the empty space and adds the difference to existing cells. In case of Swing UI, it's possible to disable this feature:

(((JVxTable)table.getResource()).setAutoFillEmptySpace(false);
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information