Our blazing fast Grid component built with pure JavaScript


Post by mitja »

Hi there I am using bryntum grid 2.0 or 2.1 with a small team license in angular 6 and I got this error
error.PNG
error.PNG (98.17 KiB) Viewed 3493 times
Does anyone have an idea what is wrong?

Post by mats »

Can you please upload a test case where we can reproduce this?

Post by mitja »

I Attach you my whole implementation of a grid in angular and package.json to see if any dependency is wrong. I install the grid by copying the build folder.
Attachments
grid.zip
(5.11 KiB) Downloaded 200 times

Post by pmiklashevich »

Hello Mitja,

The testcase should be runnable. Please see how to ask for help here: viewtopic.php?f=35&t=772#p4637

Also please check out our Getting started guide here: https://www.bryntum.com/docs/scheduler/ ... angular.md

You can take one of the shipped demos as a base. Please see examples/angular/angular-6 folder in the distributive.

Best wishes,
Pavel

Pavlo Miklashevych
Sr. Frontend Developer


Post by mitja »

Thanks for your help I salve it by changing
import { Grid, Model, Store } from 'bryntum-grid/grid.umd.js';
to
import { Grid, Model, Store } from 'bryntum-grid
now i i smal problem when i build with
ng build --prod --aot
the problem is with --aot part i got this error
eror.PNG
eror.PNG (53.37 KiB) Viewed 3460 times
Any idea?

Post by pmiklashevich »

Please provide a runnable testcase that we can check. "ng build --prod --aot" works fine in both examples/angular/angular-6 and examples/angular/angular-7.

Pavlo Miklashevych
Sr. Frontend Developer


Post by Sky4CE »

@pmiklashevich I can confirm that bryntum grid does not work under prod environment. Please try run your examples with --aot and --prod flags, e.g. ng serve --prod, and you will see mentioned error.

Post by pmiklashevich »

Hello @Sky4CE, what version of Grid do you use?

Pavlo Miklashevych
Sr. Frontend Developer


Post by Sky4CE »

@pmiklashevich 2.0.2

Post by pmiklashevich »

Could you please try against 2.0.3 and if you have a license against our nightly builds?

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply