columnMatching
Specifies that table columns should match column widths from another table. This is useful when one table follows another in the report, and you want to align the columns of the second table with respect to the first.
Type
two dimensional array
Example
// Arbitrary matching:
columnMatching = ['tableElementId',[[0,0],[1,[1,2]],[[2,3],3]]];
// Exact (one-to-one) matching:
columnMatching = ['tableElementId',[[0,0],[1,1],[2,2],[3,3]]];
The mapping between columns of the adjusted table (i.e., the table being modified) and the reference table is an array that contains the element ID of the reference table followed by pairs of matched columns:
['RefId',[[col,Refcol],[col,Refcol],...,[col,Refcol]]]
In the above, col represents an individual index or arrays of indices from the adjusted table, and Refcol represents an individual index or arrays of indices from the reference table. For example, consider the following valid matches:
• [[0,1,2],0]: First three columns (0, 1, 2) are adjusted to span the width of the first column (0) in the reference table.
• [[0,1,2],[0,1]]: First three columns (0, 1, 2) are adjusted to span the combined width of the first two columns (0, 1) in the reference table.
• [0,[0,1]]: First column (0) is adjusted to span the combined width of the first two columns (0, 1) in the reference table.
Each column of each table must appear once in the mapping. Indices do not need to appear in order; however, the matched columns must be alignable. For example, the pairing [[0,1,2],[0,1]] is valid, but [[0,1,2],[1,2]] is not, because it does not permit the first column (0) of the reference table to be placed.
See Also
Matching Column Sizes in Two Tables, in Report Design, for more information.
| << orphanControl | © 1996-2013 InetSoft Technology Corporation (v11.5) | fillPage >> |