The problem is that the jQuery grid is a plugin. It looks like you have a definition file for the JQuery library, but not for the JQuery Grid plugin. I checked https://github.com/borisyankov/DefinitelyTyped and there seems to be no type definition for this particular plugin. There are a few things you could do.
- You can assign jQuery a variable of type "any":
var localJq: any = jQuery (this); localJq.jqGrid ('editGridRow', rowid, {...});
This will deceive the compiler and allow you to access properties in var that are not defined in the definition file.
- You can create a definition file that will add jqGrid properties to jquery. This definition file must be specified in any typescript files where you use jqGrid. Here is an example definition file for a simple jQuery plugin. As you can see, itβs easy to extend the jQuery definition with additional properties.
source share