Skip to main content
16-Pearl
October 16, 2023
Question

can we populate unique values of that column in dropdown format inside ptcschipdatafilter widget

  • October 16, 2023
  • 1 reply
  • 928 views

In ptcschipdatafilter widget, instead of chosing the condition for string and number datatype, can we populate all the unique values of that column in dropdown format inside filter widget?

 

1 reply

16-Pearl
October 17, 2023

Hi @AP_10343008 ,

I'm afraid this is not possible for ptcs-chipdatafilter widget, please consider raising an enhancement idea in https://community.ptc.com/t5/ThingWorx-Ideas/idb-p/thingworxideas

As a workaround which requires some extra implementation effort, you can use a dropdown widget listing unique values for the chosen column, use expression function to build and output the query in JSON for filtering based on the selected item in dropdown, then pass the expression output to the input of the query data service that bound with the Grid Data.

16-Pearl
October 17, 2023

Ill try. Thanks