Integration Issue

Answered
1
0

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.

Attachment
  • adrean chong
    Hi Glenn, Could you please upload your file that could working with showing the data no errors to me Please, because I’m also facing the problem of integration with the dxtreelist, could you please let me review on your final version code. Thanks for sharing, hope to hear you soon. Regards, Adrean Chong
  • You must to post comments
Best Answer
0
0

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

  • You must to post comments
0
0

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”.

  • You must to post comments
0
0

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

  • Glenn Gonzales
    After upgrade of dx.all.js, it displays, “$(…).dxTreeList is not a function”.
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.