You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.
Looking at the code, I don't think there is an easy way to do this. The editor value is a function called at initialization time. I looked through the PRs here and didn't see anything offhand that does this. If there was a way to defer calling the editor function until you actually needed it, it might be possible to then craft a function that takes into account what you actually clicked and provide the appropriate editor at use time.
I could really use this functionality so I will play around with it and see if I can come up with something. I see this issue is almost three years old, and this repo looks kind of abandoned? So if you solved this problem with something else, I'd love to see it.
wc-table-editor.js is a partial re-write with a little bit of cleanup and it should work as a drop-in replacement for the original. The README shows you how to specify a callback function that allows you to change the editor control. It Works For Me™ for my uses, but it's not been exhaustively tested.
HTH.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is there a way to support different input types in individual cells? Like selects or checkboxes?
The text was updated successfully, but these errors were encountered: