SMART datagrid v.1 >  Classes >  ColumnHeader
DataLudi.ColumnHeader.displayText  property
Return the string which will be displayed in grid column header cell. 
In the below, it has described how to determine the text being returned. 
- Getter
 - function displayText(): String
 
- The order of finding the text
 - The value of which text property is not undefined and null. (Before v1.3.5, it also contains the case of an empty string)
 - If the column which owns the header is DataColumn, it will be DataField.header or fieldName.
 - GridColumn.name.
 - If LabelColumn, it will be LabelColumn.text.
 
Code -1
    grid.onDataCellClicked = function (grid, index) {
        var s = index.column.header().displayText();
        $('#clicked')[0].value = s;
    }
Code -2
    grid.setHeader({
        tooltipCallback: function (column) {
            return column.header().displayText();
        }
    });
- See Also
 - text
 - GridColumn.header
 - DataColumn
 - DataField.header
 - fieldName
 - GridColumn.name
 - LabelColumn.text
 - GridBase.onDataCellClicked
 - GridHeader.tooltipCallback
 
- Examples
 - Column Headers