ag-grid的老树数据没有企业版可以用吗?

Can I use ag-grid's old tree data without the enterprise version?

我想在纯 JS 项目中使用 ag-grid 社区,它很快就会商业化。我对许可政策了解不多。 来自 documentation 我可以建议社区图书馆存储在这里?

src="https://unpkg.com/ag-grid/dist/ag-grid.min.noStyle.js

另外,我对Tree Data (Legacy) feature, which is free很感兴趣。但它的源库看起来像:

src="https://unpkg.com/ag-grid-enterprise@18.1.1/dist/ag-grid-enterprise.min.js

我使用此功能是否违反了许可规则?我应该如何正确使用它?如果我在非商业项目中使用企业库,它会起作用吗?

你确实可以在没有企业版的情况下使用 old tree data 实现,有一句话我之前没有注意到,它总结了它:

https://www.ag-grid.com/javascript-grid-tree-data/

How Tree Data is managed in ag-Grid was changed in ag-Grid v14. This page presents the new way of working with Tree Data. The old way was part of ag-Grid free, the new way is part of ag-Grid Enterprise. The old way is deprecated but you can still use it, but we will not be enhancing it. For documentation on the older version of the grid prior to v14 see Tree Data (Legacy).

在他们的旧树数据演示中,使用的 JavaScript 文件应该是 "community" 版本而不是企业版本。他们只是在所有演示中使用企业版以使其更容易。