Add Column

How I add column and show added column dynamically 
I insert a status to db and use KanbanRef.Columns.Add or KanbanRef.Columns.append methods 
but it appears error and not refresh the kanban board
How can I do

code


3 Replies 1 reply marked as answer

BS Balasubramanian Sattanathan Syncfusion Team July 24, 2020 06:28 PM UTC

Hi Cemil, 
 
Greetings from Syncfusion Support. 
 
We have validated your requirement at our side and we regret to let you know that, there is no possibility to add the column dynamically according to the current Scheduler architecture. But we can show/hide the Kanban columns using the ShowColumn and HideColumn public method like the below code snippet. Please find the attached sample below. 
 
<div class="header-template-wrap"> 
    <button class="e-btn" @onclick="@Hide">Hide "To Do" Column</button> 
    <button class="e-btn" @onclick="@Show">Show "To Do" Column</button> 
</div> 
. . . 
. . . 
. . . 
private void Show() 
    this.KanbanRef.ShowColumn("Open"); 
private void Hide() 
    this.KanbanRef.HideColumn("Open"); 
} 
 
 
Kindly try the above sample and let us know if you need further assistance. 

Regards, 
Balasubramanian S 


Marked as answer

UN Unknown Syncfusion Team July 27, 2020 05:49 AM UTC

Hi Balasubramanian Sattanathan

your answer is only for exist column 
I want add a column dynamically so this answer not resolving my problem

firstly I add a status to db and I want to show added column without page reload






BS Balasubramanian Sattanathan Syncfusion Team July 29, 2020 11:54 AM UTC

Hi Cemil, 

Thanks for the update. 

We have validated your requirement “I want add a column dynamically” at our side. And let you know that, currently there is no possibility to add column dynamically. So, we will consider this as a feature request and will include it in our Volume 2 SP release which is expected to roll out on August 12, 2020. You can track this by using the following feedback portal link. 


Regards, 
Balasubramanian S

Loader.
Up arrow icon