RowSpan - property of the PmfTableCell object
Description:
This property is used for setting the number of rows over which a given cell should span.
This allows you to enable or disable vertical cell merging, where a single cell occupies the space of several adjacent cells below it.
Adjacent cells are not visible in the table, but you can access the objects (
PmfTableCell) of these cells using of the
GetCell method.
If the cell merging is enabled in both the horizontal (see
ColSpan property) and vertical directions, then the cell will expand across the entire rectangular area defined by the specified number of columns and rows.
Values:
1 (default) - Disables vertical cell merging. The cell will be as tall as the row it belongs to.
n - Enables vertical cell merging. The cell will extend down "n" rows from the top edge of the cell, including the row to which the cell belongs.
-1 - Enables vertical cell merging. The cell will extend across all rows, from the top edge of the cell to the bottom edge of the last row in the selected area of the table.
Note:
Property access
for read and write.
This property is also functional in
web panels.
Example:
JavaScriptSelect and copy to clipboard
oCell.RowSpan = 3;
// Writing into the property
var nRowSpan = oCell.RowSpan;
// Reading from the property