selectDate

selects the specified date

void selectDate(string|Date date, [boolean mode,boolean multiple] );
date
string|Datea Date object or a string representing a date mode
booleantrue - to show the selected date in the calendar, false - not to show the selected date multiple
booleantrue - to select one more date (relevant for multiselect:true), false - to discard the previous selection

Example

webix.ui({
    view:"calendar",
    id:"calendar1"
});
$$('calendar1').selectDate(new Date(2012,3,30));

Details

The method is analogous to setValue.

See also
  • API
  • Articles
  • 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.