SMART datagrid v.1 > Classes > DateCellEditor

Back  Forward

DataLudi.DateCellEditor.showToday  property

If specify as true, today link which can move to today date on the top of calendar box will be displayed. 

Defaults to true.

Getter
function showToday(): Boolean
Setter
function setShowToday(value: Boolean)
Code -1
    var columns = {
        name: "OrderDate",
        fieldName: "OrderDate",
        width: "130",
        editor: {
            type: "date",
            editFormat: "yyyy.MM.dd",
            dropDownPosition: "editor",
            showToday: true
        }
    },
    ...
    ];
    grid.setColumns(columns);
See Also
yearNavigation
Cell Editing Overview
Examples
Date Cell Editor
Cell Editing