Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X
In Thingworx 9.5 there is one feature of "RowSelection" that is bindable.
I want to control the grid property from none selection to multiple selection through this
Upon clicking the button, I pass the result as 'Multiple' to the RowSelection grid property and reset the grid on change. The issue is that I am unable to switch to multiselect.
Solved! Go to Solution.
Hi @AC_10460579 ,
I'm not sure why the RowSelection ("none" or "single" or "multi" ) widget property is not working as expected in runtime changes, It is not working in my TWX 9.4.2 environment too.
In this case you can use Grid's - Configuration property to make runtime grid view changes. I'm here attaching the sample for Row Selection based on service output. You modify it based on your requirement. I hope it helps you.
if (IP_Data === true) {
result = {
"rows": {
"selection": "single" // "none" or "single" or "multi"
}
};
} else {
result = {
"rows": {
"selection": "multi" // "none" or "single" or "multi"
}
};
}
Expected Bindings:
Incase any queries kindly let me know.
Thanks & Regards,
Arun C
Hi @AC_10460579 ,
I'm not sure why the RowSelection ("none" or "single" or "multi" ) widget property is not working as expected in runtime changes, It is not working in my TWX 9.4.2 environment too.
In this case you can use Grid's - Configuration property to make runtime grid view changes. I'm here attaching the sample for Row Selection based on service output. You modify it based on your requirement. I hope it helps you.
if (IP_Data === true) {
result = {
"rows": {
"selection": "single" // "none" or "single" or "multi"
}
};
} else {
result = {
"rows": {
"selection": "multi" // "none" or "single" or "multi"
}
};
}
Expected Bindings:
Incase any queries kindly let me know.
Thanks & Regards,
Arun C