How to add a column to a kanban Board

Hi, I want to know how to add a column to my kanban board in angular, when a use the method addColumn of KanbanComponent, console of my explorer show an error like 


here is my code 




i don't know if I'm doing something wrong

Thanks for your help

1 Reply 1 reply marked as answer

HB Hareesh Balasubramanian Syncfusion Team December 30, 2020 12:38 PM UTC

Hi Jorge, 

Greetings from Syncfusion Support..! 

We have prepared a sample using addColumn public method of the Kanban component and the dynamic column are properly added to the Kanban Board, which can be viewed from the following link. 


  public btnClick(): void { 
    let column = { headerText: "Pre Check-List", keyField: "CheckList" }; 
    (this.kanbanObj as columnsModel).addColumn(column, 0); 
    this.buttonObj.disabled = true; 
  } 

Kindly try the above sample and if the issue still persists at your end kindly share the below details to serve you better?   
   
  1. Kindly share the Kanban Board rendering code snippets.
  2. Replicate the issue in the above sample.
  3. Share the issue replicating sample (if possible)
  
We will happy to assist you. 
  
Regards, 
Hareesh 


Marked as answer
Loader.
Up arrow icon