jQWidgets Forums

jQuery UI Widgets Forums Layouts Kanban Kanban Reload

This topic contains 3 replies, has 2 voices, and was last updated by  Todor 5 years, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Kanban Reload #105606

    pabjiiz
    Participant

    Hi guys!!

    I’m having a problem…

    I do some api calls onInit method (Angular), then I display all this information in the Kanban.
    But when i change my “filters” in some dropdowns i want to reload all the information in the Kanban.

    I have this at this moment:

        loadData() {
            this.columns = [];
            this.source.localData = [];
            this.resources = [];
            this.getColumnsApi();
        }

    In getColumnsApi() method I fill all the data on columns, source.localData and resources (doing new api calls with the correct “filters”)

    How can i do it ?

    Best Regards!
    Pablo.

    Kanban Reload #105616

    Todor
    Participant

    Hello Pablo,

    Unfortunately jqxKanban doesn’t have a refresh method. A possible workaround is to delete all items manually with removeItem method and then add the new ones with addItem method.

    Let us know if you need further assistance.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

    Kanban Reload #105623

    pabjiiz
    Participant

    But i need to change the columns too , so I think this workaround doesn’t fix my problem …

    Any idea ?

    Best Regards,
    Pablo.

    Kanban Reload #105642

    Todor
    Participant

    Hello Pablo,

    The the other option is to use Angular Dynamic Components. You could find more information and an example in the following topic.

    Let us know if you need further assistance.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.