Skip to main content
11-Garnet
July 13, 2022
Solved

Cascading dropdown functionality

  • July 13, 2022
  • 1 reply
  • 838 views

How can we implement cascading dropdown functionality in ThingWorx.

I am binding my first dropdown item from infotable, my second dropdown should fill based on selection of my first dropdown.

shall we need to create a service which will take the o/p of first dropdown selection item, and it should go as service i/p for second dropdown ?

Thanks.

 

Best answer by PaiChung

I think the fairly standard approach is to use the 'Selected' from the first dropdown or it's data source and assign that to the service that pulls data for the second dropdown. and then use the SelectedRow changed or the dropdown widget selection event to trigger that second service, which will then populate the second dropdown.

1 reply

PaiChung22-Sapphire IAnswer
22-Sapphire I
July 14, 2022

I think the fairly standard approach is to use the 'Selected' from the first dropdown or it's data source and assign that to the service that pulls data for the second dropdown. and then use the SelectedRow changed or the dropdown widget selection event to trigger that second service, which will then populate the second dropdown.