JavaScript UI Libraries & Blazor Components Suite – Smart UI Forums Kanban how to detect whether a task has been selected in a Kanban?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #101947
    davout
    Member

    What events can be used to detect that one or more tasks have been selected in the Kanban component?

    #101960
    yavordashew
    Member

    Hi davout,
    The SmartKanban doesn’t have events on selection of tasks, but I have prepared a code example which enables you to have this functionality:

            this.kanban.addEventListener ('click', (event: MouseEvent): void => {
                if (event.shiftKey) {
                    const selectedTasks: any=  document.querySelectorAll('.smart-kanban-task[selected]');
                    console.log(selectedTasks);
                }
            })

    Let me know if that works for you!
    Please, do not hesitate to contact us if you have any additional questions.
    Best regards,
    Yavor Dashev
    Smart UI Team
    https://www.htmlelements.com/

    #101970
    davout
    Member

    When is the fix due to be released?

    #101977
    admin
    Keymaster

    Hi davout,
    We will consider implementing that missing functionality in future versions of the Kanban. When that happens, we will update our https://www.htmlelements.com/docs/roadmap/
    Best regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

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