Is there a way to make a tag bi-directional in the cell update area of a dataset. I read my tags correctly and have made them editable but when I hit enter it goes back to the original tag value.
Any help would be great. Thanks!
Is there a way to make a tag bi-directional in the cell update area of a dataset. I read my tags correctly and have made them editable but when I hit enter it goes back to the original tag value.
Any help would be great. Thanks!
You have to use the onCellEdited
extension function if you want to do it within the table itself.
Instead, I often opt to create my own table row template that takes a single index parameter and uses numeric input components. Then, use a template repeater with that index. Of course, you would have to have your tags set up properly for that to work. (or, you could use the dataset method instead of the index method on the repeater)
Much more user and future-dev friendly than the extension function.
What do you bind it to in the onCellEdited extension?
You would have to write a python script to read the changed value and write it to the tag.
IMO, that's too much work for something that is so simple if you make a template for a template repeater.
Yes, I agree. I will try the template repeater. Thanks!