jQuery UI Widgets Forums Angular Angular 2 Final version (Not Beta)

This topic contains 25 replies, has 8 voices, and was last updated by  Ivo Zhulev 6 years, 3 months ago.

Viewing 11 posts - 16 through 26 (of 26 total)
  • Author
  • Angular 2 Final version (Not Beta) #88406

    Htet Wai Yan Lin
    Participant

    Hi all,

    where I place jqwidgets folder in angular 2 project.

    node modules folder?

    someone please help me!

    Angular 2 Final version (Not Beta) #88410

    Htet Wai Yan Lin
    Participant

    Hi Team,

    please show me how to add <script> in “systemjs.config.js” in angular 2 typescript.

    Angular 2 Final version (Not Beta) #88413

    Ivo Zhulev
    Participant

    Hi Htet Wai Yan Lin,

    1) Where to place the jqwidgets folder:
    You can place it wherever you want. Just specify the path in systemjs.config.js(in the map and package objects).

    2) Adding script:
    What do you mean by adding <script>? Whats your goal?

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular 2 Final version (Not Beta) #88423

    Htet Wai Yan Lin
    Participant

    Hi dear team,

    Please help me.

    I found some problems.
    [ts] Cannot find module ‘components/angular_jqxdatetimeinput’.

    I import app.module.ts

    import { jqxDateTimeInputComponent } from ‘components/angular_jqxdatetimeinput’;

    this is my systemjs.config.js….

    map: {
    // our app is within the app folder
    app: ‘app’,
    // angular bundles
    ‘@angular/core’: ‘npm:@angular/core/bundles/core.umd.js’,
    ‘@angular/common’: ‘npm:@angular/common/bundles/common.umd.js’,
    ‘@angular/compiler’: ‘npm:@angular/compiler/bundles/compiler.umd.js’,
    ‘@angular/platform-browser’: ‘npm:@angular/platform-browser/bundles/platform-browser.umd.js’,
    ‘@angular/platform-browser-dynamic’: ‘npm:@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js’,
    ‘@angular/http’: ‘npm:@angular/http/bundles/http.umd.js’,
    ‘@angular/router’: ‘npm:@angular/router/bundles/router.umd.js’,
    ‘@angular/forms’: ‘npm:@angular/forms/bundles/forms.umd.js’,
    // other libraries
    ‘rxjs’: ‘npm:rxjs’,
    ‘angular-in-memory-web-api’: ‘npm:angular-in-memory-web-api’,
    ‘components’: ‘app/jqwidgets-ver4.3.0/jqwidgets-ts’,

    },

    packages: {
    ‘app/jqwidgets-ver4.3.0/jqwidgets-ts/’: { defaultExtension: ‘ts’ },
    app: { main: ‘./main.js’, defaultExtension: ‘js’},
    rxjs: { defaultExtension: ‘js’ },
    ‘angular-in-memory-web-api’: { main: ‘./index.js’, defaultExtension: ‘js’ },
    }

    Angular 2 Final version (Not Beta) #88456

    Ivo Zhulev
    Participant

    Hi Htet Wai Yan Lin,

    You do not have that path mapped – components. Look again our system.config.js file and map your path right or just place an absolute path.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular 2 Final version (Not Beta) #88460

    Htet Wai Yan Lin
    Participant

    Hi Lvo Zhulev,

    I already placed the path “‘components’: ‘app/jqwidgets-ver4.3.0/jqwidgets-ts’,”

    I seen your system.config.js as ‘components’: ‘../../jqwidgets-ts’

    but I placed jqwidget folder in app folder.
    eg. root–> app –> jqwidgets-ver4.3.0

    Now i don’t know how to do.
    please show me!

    Thank!

    Angular 2 Final version (Not Beta) #88489

    Ivo Zhulev
    Participant

    Hi Htet Wai Yan Lin,

    With the folder structure you have this should work.
    My advice is to place lets say angular_jqxdatetimeinput.ts file in the app folder and test it that way.
    If it works then place it in jqwidgets then in jqwidgets-ts and so on.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular 2 Final version (Not Beta) #88497

    Htet Wai Yan Lin
    Participant

    Hi Lvo Zhulev,

    I found some errors.

    (jqxCalendarComponnt) incorrectly implements interface ‘ControlValueAccessor’ error
    Module ‘”node_modules/@angular/http/index”‘ has no exported member ‘noop’.

    How should I do?
    Thanks.

    Angular 2 Final version (Not Beta) #88498

    Ivo Zhulev
    Participant

    Hi Htet Wai Yan Lin,

    We know about this. It will be fixed in the next release, which will be very soon.

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    Angular 2 Final version (Not Beta) #88595

    junior
    Participant

    please help

    dear sir,
    can you show how to use angular_jqxdataAdapter, JSON source of data , dataBind() and getRecordsHierarchy?

    please help

    Angular 2 Final version (Not Beta) #88622

    Ivo Zhulev
    Participant

    Hi junior,

    Please use the jquery based jqxDataAdapter:
    http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxdataadapter/index.htm#demos/jqxdataadapter/defaultfunctionality.htm

    Best Regards,
    Ivo

    jQWidgets Team
    http://www.jqwidgets.com/

    • This reply was modified 6 years, 3 months ago by  Ivo Zhulev.
Viewing 11 posts - 16 through 26 (of 26 total)

You must be logged in to reply to this topic.