Wijmo5 CollectionView cancelEdit add item in chgEdited

Posted by: brezodejan on 14 September 2017, 11:42 am EST

    • Post Options:
    • Link

    Posted 14 September 2017, 11:42 am EST

    I have problem with CollectionView object and cancelEdit in version 5.20161.164 (I think that same problem is in version 5.20162.198).

    I call editItem, and after that, when I call cancelEdit I got that item in chgEdited collection.

    Is this bug in version or I do something wrong?

    in version 5.20161.138 (and 5.20153.117) cancelEdit can’t add item in chgEdited collection, becase don’t exist call function this._trackItemChanged in onCollectionChanged.

    This is the added line code from wijmo.min.js which make problem.:

    this._committing || n.action != t.NotifyCollectionChangedAction.Change || n.item == this.currentEditItem || this._trackItemChanged(n.item);

    Could you please advise on how to solve problem? Thank you.

  • Posted 14 September 2017, 11:42 am EST

    I think that

    n.item == this.currentEditItem

    in

    this._committing || n.action != t.NotifyCollectionChangedAction.Change || n.item == this.currentEditItem || this._trackItemChanged(n.item);

    can never be true because currentEditItem is set to null in

    function cancelEdit

    in line:

    if (this._edtItem = null, !this.canCancelEdit)

    Is that bug or I have wrong assumptions and conclusions?

  • Posted 14 September 2017, 11:42 am EST

    Hello,

    We are able to replicate the issue at our end. We have escalated the issue to the concerned team for further discussion with tracking id 204805. We will let you know as soon as we get any information in this regard.

    Thanks,

    Manish Kumar Gupta

  • Posted 14 September 2017, 11:42 am EST

    Thank you,

    I have one more question:

    I have purchased Wijmo Enterprise license.

    How can I get licensed version Wijmo Enterprise with wijmo5 version 5.20161.138,

    because of this bug?

  • Posted 14 September 2017, 11:42 am EST

    Is it possible to download older licensed version or not?

    Thanks

  • Posted 14 September 2017, 11:42 am EST

    Hi,

    Yes you can get older licensed version.

    But we request you to wait for some days as the issue you were facing has been fixed in new build which will be released with in next week.

    However if you want to download older version, please create a support ticket on our Support Portal with the registered email id against which key has been registered. Thereafter we will share the details with you.

  • Posted 2 January 2018, 6:28 am EST

    Hello,

    The issue has been fixed in the latest version of Wijmo 5 i.e. 2017v3.380. You can download the same from the following link: https://www.grapecity.com/en/download/wijmo-core

    Hope it helps.

    Thanks,

    Manpreet Kaur

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels