jQWidgets Forums
jQuery UI Widgets › Forums › Layouts › Kanban › jqxKanban Bug with 'updateItem' while an itemRenderer function is set
Tagged: jquery kanban, jqxKanban, kanban
This topic contains 6 replies, has 4 voices, and was last updated by shikharka 7 years, 1 month ago.
-
Author
-
April 4, 2016 at 6:26 pm jqxKanban Bug with 'updateItem' while an itemRenderer function is set #83120
There is a bug when using the Kanban widget which causes the widget to be unusable. The ‘updateItem’ function throws a reference exception when you have the itemRenderer set on the jqxKanban and attempt to update an item using the ‘updateItem’ method. See line # 994 of the jqxkanban.js (version 4.1.1) source code. The variable ‘newItem’ is passed to the itemRenderer without being declared, causing the Reference Error. I’m assuming that the correct variable should be ‘selectedItem’, which is defined and seems to hold the item element.
To reproduce, set the itemRenderer on the Kanban and then attempt to update an item color, text, content, etc.
This bug is blocking the release of a new feature for our application, we would appreciate support in fixing the issue.
Thanks
April 4, 2016 at 6:39 pm jqxKanban Bug with 'updateItem' while an itemRenderer function is set #83121Here is an example illustrating the bug:
April 5, 2016 at 5:23 am jqxKanban Bug with 'updateItem' while an itemRenderer function is set #83132Hi komined,
Thank you for the provided feedback.
We confirm the reported behavior and it will be resolved in future Kanban update.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/June 24, 2017 at 6:46 pm jqxKanban Bug with 'updateItem' while an itemRenderer function is set #94529Hi,
Is this bug resolved?Best,
SmrutiJune 28, 2017 at 6:37 pm jqxKanban Bug with 'updateItem' while an itemRenderer function is set #94592Hi,
I see in the ReleaseNote that this bug has been fixed (https://github.com/jqwidgets/jQWidgets/blob/master/ReleaseNotes.txt#L178).In my code, I am using bootstrap modal to let user update a field in an item of a column in Kanban board. I can ‘updateItem’ for each item in the columns for the first time as it is visible in the UI but when I am trying to update any item for second time, it is not updating and the new value for the field becomes null displaying blank on the UI item.
I tried to see if the ‘updateItem’ updates the underlying source data structure by using : source = $(‘#kanban1’).jqxKanban(‘source’) after the ‘updateItem’ method is invoked.
it is showing the initial source not any updated source value.
Is there a way to see the ‘source’ updated values? I would appreciate any insights/suggestions on this.Best,
SmrutiJune 29, 2017 at 8:58 am jqxKanban Bug with 'updateItem' while an itemRenderer function is set #94602Hi Smruti,
No, the source property shows what’s contained in the source property. It does not reflect to any dynamic changes done during runtime of the Kanban. We will have to think about additional API like getItems or something like that in the future releases in order to handle cases like yours.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/March 19, 2018 at 5:38 am jqxKanban Bug with 'updateItem' while an itemRenderer function is set #99289Hello,
Is Smruti’s case handeled? I am facing same problem.
Thanks & Regards,
Shikhar -
AuthorPosts
You must be logged in to reply to this topic.