Hi Alvaro,
Greetings from Syncfusion support.
We have validated your query “to edit the column name (Header Text) in the Kanban component”.
Yes, you can edit the column name(HeaderText) using the property binding. We have prepared a sample and code snippet based on your code snippet shared for your reference.,
Code Snippet:
<SfButton @ref="ToggleBtn" @onclick="onToggleClick" CssClass="e-flat" IsToggle="true" IsPrimary="true" Content="Edit Column 2"></SfButton>
<SfKanban TValue="TasksModel" KeyField="Status" DataSource="Tasks">
<KanbanColumns>
<KanbanColumn HeaderText="@column1HeaderText" KeyField="Open"></KanbanColumn>
<KanbanColumn HeaderText="@column2HeaderText" KeyField="InProgress"></KanbanColumn>
<KanbanColumn HeaderText="@column3HeaderText" KeyField="Testing"></KanbanColumn>
<KanbanColumn HeaderText="@column4HeaderText" KeyField="Close"></KanbanColumn>
</KanbanColumns>
<KanbanCardSettings HeaderField="Id" ContentField="Summary"></KanbanCardSettings>
</SfKanban>
SfButton ToggleBtn;
private void onToggleClick(Microsoft.AspNetCore.Components.Web.MouseEventArgs args)
{
this.column2HeaderText = "Opened";
}
|
Please let us know and confirm whether the above code snippet and the sample help to resolve the issue.
Regards,
Revanth