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

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

Participant

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

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

 

           

Tags (1)
13 REPLIES 13

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

Are you using the Advance Grid Tree Widget?

The original Tree Widget is currently not supported.

Highlighted

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

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

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

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.

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

Thank you for the reply.Ya ,I checked the full documentation .I didn't find any such example. Documentation is more concentrated on the concept of filtering and sorting etc.Our primary requirement is to, display  

hierarchical data in tree format and that is not discussed in document.If you find any such example please share the link.

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

I'm attaching the main document I was referring to, on pages 4, 6, 29 it describes working with a tree grid data (Expandable nodes, child-parent dependencies).

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


@posipova wrote:

Are you using the Advance Grid Tree Widget?

The original Tree Widget is currently not supported.


Do you mean the AdvancedGridExtension (v3.0.5) when you say "Advance Grid Tree Widget" ?

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

The issue persists even with TreeGridAdvanced widget. The browser console gives the following error:

 

Uncaught TypeError: Cannot read property '_BMCollectionViewInfoTableIndex' of undefined
at TW.Runtime.Widgets.collection.updateThingworxSelection (Combined.8.3.4-b993.20181130.093259.00705.js:130061)
at TW.Runtime.Widgets.collection.collectionViewDidSelectCellAtIndexPath (Combined.8.3.4-b993.20181130.093259.00705.js:129951)
at BMCollectionView.set selectedIndexPaths [as selectedIndexPaths] (Combined.8.3.4-b993.20181130.093259.00705.js:126890)
at Object.completionHandler (Combined.8.3.4-b993.20181130.093259.00705.js:129069)
at animationOptions.complete (Combined.8.3.4-b993.20181130.093259.00705.js:127694)
at Combined.8.3.4-b993.20181130.093259.00705.js:118622

 

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

Just wondering if you had a chance to open a support ticket for this since the last communication. 

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

A support ticket is already open with PTC.