Our state of the art Gantt chart


Post by methode »

Hello,

how are you?

We're upgrading our Gantt project to last releases - beta included - and see people can now install by NPM.

Now, I have a question. When I build the bryntum-angular-shared package I add the features I need, according to the documentation here:

https://www.bryntum.com/docs/gantt/#guides/integration/angular.md#integrating-gantt-with-angular-using-the-wrapper

These are the commonly used config options and features. If you need a property or a feature that is not included feel free to add it to the provided wrapper.

for example: criticalPaths or rowReorder.

Are these features available by installing the NPM Bryntum package?

Thanks a lot


Post by sergey.maltsev »

Hi!

Npm packages contain all functions/features which are supported by product.
The difference of using npm server in comparing with older product versions is that our bundle (module or umd) is now loaded from online npm server but not from local folder (as it was before).

Comparing old offline package.json

...
"dependencies": {
    "bryntum-gantt": "file:../../../build",
    "bryntum-resources": "file:../../_shared",
    ...
}
...

with new online

...
"dependencies": {
    "@bryntum/demo-resources": "1.0.0",
    "@bryntum/gantt-angular": "4.1.0-beta-2",
    ...
},
...

Please see upgrade and integration guides in docs for the detailed info on that.


Post by methode »

Hi Sergey,

ok thanks, so I'll find all features, great.

I managed to launch the angular advanced demo under frameworks folder after successfully log in to the Bryntum npm server. I used the following code in the package.josn:

...
"@bryntum/demo-resources": "1.0.0",
"@bryntum/gantt": "4.1.0-beta-2",
"@bryntum/gantt-angular": "4.1.0-beta-2",

About my project, I think demo-resources package is superfluous, so the required packages are: gantt and gantt-angular.
Can you confirm?

Thanks a lot


Post by sergey.maltsev »

Hi!
The only required package is:

"@bryntum/gantt-angular": "4.1.0-beta-2",

@bryntum/gantt will be included as a dependency automatically.

@bryntum/demo-resources is our package for included demos.


Post by methode »

Hello,

perfect, thanks!


Post Reply