SMART datagrid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.dataFieldName  property

The name of DataField connected to this column. 

Field index can be known by dataIndex. Field connection is specified by fieldName or fieldIndex property. 

Getter
function dataFieldName(): String
Code -1
    $('#getFieldName').click(function () {
        var col = grid.focusedIndex().column;
        if (col) {
            alert(col.dataFieldName());
        }
    });
See Also
fieldName
fieldIndex
dataIndex
DataField.index
Examples
Hello Grid