SMART datagrid v.1 > Classes > DateCellEditor

Back  Forward

DataLudi.DateCellEditor.yearNavigation  property

If specify as true, up and down button which can change the year will be displayed on the top of calendar box. 

Defaults to false.

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