跳转到主要内容

unselect

Description

从指定事件中移除选中状态

unselect: (id?: string) => void

Parameters

  • id - (optional) string - 事件的ID(如果未提供ID,则取消当前选中的事件)

Example

var eventId = scheduler.addEvent({
start_date: "16-06-2013 09:00",
end_date: "16-06-2013 12:00",
text: "Meeting"
});

scheduler.select(eventId);

scheduler.unselect();
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.