jQWidgets Forums

jQuery UI Widgets Forums Vue jqxschedule refresh scheduler appointments

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Martin 5 years, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • proquibas
    Participant

    Hello

    I’m setting up an appointment component in a lab webapp and I’m having problems to refresh the appointments in the scheduler component.
    The appointments loads from the localstorage. i create a button to trigger the update of the scheduler with the new added data like this:

    update: function(){
         this.schedules = this.$store.getters.schedules 
         this.dataAdapter = new jqx.dataAdapter(this.source)    
    }

    But nothing happens. I console log the both variables and I can see the new data in the console but not rendered in the scheduler.
    What I’m missing?

    Thank you.


    Martin
    Participant

    Hello proquibas,

    After creating a data adapter with the new data, pass it to the jqxScheduler component’s source.
    Here is an Example with Vue.

    Best Regards,
    Martin

    jQWidgets Team
    https://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.