Use third-party library as custom editor?

Posted by: matt_baker on 6 April 2021, 1:31 pm EST

  • Posted 6 April 2021, 1:31 pm EST

    Is there an interface, or way to extend a Wijmo Input control to wrap a third-party library as an editor in FledGrid? I have a need for a multi select, tag-like editor for a column that contains an array of values, and none of the Wijmo Input’s set that specific need. I’ve been looking at Tagify (https://github.com/yairEO/tagify)

  • Posted 6 April 2021, 7:38 pm EST

    Hi Matt,

    You can use MultiAutoComplete for these requirements. This control does not support tags by default but with a little tweak, we can add support for tags.

    You can refer to the sample attached.

    Regards,

    Ashwintags.zip

  • Posted 7 April 2021, 5:57 am EST

    Ashwin,

    Thanks for the reply! The tag code does work, but it appears that it interferes with the edit events if “trackChanges: true” is set.

    See attached project. If I edit tags and switch rows, the edited row is not added to itemsEdited. If I copy that row and paste into another, the pasted row appears in itemsEdited.

    Also, It appears that cancelling edits isn’t working, but I did not build a test for it.

    Archive.zip

  • Posted 8 April 2021, 3:12 pm EST

    Hi Matt,

    I was able to replicate both issues. I will investigate this and will update you as soon as possible.

    ~regards

  • Posted 11 April 2021, 3:38 pm EST

    Hi Matt,

    I am extremely sorry for the delayed response. This seems like a bug in control. I have asked the dev team to look into this. The internal tracking id of the case is WJM-19680.

    I will update you once I will hear from them.

    ~regards

  • Posted 14 April 2021, 7:47 am EST

    Thank you for your response. Please let me know when an update is available.

Need extra support?

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

Learn More

Forum Channels