Flexmonster Software License Agreement (“Agreement”) has been significantly revised and is effective as of September 30, 2024.
The following modifications were made:
The modified version of Flexmonster Software License Agreement is available here.
Downloading, installing, and/or continuing to use Flexmonster Software after September 30, 2024, constitutes Licensee’s acceptance of the terms and conditions of the modified version of Flexmonster Software License Agreement. If Licensee does not agree to any of these terms and conditions, they must cease using Flexmonster Software and must not download, install, use, access, or continue to access Flexmonster Software. By continuing to use Flexmonster Software or renewing the license under License Model or Maintenance after the effective date of any modifications to Agreement, Licensee accepts and agrees to be bound by the terms and conditions of the modified Agreement.
setTableSizes(tableSizes: TableSizesObject)
[starting from version 2.8.19]
Sets table sizes for the component. Use this method to set table sizes without updating the report.
When called, the setTableSizes()
method overwrites previously set table sizes.
Parameter/Type | Description |
---|---|
tableSizes TableSizesObject | Contains new values for table sizes. |
1) Set width of a column with a certain index:
pivot.setTableSizes({
"columns": [
{
"idx": 0,
"width": 160
}
]
});
See the full code on JSFiddle.
2) Set height of a row containing a certain member:
pivot.setTableSizes({
"rows": [
{
"tuple": ["category.[cars]"],
"height": 80
}
]
});
See the live sample on JSFiddle.
3) Set width of a column containing a certain member and measure:
pivot.setTableSizes({
"columns": [
{
"tuple": ["country.[germany]"],
"measure": {
"uniqueName": "Price",
"aggregation": "sum"
},
"width": 160
}
]
});
See the full code on JSFiddle.