Gurus,
What's the best way to achieve this ?
I want to enable/disable the checkbox based on the same row column value.
according to the image posted, i want "From Something" to be based on "Something"
My colleague pointed me the to the lookup function (lookup | Ignition User Manual) which seems to work but was wondering if there is something better to achieve this.
Regards.
Generate a True or False in the query populating the table.
Show us how you are generating the table data. If SQL then post your query (Wiki - how to post code on this forum).
@Transistor to be more clear on my question,
- According to the value of another column I should decide if the column is editable or not.
I understood that from your original post. Show us how you are generating the table data.
select something,from_something from ABC
where from_something is a boolean
and something is a string.
I had a similar problem a few years ago. I don't remember what the outcome was but my posts on Perspective table disable editing on certain rows may give you some ideas. You might need to return a hidden column. e.g.,
SELECT
something,
from_something
from_something AS canEdit
FROM ABC
and use that hidden value to decide whether or not a row can be edited.