jQWidgets Forums
Forum Replies Created
Viewing 4 posts - 1 through 4 (of 4 total)
-
Author
-
July 12, 2018 at 4:59 pm in reply to: Visual Studio 2017 and Angular Template Visual Studio 2017 and Angular Template #100984
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.
June 26, 2018 at 7:06 pm in reply to: Visual Studio 2017 and Angular Template Visual Studio 2017 and Angular Template #100735Martin
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?
June 1, 2018 at 2:07 pm in reply to: create-jqwidgets-angular-app problem create-jqwidgets-angular-app problem #100436Thanks, that fixed it.
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;
-
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)