Hi,
How disable option duplicate card ? I just want to use the delete option in the card menu.
Hi,
How disable option duplicate card ? I just want to use the delete option in the card menu.
Hello,
You can add the following CSS style:
.menu [data-id="duplicate-card"] {
display: none;
}
Please see an example: DHTMLX Snippet Tool
Hello,
It is also possible to customize the cards’ menu with cardShape.menu.items.
Here is an example of using the default menu for a “backlog” column and setting menu custom options for other columns: DHTMLX - Kanban. Custom context menu .
So, to have only a “delete” option in the menu, you could pass
[{
id: "delete-card",
text: "Delete",
icon: "wxi-delete",
}]
to the cardShape.menu.items.