Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
50
igx-hierarchical-grid load on demand bug on expand
posted

Hi,

I'm using a igx-hierarchical-grid with the load on demand for sub grids as stated in the demo : https://ko.infragistics.com/products/ignite-ui-angular/angular/components/hierarchicalgrid/hierarchical_grid.html

The problem is that when I expand a sub grid I get 2 errors 

ERROR
Error: Cannot read property 'transactions' of undefined

ERROR
Error: Cannot read property 'instance' of undefined

I can't figure out what is wrong with my code

There is a full repro here : https://stackblitz.com/edit/bug-igx-hierarchical-grid

Can you help me with this ?

PS : On the stackblitz IGX version is 9.0.1 but I got the same problem on my repo where IGX version is 8.2.6
PPS : You have more details in the error if you run this locally, see below

IgxHierarchicalGridComponent.html:80 ERROR TypeError: Cannot read property 'transactions' of undefined
at IgxGridTransactionPipe.transform (igniteui-angular.js:57538)
at checkAndUpdatePureExpressionInline (core.js:43600)
at checkAndUpdateNodeInline (core.js:44371)
at checkAndUpdateNode (core.js:44306)
at debugCheckAndUpdateNode (core.js:45328)
at debugCheckDirectivesFn (core.js:45271)
at Object.eval [as updateDirectives] (IgxHierarchicalGridComponent.html:83)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:45259)
at checkAndUpdateView (core.js:44271)
at callWithDebugContext (core.js:45632)

IgxHierarchicalGridComponent.html:80 ERROR TypeError: Cannot read property 'instance' of undefined
at IgxGridForOfDirective._recalcOnContainerChange (igniteui-angular.js:11411)
at IgxGridForOfDirective.ngOnChanges (igniteui-angular.js:11650)
at checkAndUpdateDirectiveInline (core.js:31906)
at checkAndUpdateNodeInline (core.js:44367)
at checkAndUpdateNode (core.js:44306)
at debugCheckAndUpdateNode (core.js:45328)
at debugCheckDirectivesFn (core.js:45271)
at Object.eval [as updateDirectives] (IgxHierarchicalGridComponent.html:83)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:45259)
at checkAndUpdateView (core.js:44271)