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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Grid Widget Dropdown List Value and Display field workaround

AdamK_93
13-Aquamarine

Grid Widget Dropdown List Value and Display field workaround

Dear Community!

 

I'd like to ask your advise/help regarding the new feature in Thingworx 9.7 for GRID's Dropdown list.

We have been waiting so long to have OOO the functionality to have a dropdown list in Grids, however we are struggling to get the most out of it.

 

The configuration both with Service/Config is working. (Configuring Grid Columns to Display Dropdown Lists (ptc.com))

 

We have a UseCase, where the users need to select a given value from the grid dropdown list, however the List as normally, displays the value selected, and it is passing further to any data we bind to.

 

The problem we are facing, that we would need many columns as dropdown, but with different Display Value, and different actual Value .

(Just like a normal ptc-dropdown. Once you bind an infotable to the data property, you can choose the Display Field and Value Field)

  • for example: Service returns infotable of RoomInformation : (RoomId, RoomName, RoomDescription)
  • the RoomId as a primary key (usually) is not so meaningful e.g. 8723987 , while the RoomName is e.g.:  Packaging Room Number 7.
  • Due to this, we want to work further with the KEY (RoomId), as that holds the whole Room information, no just the name.

 

This is something that the GRID Dropdown column as per our current experiences are not capable of.

(Of course if you have only some basic dropdown values like, "yes-no, 1-10 numbers" etc. that is not representing real things and not depending on any other field, the dropdown is great!)

 

Hence I'd like to ask for any advise, solution, configuration experience out there that could be helpful using the DropDown column in GRID that way!

 

Thanks for any help!

 

 

3 REPLIES 3
PEHOWE
17-Peridot
(To:AdamK_93)

Hello @AdamK_93 ,

I am not sure I understand all the issue you have described. Do you have a test case which demo's the issue? 

 

Regards,

Pehowe

AdamK_93
13-Aquamarine
(To:PEHOWE)

Hello @PEHOWE ,

 

I've provided a simple test case with entities and explanation. 

 

I hope it is now more understandable.

 

In one sentence, I'd say, the dropdown feature of the Grid, has missing properties where you could define the "label" (what the grid will display at runtime), and a "value" (what actual value the dropdown selected item holds). So similarly to the 'ptc-dropdown-widget'.

PEHOWE
17-Peridot
(To:AdamK_93)

Hello @AdamK_93 ,
Thanks for the test case. I have started a conversation with the SME. I will provide an update when I get more data.

 

Regards,

Pehowe

Announcements


Top Tags