Code example for DatePicker

Methods: setEnabled