Skip to main content
1-Visitor
April 15, 2021
Question

How to enable three state checkbox selection in Thingworx Advanced Grid

  • April 15, 2021
  • 1 reply
  • 991 views

If I'm not mistaken, Thingworx is using DHTMLX controls and there is an option for when a checkbox is selected the parent and children nodes are also selected/deselected as needed. I am trying to get this to work but I don't see any option and my current solution is not economical (uploading data to sql server and reloading mashup and reloading the data from sql). I'd prefer to do this client-side or at the least on the Thingworx side. Any suggestions?

 

Click on the second grid's checkboxes to see how three-state checkboxes work.

https://dhtmlx.com/docs/products/dhtmlxTree/samples/02_checkboxes/05_tree_checkboxes.html

1 reply

22-Sapphire I
April 15, 2021

I don't remember that option being available for the adv. tree widget. I think maybe if multi-select is available, you can build some logic that triggers on a selection that refreshes the data so that a full branch is 'selected items'