jQuery UI Widgets Forums Layouts Kanban updateItem bugs and issues

Tagged: , ,

This topic contains 4 replies, has 2 voices, and was last updated by  svetoslav_borislavov 1 year, 1 month ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • updateItem bugs and issues #133914

    dusty
    Participant

    Hi

    I’m having some issues updating cards in a kanban. I believe 2 of the problems may be bugs.

    Firstly, data passed to updateItem requires “tags” and “tags” cannot be null. But creating items does not have this limitation.

    Secondly, I have a custom columnRenderer: for column headings that indicates the number of items in each column. When I run updateItem, that column is incremented by 1. No extra cards appear, but the column is under the impression that another item has been added.

    Lastly, I have an itemRenderer: function, but it does not appear to be triggered by updateItem. Do I have to do this manually?
    The reason for this is additional information I display on cards. If an item is updated, I’d like the card to reflect those changes on those custom properties. I thought updateItem would go through all object keys and update all object values.

    updateItem bugs and issues #133916

    Hi,

    Could you please send an example in jsfiddle?
    Also, which version are you using?

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

    updateItem bugs and issues #133917

    dusty
    Participant

    ah, I see the framework I’m using has version 14 of the library.
    I’ll udpated it to v18 and test again.
    I was doing the fiddle and those 2 issues seem to not occur.

    I’m still trying to figure out how to get the itemRenderer to trigger again (or do I call it manually?)

    updateItem bugs and issues #133918

    dusty
    Participant

    I stand corrected. “tags”:null, still causes an error. It no longer blocks the update to the item, but it still causes an error.

    https://jsfiddle.net/qotyLdja/10/

    updateItem bugs and issues #133919

    Hi,

    I have opened an issue for that.
    For now, you may pass a string with a whitespace as a workaround:

    Here is an example: https://jsfiddle.net/qcdL4nga/

    Best regards,
    Svetoslav Borislavov

    jQWidgets Team
    https://www.jqwidgets.com/

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

You must be logged in to reply to this topic.