We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Property 'views' does not exist on type 'JQueryStatic<HTMLElement>'

Thread ID:

Created:

Updated:

Platform:

Replies:

145963 Oct 30,2017 07:48 PM UTC Jul 16,2019 12:07 PM UTC Angular 3
loading
Tags: ejGrid
Flavio
Asked On October 30, 2017 07:54 PM UTC

What is wrong?
JQuery is installed and configured
"types": [
"jquery",
"ej.web.all"
]

Polyfills.ts

import * as jquery from 'jquery';
window['jQuery'] = jquery;
window['$'] = jquery;

Error:
Property 'views' does not exist on type 'JQueryStatic'


Karthigeyan Krishnamurthi [Syncfusion]
Replied On November 1, 2017 09:05 AM UTC

Hi Flavio,  
 
Thank you for contacting Syncfusion support. 
 
We have created an incident for your query and we request you to have a follow up with the below incident link for further update on this. 
 
Regards, 
Karthigeyan 


PM Developers
Replied On July 15, 2019 11:07 AM UTC

Any update, how this error can be fixed? I am getting this error while working with TypeScript and Syncfusion Grid. This is my line of code

$.views.helpers({
_GroupName: this.getGroupName
});

Regards,
Jamil

Manivannan Padmanaban [Syncfusion]
Replied On July 16, 2019 12:07 PM UTC

Hi Jamal, 

Greetings from Syncfusion Support. 

Query: Any update, how this error can be fixed? I am getting this error while working with TypeScript and Syncfusion Grid. 
 
The above reported issue will occur when jsrender is not installed. Kindly install the jsrender like jquery and ej.web.all files to overcome the issue and run the below commands to install the jsRender.  

<Code>  
<!--run the below command lines-->  
    npm install --save-dev @types/jquery  
    npm install --save-dev @types/jsrender  
    npm install --save-dev @types/ej.web.all  
 
 
Still facing the issue, please get back to us with complete code example. 
 
Regards, 
Manivannan Padmanaban. 





CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon