JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Kanban › Kanban – not showing tasks on initial display › Reply To: Kanban – not showing tasks on initial display
June 25, 2021 at 7:36 am
#101939
davout
Member
I have adapted my app to set up a Kanban datasource of one task that is set up as part of the Typescript class as shown below
export class TaskSmartKanbanComponent implements OnInit, OnDestroy, AfterViewInit { @ViewChild('kanban') kanbanComponent: KanbanComponent; // public input properties @Input() viewId: number; @Input() pageSize = 1000; // public properties for Kanban component public kanbanColumns = null; public collapseColumns = true; public tasks = [{ id: 1, dueDate: null, status: '0', text: 'test' } ]; The Kanban shows this one task It simply is not recognizing the updating of the 'datasource' at a later time when my async service call completes I can't find a 'refresh' view model to force the component to redraw itself.