Calendario icon indicating copy to clipboard operation
Calendario copied to clipboard

How can we load events month wise only when that month is selected

Open vishnuvs60 opened this issue 7 years ago • 3 comments

How can we load events(data) month wise when previous or next button is clicked. Default I need to load only current month data. While clicking the previous or next button I need to load that months data.

vishnuvs60 avatar Jul 13 '17 11:07 vishnuvs60

Use SetData function

deviprsd avatar Jul 17 '17 06:07 deviprsd

How can we clear the data? Is there any way?

vishnuvs60 avatar Sep 28 '17 04:09 vishnuvs60

Yes, https://github.com/codrops/Calendario/blob/master/js/jquery.calendario.js#L381, read the setData function. The second argument is a boolean, so if you do something like setData(data, true), it will clear the old data.

deviprsd avatar Oct 03 '17 23:10 deviprsd