SMART datagrid v1.4 > Classes

Back  Forward

DataLudi.LabelColumn  class

데이터셋의 값이 아니라 text 속성으로 지정된 텍스트를 표시하는 컬럼. 

설정 정보로 컬럼을 생성할 때 "type""label"로 지정한다. 

Base Classes
ValueColumn > GridColumn > DLBase
Properties
text
Inherited Properties
ValueColumn.blankWhenCopy
GridColumn.checked
ValueColumn.copyCallback
ValueColumn.cursor
GridColumn.dataRoot
ValueColumn.displayCallback
GridColumn.displayIndex
GridColumn.displayText
GridColumn.distance
GridColumn.fillHeight
GridColumn.fixed
GridColumn.footer
GridColumn.grid
GridColumn.group
GridColumn.groupFooter
GridColumn.header
GridColumn.height
ValueColumn.ignoreDefaultDynamicStyles
ValueColumn.ignoreRowDynamicStyles
GridColumn.index
GridColumn.isDataRoot
GridColumn.isFixed
GridColumn.isRoot
ValueColumn.mergeCallback
ValueColumn.mergeExpression
ValueColumn.mergeValueCallback
ValueColumn.mergeValueExpression
GridColumn.movable
GridColumn.name
GridColumn.parent
ValueColumn.pasteCallback
ValueColumn.renderer
GridColumn.resizable
GridColumn.root
ValueColumn.styleCallback
GridColumn.styleName
GridColumn.styles
ValueColumn.summaryCallback
GridColumn.tag
ValueColumn.tooltipCallback
GridColumn.visible
GridColumn.width
Inherited Methods
DLBase.assign
ValueColumn.ctor
GridColumn.ctor
DLBase.getProperties
DLBase.getProperty
DLBase.setProperties
DLBase.setProperty
DLBase.toggle

 

Code -1
    grid.setColumns([{
        name: "colAddr",
        type: "label",
        text: "Address: ",
        styles: {
            textAlignment: "far"
        ]
    }, {
        ...
    }]);
See Also
DataSet
CalculatedColumn
Examples
Linear 게이지 렌더러