Hi, I'm using the Kanban component in my React Typescript environment. Unfortunately, when setting the enablePersistence property on true, the template for column header's is not getting applied. See code below:
const columnHeaderTemplate = (args) => {
return (
<div className="e-header-wrap">
<div className="e-header-text">{args.headerText} - Test</div>
</div>
);
};
return (
<KanbanComponent enablePersistence={true} keyField="progress"> {/* problem is enablePersistence=true */}
<ColumnsDirective>
<ColumnDirective
headerText="To Do"
keyField="todo"
allowToggle={true}
template={columnHeaderTemplate}
/>
</ColumnsDirective>
</KanbanComponent>
);
In addition, I wanted to ask the following questions:
1. How can do I handle foreign keys (Swimlane, Card, Dialog)?
2. Is there a possibility to add a ContextMenu to the Kanban?