Our blazing fast Grid component built with pure JavaScript


Post by eblazerfl »

Hello,

I'm getting the error below when running the sample grid_component LWC included in the trial. If I remove

appendTo: this.template.querySelector('container');

the error goes away, but of course the Grid isn't shown.

Uncaught (in promise) TypeError: Right-hand side of 'instanceof' is not an object
    at LD.initListeners (grid.lwc.module.js:20:193873)
    at LD.construct (grid.lwc.module.js:20:193394)
    at new Pe (grid.lwc.module.js:10:35419)
    at new JB (grid.lwc.module.js:10:60003)
    at new Jm (grid.lwc.module.js:20:175355)
    at new JS (grid.lwc.module.js:10:200955)
    at new Jm (grid.lwc.module.js:20:180913)
    at new LD (grid.lwc.module.js:20:192235)
    at J4.init (grid.lwc.module.js:38:7337)
    at J4.onPaint (grid.lwc.module.js:38:11618)

Is there some other approach to appending a grid to an LWC template that might bypass this error?

Thanks!


Post by mats »

This is already fixed, will be part of 5.0.2 which is due early next week!


Post by eblazerfl »

Thanks mats!


Post by eblazerfl »

Hi Mats, I can confirm the error is gone. But, once the grid is rendered it stops working: sorting, changing the rating, etc, no longer function.


Post by alex.l »

Yes, that's a known problem because of changes in Salesforce (bug report here https://github.com/salesforce/lwc/issues/1875 ). We are working on it, the ticket is here https://github.com/bryntum/support/issues/4432

All the best,
Alex


Post Reply