JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Kanban Kanban not auto-refreshed (angular)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #103484
    T Mmk
    Participant
    I am using smart kanban with angular 11. I have an array for my datasource as well as for my columns.
    When I modify the datasource and the columns, the kanban does not refresh , while on the angular side the data is loaded.
    
    Is there a method to refresh the kanban manually?
    
    For exemple in my html (to test) : 
    
    I display :
    {{this.swimlanesColumns |json}}  => data refreshed correctly 
    
    <span class="Y2IQFc" lang="en"><smart-kanban #swimlaneKanban class="kanban" [id]="'kanban-'+i" [collapsible]="collapsible" [dataSource]="getSwimlanesDataSource(i)" [columns]="swimlanesColumns[i]" [taskProgress]="true" [taskDue]="true" (change)="onKanbanChange($event, i)" (onReady)="onKanbanReady($event,i)" (dragEnd)="onKanbanDragEnd($event,i)" (dragStart)="onKanbanDragStart($event,i)" [formatStringDate]="dateFormatForKanban" [taskUserIcon]="false" [allowDrag]="allowDrag"></smart-kanban> 
    </span>
     => data not refreshed correctly with the same data (swimlanesColumns)

    Thank you

    • This topic was modified 1 year, 8 months ago by T Mmk.
    • This topic was modified 1 year, 8 months ago by T Mmk.
    • This topic was modified 1 year, 8 months ago by T Mmk.
    #103490

    Hi,

    Can you provide us with a quick demo?
    Here you can see that on button click the data is being updated: https://stackblitz.com/edit/github-lk2zhn-itgcwr?file=src/app/app.component.ts

     

    Best Regards,
    Svetoslav Borislavov

    Smart UI Team
    https://www.htmlelements.com/

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.