Topic: MDB5 Advanced Pro Calendar Plugin

edharris4 free asked 2 years ago

Code Snippet

window.addEventListener('addEvent.calendar', function() {
  for(var b in window) {
    if(window.hasOwnProperty(b)) console.log(b+\" = \"+window[b]);

*_Actual behavior_*Currently when I've added an event to the calendar, I just am displaying all the DOM elements to the Chrome console. I've been trying to find the object that is emitted when an event is added to the calendar but can't determine its name. Without knowing what object is emitted for this I can't add the event to the php database.

Resources (screenshots, code snippets etc.)

Grzegorz Bujański staff answered 2 years ago

Try these solutions:

window.addEventListener('addEvent.mdb.calendar', (newEvent) => {
}); free commented 2 years ago

After add/edit, How can get the value of edited summary / description / start / end ? Can you please help to give am example ? thanks a lot! free commented 2 years ago

the sample code of MDB5 * Version: PRO 3.10.2 is working to return value. But Version PRO 4.0 does not work. return null value. free commented 2 years ago

solved! the returned value is ok.

(because of PRO4, use e.event , but PRO3.10 use e)

Grzegorz Bujański staff commented 2 years ago

I understand that you have already dealt with this? free commented 2 years ago

yes, thanks! By the way, another question: when the content more than 4 rows, the field at the top will overflow. Can calendar auto height to view the content all?

Grzegorz Bujański staff commented 2 years ago

I'm not sure what exactly you mean. Can you say more about it? Which field exactly do you mean?

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: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: Mobile; Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No