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)Use third-party library as custom editor?
Posted by: matt_baker on 6 April 2021, 1:31 pm EST
-
-
Replied 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 -
Replied 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 -
Replied 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