Topic: pas a date to calendar and it will highlight that date on the calendar

Stylezst premium asked 2 years ago

hi wanted to highlight the date when i pass the date to calendar. i'm unable to do this. can you please help me how to pass the date and it will automatically go to that date. the calendar is Bootstrap 5 Calendar plugin

Michał Duszak staff answered 2 years ago

Hello,do you mean you would like to navigate Calendar to a specific date upon some event? If so, it's not possible right now - we don't provide such a method. But you can specify a defaultDate option.

Here is the snippet:

Default date is specifiec via data-attribute in this one.


Stylezst premium commented 2 years ago

how to do this using api?

Michał Duszak staff commented 2 years ago

Here is an example of the default date setting:

Stylezst premium commented 2 years ago

i'd checked it. in example we are passing default date in html. while i wished to pass it through js. how is it possible

Michał Duszak staff commented 2 years ago

I think your question has been answered here

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.2
  • Device: Windows
  • Browser: Chrome
  • OS: windows
  • Provided sample code: No
  • Provided link: No