SMART datagrid v.1 > Classes > DateCellEditor
You can specify the display location of calendar box by DropDownPosition constant. If the value is EDITOR, it will adjust the left border of calendar box to the left side of editor. Else, it will adjust the right border of calendar box to the right side of editor. In both cases, you can adjust the calendar box to ensure it will not exceed grid or screen.
Defaults to DropDownPosition.BUTTON.
var columns = {
name: "OrderDate",
fieldName: "OrderDate",
width: "130",
editor: {
type: "date",
editFormat: "yyyy.MM.dd",
dropDownPosition: "editor"
}
},
...
];
grid.setColumns(columns);