jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Angular2 Grid
Tagged: grid, javascript grid, jquery grid, jqwidgets grid
This topic contains 7 replies, has 2 voices, and was last updated by Peter Stoev 8 years, 5 months ago.
-
AuthorAngular2 Grid Posts
-
Why I have to use jquery my angular2 project.(“$.jqx.dataAdapter”)
I think. It is not true. Because I should not use nested 2 javascript framework.Do you have dataAdapter for Angular2?
We do not use jQuery in our Angular 2 examples. $ is a keyboard character referencing a global namespace which as far as I know does not mean only jQuery and in general is used in other Javascript frameworks, too. Polymer is such example.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comThanks but look this page http://www.jqwidgets.com/jquery-widgets-documentation/documentation/angular2/angular2-webpack.htm?search=
Index.html have <script src=”jquery.js”></script>.And I try to delete jquery. The system is not working. Error is “Uncaught TypeError: Cannot read property ‘ajax’ of undefined”.
Hi 10numara,
You do not use the current version of jQWidgets.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.comIt is “jqwidgets-framework”: “4.4.0”
May be angular do not use like this source.
http://www.jqwidgets.com/angular/angular-grid/index.htm#http://www.jqwidgets.com/angular/angular-grid/angular-grid-grouping.htmsource: any =
{
datatype: “xml”,
datafields: [
{ name: ‘CompanyName’, map: ‘m\\:properties>d\\:CompanyName’, type: ‘string’ },
{ name: ‘ContactName’, map: ‘m\\:properties>d\\:ContactName’, type: ‘string’ },
{ name: ‘ContactTitle’, map: ‘m\\:properties>d\\:ContactTitle’, type: ‘string’ },
{ name: ‘City’, map: ‘m\\:properties>d\\:City’, type: ‘string’ },
{ name: ‘PostalCode’, map: ‘m\\:properties>d\\:PostalCode’, type: ‘string’ },
{ name: ‘Country’, map: ‘m\\:properties>d\\:Country’, type: ‘string’ }
],
root: “entry”,
record: “content”,
id: ‘m\\:properties>d\\:CustomerID’,
url: “../sampledata/customers.xml”
};
dataAdapter: any = new $.jqx.dataAdapter(this.source);The current version is not 4.4.0. It is 4.5.0 and does not require jQuery.
npm ERR! notarget No compatible version found: jqwidgets-framework@4.5.0
npm ERR! notarget Valid install targets:
npm ERR! notarget 4.4.0, 4.3.0, 4.2.1, 4.1.2, 4.1.1, 4.1.0, 4.0.0, 3.9.1, 3.9.0, 3.8.2, 3.8.1, 3.8.0, 3.7.1, 3.7.0, 3.6.0
npm ERR! notargetDownload link is: http://www.jqwidgets.com/download/
-
AuthorPosts
You must be logged in to reply to this topic.