SMART datagrid v.1 > Reporting > Classes > PrintItem

Back  Forward

DLReport.PrintItem.colSpan  property

当被包含在Tile时,除显示项目的单元格以外,向右占据更多空间的单元格的数量。 

通过rowSpan而指定垂直数量。 

默认值为0.

Getter
function colSpan(): Integer
Setter
function setColSpan(value: Integer)
Code -1
    var tile = {
        type: "tile",
        cols: 5,
        rows: 5,
        items: [{
            col: 0,
            row: 0,
            colSpan: 1,
            text: "Cell 0-0"
        }, {
            col: 0,
            row: 1,
            text: "Cell 0-1"
        }, {
            col: 1,
            row: 1,
            text: "Cell 1-1"
        }]
    };
See Also
rowSpan
col
row
PrintTile
Examples
报价单样本