SMART datagrid v.1 > Classes > DateCellEditor
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.
var columns = {
name: "OrderDate",
fieldName: "OrderDate",
width: "130",
editor: {
type: "date",
editFormat: "yyyy.MM.dd",
dropDownPosition: "editor",
yearNavigation: true,
showToday: true
}
},
...
];
grid.setColumns(columns);