I'm developing a scheduling system and I'm using datetimepicker to dial the hours. I need a help with json; I need to block the dates that are being used so they can not be selected. The project is updated in github.
Thanks in advance!
I'm developing a scheduling system and I'm using datetimepicker to dial the hours. I need a help with json; I need to block the dates that are being used so they can not be selected. The project is updated in github.
Thanks in advance!
use the function:
disabledDates []
Disbale all dates in list
{disabledDates: ['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'], formatDate:'d.m.Y'}
It's own datetimepicker
, it's in the documentation, with it you block the days you want.
does a query to know which dates can not be used, saved in an array and thus put in the options of datapicker
:
disabledDates: arrayComDatas