JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Kanban › Contextmenu for cards and columns
Tagged: Context menu, Kanban, Kanban API, Kanban context menu, Kanban custom element, Kanban web component
- This topic has 8 replies, 2 voices, and was last updated 1 month ago by Ketan Chavda.
-
AuthorPosts
-
July 7, 2020 at 12:04 pm #100877MiteshJMember
Hello,
We know that you offer similar to context menu items for Edit functionality where it is showing Edit, delete etc options.
How can i bind my own context menu to any column or card with its own items so i can perform other different tasks using those options?
Thanks,
Mitesh JJuly 8, 2020 at 6:28 am #100882adminKeymasterHello Mitesh,
We prepared a CodePen example that shows how to implement a custom context menu with different actions depending on whether a column or a task has been clicked: https://codepen.io/dimitar_jqwidgets/pen/VweXJzV. We hope it is helpful to you.
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.comJuly 24, 2020 at 1:27 pm #100938MiteshJMemberHi Dimitar,
Thanks for the sample.
I understand the logic to implement custom context menu with different actions. Now, the question is, there is a property taskAction which if true, it shows a setting icon in each card. Can we show this custom context menu rather than in-built list when that setting icon has been clicked?
Thanks,
MiteshJuly 27, 2020 at 5:02 am #100943adminKeymasterHi Mitesh,
Unfortunately, there is currently no way of disabling the built-in context menu while keeping the Actions icon, but we will consider adding a mechanism for doing so. Thank you for your valuable feedback.
Best regards,
Dimitar
Smart HTML Elements Team
https://www.htmlelements.comDecember 7, 2024 at 4:35 pm #111896Ketan ChavdaParticipantHello,
Are there any feature to change the items of the built in context menu? Please let us know and also share the example for the same.
Thanks.
December 9, 2024 at 12:36 pm #111903MarkovKeymasterHi Ketan,
You can create a custom context menu. For example: https://www.htmlelements.com/demos/menu/context/
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/December 9, 2024 at 5:19 pm #111906Ketan ChavdaParticipantHello,
I am referring to the custom menu in Kanban. The context menu can be enabled by setting the
taskAction
property of the Kanban component. However, the default context menu displays predefined items. We would like to customize these menu items.Could you please provide guidance on how to achieve this? Any references or examples would be greatly appreciated.
Thank you!
December 10, 2024 at 11:37 am #111910MarkovKeymasterHi Ketan,
You need to use a custom context menu. In order to create such, please refer to the link shared by me in the previous post of this forum topic.
Regards,
MarkovSmart UI Team
https://www.htmlelements.com/December 13, 2024 at 2:25 pm #111958Ketan ChavdaParticipantHi,
You answer is not clear. I am saying that in Kanban when we do left click in the card at that time we want to load the custom context menu. Please provide the sample example for this.
Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.