jQuery UI Widgets Forums Layouts Kanban Reload Items Source

This topic contains 5 replies, has 2 voices, and was last updated by  Todor 2 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • Reload Items Source #105111

    pabjiiz
    Participant

    Hello guys,

    I’ve seen i can reload the columns at any moment and they change on my screen:

    var columnsAux: any[] = [
    {text:’Backlog’, dataField:’a’},
    {text:’Sprint 1.4′, dataField:’b’},
    {text:’Sprint 1.3′, dataField:’c’}
    ];
    this.columns = columnsAux;

    I want to do the same but with the items of the Kanban. I tried this :

    this.source.localData = [];
    this.resources = [];

    but anything changed on my screen, is there any solution to this ?

    Best regards,
    Pablo.

    Reload Items Source #105130

    Todor
    Participant

    Hello pabjiiz,

    You could review the following example whether it fits your needs.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

    Reload Items Source #105138

    pabjiiz
    Participant

    Hello Todor,

    This is what I was looking for!!!
    But I’m working with Angular and I do not know ho to do it …

    Best Regards,
    Pablo

    Reload Items Source #105155

    Todor
    Participant

    Hello pabjiiz,

    Please find the following example with Angular. Take a note that I’ve used a little different approach for deleting all Kanban items.

    Let us know if you need further assistance.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

    Reload Items Source #105178

    pabjiiz
    Participant

    But , instead of deleting all Kanban items if i write this :

    this.myKanban.source( new jqx.dataAdapter(this.source));

    the kanban items are duplicating ?

    Reload Items Source #105192

    Todor
    Participant

    Hello pabjiiz,

    Thank you for the feedback! We have created a work item for this case. For now you could use removeItem method like the example in my previous post.

    Best Regards,
    Todor

    jQWidgets Team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.