Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hello ,
I have a data source with parent child relation.
Eg:
Fruits
True,Orange
False,Apple
Vegetables
False,Potato
False,Tomato
I should allow the user to select few fruits and few vegetables. What would be the best approach to achieve it.
I tried with Advanced Tree Grid but i could not get the checkbox to be in the first column from the positioning in the settings.
1. What can i do to get the check box appear in the first column.
2. If there is any better approach with other available widgets.
Thingworx version 9.1.5
Thanks
Hi @sbt.
You could try using the List widget and turn on multiselect in the properties. If there's more to the use case that needs to be considered, please provide some additional detail.
Regards.
--Sharon
I can use list widget if i have just a general list. But i cannot have drill down of parent and child in that where just child can be selected.
Below image just for info.
Thank you!
Hi @sbt.
Our suggestion was assuming you would have multiple lists for each grouping, but it may depend on the number of groupings.
What do you intend to do with the selections?
Regards.
--Sharon
Hello @slangley
At max i can have 3-6 groups and each groups will have 30 child properties. based on the selection of properties from each group i have to plot the trend to basically compare the data.
Thank you!
Hi @sbt.
Do you not feel that 3 - 6 groups is a manageable number of lists? This would be our recommendation.
Regards.
--Sharon
Sorry I didnt get your approach. Can you add a small example if its possible.
Thank you!!!
Hi @sbt.
Basically, you need to add a list widget for each group. Be sure to set the MultiSelect option in the properties panel.
Regards.
--Sharon
Sorry @slangley I really didn't get the point of grouping what you are talking about. Is it something where i need to use list widget in another widget..?
eg: collection!
Thank you!!
Hi @sbt.
We're suggesting that you drag 3 - 6 list widgets to the container. Once bound, you would need to filter each one for the grouping you expect to display: fruits, veggies, etc.
Here's an example:
Regards.
--Sharon
I'm not aware that you can prevent the user to select some entries and some not. Do you really need a checkbox?
Normaly we just use the "selected style" to mark that the user selected an entry:
For sure he can also select "Fruit" but this we have to filter in our service.