jQWidgets Forums

jQuery UI Widgets Forums Angular issue with dataTableComponent

This topic contains 2 replies, has 2 voices, and was last updated by  alexkor 6 years, 4 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • issue with dataTableComponent #104228

    alexkor
    Participant

    i did the same example as here
    https://stackblitz.com/github/jqwidgets/angular_demos/tree/master/datatable/defaultfunctionality/?file=src%2Fapp%2Fapp.module.ts
    but im getting this error

    ERROR in ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxdatatable.ts
    Module build failed: Error: C:\Projects\vhq-care\node_modules\jqwidgets-scripts\jqwidgets-ts\angular_jqxdatatable.ts is
    missing from the TypeScript compilation. Please make sure it is in your tsconfig via the ‘files’ or ‘include’ property.
    The missing file seems to be part of a third party library. TS files in published libraries are often a sign of a badly
    packaged library. Please open an issue in the library repository to alert its author and ask them to package the library using the Angular Package Format (https://goo.gl/jB3GVv).
    at AngularCompilerPlugin.getCompiledFile (C:\Projects\vhq-care\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:709:23)
    at plugin.done.then (C:\Projects\vhq-care\node_modules\@ngtools\webpack\src\loader.js:41:31)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    i 「wdm」: Failed to compile.

    issue with dataTableComponent #104237

    Martin
    Participant

    Hello alexkor,

    Again, follow our tutorial about Angular CLI & jqwidgets-ng and just change the content of app.component.ts and app.component.html files with this from the demo.
    Please, note that the import in app.module.ts should be import { jqxDataTableModule } from 'jqwidgets-scripts/jqwidgets-ng/jqxdatatable';

    I have just tested it and it is working fine.

    Best Regards,
    Martin

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

    issue with dataTableComponent #104243

    alexkor
    Participant

    thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.