Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi Team,
We have a grid populating data from one service as AllData to data and 2nd service for populating AllData to SelectedRows of advanced grid, but it is not showing as selected rows on load.
I tried same behaviour with List using SelectedItems property. It is working properly as selected items of list.
Please provide the solution as we need advanced grid and not list for our application functionality.
Thanks in advance.
Solved! Go to Solution.
Hi @ranjank,
This will happen the IDFieldName parameter of your Grid Advanced widgets is not set to the primary key of the infotable you are displaying as per GridAdvanced will not display SelectedRows from an infotable without an IDFieldName in ThingWorx. After you set the IDFieldName parameter to the name of the primary key column of your infotable yuo should be able to see the selection at mashup load.
Also don't forget to set the RowSelection parameter of the Grid to Multiple if you need several rows to be selected.
Hi @ranjank,
This will happen the IDFieldName parameter of your Grid Advanced widgets is not set to the primary key of the infotable you are displaying as per GridAdvanced will not display SelectedRows from an infotable without an IDFieldName in ThingWorx. After you set the IDFieldName parameter to the name of the primary key column of your infotable yuo should be able to see the selection at mashup load.
Also don't forget to set the RowSelection parameter of the Grid to Multiple if you need several rows to be selected.
Hi @ranjank
If the previous response answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.
Regards,
Toolika Dixit