So, in my current Project I have used one Power table based on the Property change need to update the Value in the Row data set of power table, just need the idea on what is the script format we are using for the above requirements,
find the attached image for the reference,
As I have 3 conditions,
A, B & C So according to the drop-down selection need to change the Data set in row or column IO_NUmber & Description need to change,
Where input status remains ideal.
Your post seems to be missing some punctuation. This makes it difficult to know where one sentence ends and the next one begins so the meaning is unclear. Can you edit to fix it? (Use '.' at the end of a sentence, not ','.) I understand that English may not be your first language.
You could use the dropdown's selectedIndex property to drive the data:
if event.propertyName == 'selectedIndex':
# drive the data change here
...but depending on where you are getting your data, it's likely that a binding that uses the selectedLabel or selectedStringValue property of the dropdown would be a lot better than a property change script.
“I have one power table and three conditions that need to change the row values in the Description column based on the conditions.
so what is the format of script need to be use.
You have yet to answer the question on where the data is coming from. Is this a query? Dataset tags?
@justinedwards.jle gave you a pretty good clue, but I'll elaborate a bit further:
I would create three custom properties on the power table with the relevant result of each dropdown (Following your original post, I'll call them A, B, and C).
Then, if you script it, it would start with something like:
if event.propertyName in ('A', 'B', 'C'):
do_some_stuff()