SMART datagrid v.1 > Reporting > Classes > PrintItem

Back  Forward

DLReport.PrintItem.col  property

当被包含在Tile时,显示项目的单元格的水平(列)位置。 

通过row而指定垂直(行)位置。 

默认值为0.

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