getSelectedDate

gets the currently selected date

Date getSelectedDate( [boolean first] );
firstbooleanoptional: returns the first selected date (context: daterangepicker)
Datea Date object that represents the current selected date

Example

webix.ui({
    view:"calendar",
    id:"calendar1"
});
 
$$('calendar1').selectDate(new Date(2012,3,30));
 
$$("calendar1").getSelectedDate(); // -> Mon Apr 30 2012 00:00:00 GMT+0300 (EEST)

Details

The method is analogous to getValue.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.