Settings of a report table are stored in the grid property of the settings element.
NOTE. This specification contains only the settings, which are used on the mobile device.
Property | Description | Available values |
adjust | It sets parameters for cell size autofit. | Value is an element with the following properties:
|
cols | Array that contains width of each column starting from the 0th one. NOTE. If the adjust property is set to 0, values of column width are passed to a mobile device from the desktop application. |
|
rows | Array that contains width of each row starting from the 0th. NOTE. If the adjust property is set to 0, values of column width are passed to a mobile device from the desktop application. |
|
eaxtabstyle | Table style. | It contains table style settings:
|
Expanders | Expanders. | It contains an array of elements with settings of expanders having the following properties:
|
totals | It sets parameters of totals calculation. | Value is an element with the following properties:
|
data | It sets parameters of data aggregation and ranking. |
|
gridFilter | Sets filter parameters. | Value is an element with the following properties:
|
gridSort | It sets sorting parameters. | If no sorting is applied in the table, the property value is an empty <dict/> element. If the table is sorted by columns, the <dict> element has the columns property, which value an array of <dict> elements with the properties:
|
gridPareto | It sets parameters of distribution. | It contains two identical properties Rows/Columns that determine parameters for rows/columns. Each property contains the following properties:
The Top/Bottom properties contain the following settings:
|
selection | Table cells selection | Value is an element array with the following properties:
|
Settings of a report table may look as follows:
<key>grid</key> <!-- Table settings--> <dict> <key>adjust</key> <!-- Autofit--> <dict> <key>mode</key> <integer>5</integer> <!-- Autofit type--> <key>maxRowsInCell</key> <integer>8</integer>
<!-- Number of cells in row--> <key>minVisibleDataColumns</key> <!-- Minimum number of visible columns--> <integer>3</integer> </dict> <key>cols</key> <array> <integer>67</integer> <!-- Width of each column starting with the 0-th--> <integer>44</integer> <integer>50</integer> </array> <key>rows</key> <array>
<integer>46</integer> <!-- Width of each row starting from the 0-th--> <integer>25</integer> <integer>25</integer> </array> <key>eaxtabstyle</key> <dict> <key>type</key> <integer>10</integer> <key>DefaultStyle</key> <dict> <key>CustomFormat</key> <string># ##0,00</string> </dict> </dict> <key>totals</key> <key>Expanders</key> <array>
<dict> <key>L</key> <integer>0</integer> <key>T</key> <integer>1</integer> <key>W</key> <integer>0</integer> <key>H</key> <integer>3</integer> <key>IC</key> <integer>1</integer> </dict>
<dict> <key>L</key> <integer>0</integer> <key>T</key> <integer>8</integer> <key>W</key> <integer>0</integer> <key>H</key> <integer>2</integer> </dict> </array> <dict> <key>emptyValuesAsZero</key> <string>false</string> <key>includeOwner</key>
<string>true</string> <key>hierarchyTotals</key> <string>true</string> <key>levelTotals</key> <string>true</string> </dict> <key>data</key> <dict> <key>aggregateFixed</key> <integer>0</integer> <key>enableRank</key> <integer>0</integer> <key>rankArea</key> <integer>0</integer> </dict> <key>gridFilter</key>
<dict> <key>enabled</key> <string>true</string> <key>filterElements</key> <integer>0</integer> <key>filterZero</key> <string>false</string> <key>filterEmpty</key> <string>false</string> <key>filterNonNumeric</key> <string>false</string> <key>filterUseCondition</key> <string>false</string> <key>filterCondition</key> <integer>0</integer>
</dict> <key>gridSort</key> <key>columns</key> <array> <dict> <key>index</key> <integer>0</integer> <key>direction</key> <integer>2</integer> </dict> </array> <key>selection</key> <array>
<dict> <key>left</key> <integer>0</integer> <key>top</key> <integer>0</integer> <key>right</key> <integer>0</integer> <key>bottom</key> <integer>1</integer> <key>type</key> <string>cells</string> </dict> </array> <key>gridPareto</key> <dict> <key>Rows</key> <dict> <key>Top</key> <dict> <key>Threshold</key> <real>10</real> <key>Kind</key> <integer>2</integer> <key>Display</key> <string>true</string> </dict> <key>Bottom</key> <dict>...</dict> <key>ElementIndex</key> <integer>4</integer> <key>Enabled</key> <string>false</string> </dict> <key>Columns</key> <dict>...</dict> </dict> </dict>
See also: