How to set width of table columns placed in dashboard portlet?

Question

How exactly can we set (via a calculation logic) the width of columns of a Result Matrix table placed in a Dashboard portlet?

Answer

Since the version 3.3.5, the width and other preferences can set for a table (ResultMatrix) in the Preferences Manager and are then applied at the Dashboard. Since the version 9.0 you can change the width and height using the .withLayout() method. See article for more details or API Docs for more methods.

Found an issue in documentation? Write to us.