Hi,
I opened and tried your integration 1 project, and removed other widgets for clarity, I changed the component instead of pivotgrid from devextreme, I used, the following:
$(this.container).dxTreeList({
rootValue: -1,
keyExpr: “ID”,
parentIdExpr: “Head_ID”,
columns: [{
dataField: “Title”,
caption: “Position”
}, “Full_Name”, “City”, “State”, “Mobile_Phone”, {
dataField: “Hire_Date”,
dataType: “date”
}],
expandedRowKeys: [1],
showRowLines: true,
showBorders: true,
columnAutoWidth: true
});
But upon close of the widget script editor, there is an error about not a function.x.x.x, please see attached project for more details.
Thanks.
Hi Glenn,
here are my 3 package definitions for InitializeComponent (you can remove packages4,5 and 6):
package1.Name = “jquery.js”;
package1.Source = “https://code.jquery.com/jquery-3.1.0.min.js”;
package2.Name = “jszip.js”;
package2.Source = “https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js”;
package3.Name = “dxall.js”;
package3.Source = “https://cdn3.devexpress.com/jslib/19.2.7/js/dx.all.js”;
Hope that helps.
Best regards,
Frank
I have tested it and modified the link to use the latest dx.all.js, it’s the same, the error says “$(…).dxTreeList is not a function”.
Hi Glenn,
the sample uses an old version of DevExtreme (16.2.6) that does not seem to include the dxTreeList.
Try upgrading the package to
https://cdn3.devexpress.com/jslib/19.2.7/js/dx.all.js
See here: https://js.devexpress.com/Documentation/Guide/Getting_Started/Installation/CDN_Services/
Best regards
Frank
Please login first to submit.