Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #100877
    MiteshJ
    Member

    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 J

    #100882
    admin
    Keymaster

    Hello 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.com

    #100938
    MiteshJ
    Member

    Hi 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,
    Mitesh

    #100943
    admin
    Keymaster

    Hi 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.com

    #111896
    Ketan Chavda
    Participant

    Hello,

    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.

    #111903
    Markov
    Keymaster

    Hi Ketan,

    You can create a custom context menu. For example: https://www.htmlelements.com/demos/menu/context/

    Regards,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #111906
    Ketan Chavda
    Participant

    Hello,

    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!

    #111910
    Markov
    Keymaster

    Hi 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,
    Markov

    Smart UI Team
    https://www.htmlelements.com/

    #111958
    Ketan Chavda
    Participant

    Hi,

    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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.