Table cell checkbox PLC binding in Perspective

I have used the Table component in perspective. I am togging the checkboxes sometimes the value updates in the PLC and sometimes it doesn't, even when I toggle switches the other one gets off. I have done the binding in the following manner. Can somebody please help?

Are your bindings bidirectional?
image
If they are not, then they will only read from the tag. If you want them to write as well, they will have to be bidirectional.

I have already done that @Daniel.Snyder

The table doesn't deliver new values from editing back to its own props.data. You must use a script in the cell edit commit event.

1 Like

Here is a link to the documentation for the scripting that @pturmel is talking about:

Also, is there a reason you are binding to each cell individually?

Depending on how you have structured the tags in the PLC and Ignition, you might be able to bind to the data prop for efficiently, or use something like a script transform + change script to do that and perform bulk read/writes of the changes. It might be particularly relevant if you want the number of rows to be dynamic. Just a thought...

1 Like

This is my table view


and I have binded each data with a tag

I have also written the script onEditCellCommit

Hello, can anyone suggest anything @cmallonee @Kevin.Herron @pturmel?

Your indentation is broken in your script. (Please don't ping me. I read everything, and help where I have something to contribute.)