Skip to main content
1-Visitor
January 4, 2019
Question

Issue with Tree Widget UI rendering when used with Networks( _BMCollectionViewInfoTableIndex)

  • January 4, 2019
  • 13 replies
  • 6230 views

Hi All,

           We are facing issue with Tree Widget UI rendering when used with networks.

Explanation: We are trying to display below sample network  structure in tree widget.

 

ABC

            XYZ

                    Animal

                               Cat

                   Fruit

                              Apple

                             Watermelon

                  Location

                               India

                               US

Whenever we delete Cat from Animal,if we click on Animal again,then click on Fruit, it will not show Apple and Watermelon,it goes same with any same level parent element.

 

We inspected in browser console.We got the below error.

 

We tried in both Microsoft Edge(IE) and Chrome.

Chrome Error:(Version 71.0.3578.98)

 

Combined.8.3.2-b535.20180903.111233.00726.js:130008 Uncaught TypeError: Cannot read property '_BMCollectionViewInfoTableIndex' of undefined
at TW.Runtime.Widgets.collection.updateThingworxSelection (Combined.8.3.2-b535.20180903.111233.00726.js:130008)
at TW.Runtime.Widgets.collection.collectionViewDidSelectCellAtIndexPath (Combined.8.3.2-b535.20180903.111233.00726.js:129898)
at BMCollectionView.set selectedIndexPaths [as selectedIndexPaths] (Combined.8.3.2-b535.20180903.111233.00726.js:126845)
at Object.completionHandler (Combined.8.3.2-b535.20180903.111233.00726.js:129018)
at animationOptions.complete (Combined.8.3.2-b535.20180903.111233.00726.js:127648)
at Combined.8.3.2-b535.20180903.111233.00726.js:118589

 

 

Error in Microsoft Edge:(Version 42.17134.1.0)

SCRIPT5007: Unable to get property '_BMCollectionViewInfoTableIndex' of undefined or null reference

 

Similar issue is posted :link

 

           

13 replies

20-Turquoise
January 4, 2019

Are you using the Advance Grid Tree Widget?

The original Tree Widget is currently not supported.

1-Visitor
January 7, 2019

Thank you for the reply.We are using regular tree widget(tree widget with comes by default with Thingworx),I tried with advanced Grid Tree Widget  by downloading the extension (from this linkbut it displays data in the greed format.We need to display data in hierarchical format (parent and child relationship).Something like below.

ABC
 XYZ
 Animal
 Cat 
 Fruit
 Apple
 Watermelon
 Location
 India
 US
20-Turquoise
January 7, 2019

Have you checked out the documentation and examples that come  along with the extension? The asvanced grid tree is indeed a grid but it does represent data in a hierarchical (parent-child node) format.