jQWidgets Forums

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Disable dragging Disable dragging #85678

    lourivalos83
    Participant

    Hi,

    I thing it’s a core feature, there are some plan to add this capatibility in a near future?
    There are any other way to prevet an user from move an item? It’s possible to undone or cancel a drag-ad-drop operation?

    Thanks in advance!

    in reply to: Kanban: Source JSON Kanban: Source JSON #85654

    lourivalos83
    Participant

    Hi Everyone,

    I populated the Kanban with JSON, but my problem is to update the itens with DataAdapter, I buld a sample here:
    https://www.jseditor.io/?key=kanban-databind

    My problem is how to update itens using dataAdapter.dataBind();, all my itens was just duplicated everytime I click on “Refresh data 1” link.

    What is the correc approach to refresh existing itens on Kanban? Nowdays I’m calling ‘destroy’, and rebuilding the Kanban from scratch.

    in reply to: kanban new items order kanban new items order #85652

    lourivalos83
    Participant

    Hi Ksaidi,

    I achieved this goal using this code:

    $('#kanban').on('itemMoved', function (event) {
                    var args = event.args;
                    var itemId = args.itemId;
                    var idx = $('#kanban_' + itemId).index();
                    alert(idx);
    }

    I just get DIV index on parent, using jQuery function. But, I do not know if this will be keep stable between versions…

    I thing that position is a basic feature on Kanban like components. This feature will be added in a near future?

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