cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

SelectedRows property of Advanced grid is not showing selected data on load

SOLVED
ranjank
Alexandrite

SelectedRows property of Advanced grid is not showing selected data on load

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.

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: SelectedRows property of Advanced grid is not showing selected data on load

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.

View solution in original post

2 REPLIES 2

Re: SelectedRows property of Advanced grid is not showing selected data on load

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.

View solution in original post

Re: SelectedRows property of Advanced grid is not showing selected data on load

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

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.