Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
I would like to access the data from the infotable bound to my widget during design time (ide).
Are there any JS functions I can use? I saw there are some observers on the 'isBindingTarget':true properties but really would be thankful for some pointer in the right direction.
Solved! Go to Solution.
Hello,
There are two key methods you could look into:
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
}
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
const dataShape = this.getInfotableMetadataForProperty(propertyName);
}
Hope this helps.
Hello,
There are two key methods you could look into:
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
}
this.afterAddBindingSource = function (bindingInfo) {
const propertyName = bindingInfo.targetProperty;
const dataShape = this.getInfotableMetadataForProperty(propertyName);
}
Hope this helps.
This is exactly what I was looking for.
Thanks!