SMART datagrid v1.4 > Classes

Back  Forward

DataLudi.DateCellEditor  class

날짜와 시간을 입력받는 셀 편집기다. 

Constructor
function DateCellEditor (grid: GridBase, parentElement: HTMLElement);
Properties
commitOnSelect
dropDownDefaultToToday
dropDownPosition
hasTime
holidays
isListing
listing
maxDate
minDate
showToday
textReadOnly
yearNavigation

 

Code -1
    var columns = {
        name: "OrderDate",
        fieldName: "OrderDate",
        width: "130",
        editor: {
            type: "date",
            dropDownPosition: "editor",
            yearNavigation: true,
            showToday: true
        }
    },
    ...
    ];
    grid.setColumns(columns);
See Also
NumberCellEditor
셀 편집 개요
Examples
Date 셀 편집기
셀 편집