SMART datagrid v.1 > Reporting > Classes > PrintItem

Back  Forward

DLReport.PrintItem.colSpan  property

The number of cells which take more places to the right side besides the cell displaying the item when it is contained in Tile

The vertical number is specified by rowSpan

Defaults to 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
Quotation Sample