jQWidgets Forums

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts

  • mjcee
    Participant

    I resolved this problem by creating the angular app using the procedures shown in

    http://www.talkingdotnet.com/implement-asp-net-core-spa-template-feature-in-angular6-app/

    This creates the app using the Angular CLI. You can then use the steps shown in the jqwidgets documentation for Angular/Angular CLI to add components to the application.


    mjcee
    Participant

    Martin

    Your suggested a nswers don’t seem to address my specifc problem. I have added jqwidets-scripts to the node modules directory and added

    import { jqxGridComponent } from ‘jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid’;

    to the app.browser.module.ts file and I get the following error

    
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:184:18 
        TS7017: Element implicitly has an 'any' type because type '{}' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:187:17 
        TS7017: Element implicitly has an 'any' type because type '{}' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:188:17 
        TS7017: Element implicitly has an 'any' type because type '{}' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:221:17 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:222:27 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:223:23 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:224:50 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:230:57 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:234:20 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:235:57 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:261:14 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:262:13 
        TS7017: Element implicitly has an 'any' type because type '{}' has no index signature.
    ERROR in [at-loader] ./node_modules/jqwidgets-scripts/jqwidgets-ts/angular_jqxgrid.ts:262:43 
        TS7017: Element implicitly has an 'any' type because type 'jqxGridComponent' has no index signature.

    What am I missing?


    mjcee
    Participant

    Thanks, that fixed it.

    in reply to: Read Only for JqxInput Read Only for JqxInput #99773

    mjcee
    Participant

    Sorry, I missed the close tag. The code should be:

    
    import React, { Component } from 'react';
    
    import JqxInput from './assets/jqwidgets-react/react_jqxinput';
    
    class App extends Component {
        render() {
            return (
                <JqxInput width= {100} height= {25} readonly  />
            );
        }
    }
    
    export default App;
    
Viewing 4 posts - 1 through 4 (of 4 total)