http://bootstrap-datepicker.readthedocs.org/en/release/options.html#beforeshowday
Provide a beforeShowDay callback, and check if the date is in your list of disabled dates; if it is, return `false`.
I understand this isn't as convenient as a "disabled dates" declarative option, but it's the best option the current release has for that functionality.
On 03/21/2014 10:42 PM, Carlos Rocha wrote:
Hi,
as I do, some days are off, for example I have stored on my bd a date range you are busy, I want to appear in datepicker not available to choose from. how can I do this?
and if I can where I read?
thank you any help or idea!
--
You received this message because you are subscribed to the Google Groups "bootstrap-datepicker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bootstrap-datepicker+unsub...@googlegroups.com <mailto:bootstrap-datepicker+unsub...@googlegroups.com>.
To post to this group, send email to bootstrap-datepicker@googlegroups.com <mailto:bootstrap-datepicker@googlegroups.com>.
http://bootstrap-datepicker.readthedocs.org/en/release/options.html#beforeshowday
Provide a beforeShowDay callback, and check if the date is in your list of disabled dates; if it is, return `false`.
I understand this isn't as convenient as a "disabled dates" declarative option, but it's the best option the current release has for that functionality.
On 03/21/2014 10:42 PM, Carlos Rocha wrote:
> Hi,
>
> as I do, some days are off, for example I have stored on my bd a date range you are busy, I want to appear in datepicker not available to choose from. how can I do this?
> and if I can where I read?
>
> thank you any help or idea!
>
> --
> You received this message because you are subscribed to the Google Groups "bootstrap-datepicker" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bootstrap-datepicker+unsub...@googlegroups.com <mailto:bootstrap-datepicker+unsub...@googlegroups.com>.