jQuery UI Widgets Forums Layouts Kanban Ability to drag/dop a user into an item for assignment

This topic contains 3 replies, has 2 voices, and was last updated by  Hristo 7 years, 3 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author

  • Uwe
    Participant

    Hello,
    I’d like to have the users with their pictogramms on top and if an items needs a re-assignment, Id like to drag/drop a user over the item and assign him this way.
    Is this something that is already implemented? Any example code available?
    Uwe

    • This topic was modified 7 years, 3 months ago by  Uwe.

    Hristo
    Participant

    Hello Uwe,

    You could try to use our demos as a base.
    Please, take a look at this demo:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxkanban/defaultfunctionality.htm?light
    Instead of text with item’s counting could set desired ‘pictogram’.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com


    Uwe
    Participant

    Hello Hristo,

    thanks for your replay. I am not sure if I have expressed my wish correctly.

    What I want is a separate list of users above the Kanban board (with pictogramms). (this is what I have implemented already)
    Then, I want to drag/drop one of these pictogram users over to one of the existing items in the board, to reassign this item to the pictograms’ user.

    Is this something what I can implement somehow?

    Volker


    Hristo
    Participant

    Hello Volker,

    Unfortunately, we do not have such demo.
    But you could try to create a workaround and I would like to suggest you one approach.
    You could use jqxSortable (for a list of users “with pictograms” or another suitable widget) and use start and stop events.
    When drop one item collect the info (var item = event.args.item[0]), after that with calculation of offset (var offset = args.offset), originalPosition, and etc.
    And to update an particular item of the Kanban – this var items = $('#jqxKanban').jqxKanban('getItems'); could be useful and this one $('#jqxKanban').jqxKanban('updateItem', itemId, newContent);.
    I cannot warrant for this scenario.
    Thank you for your understanding.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.