mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
corrected file and folder name
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// Type definitions for jQuery jqgrid Plugin 1.3
|
||||
// Definitions by: Lokesh Peta <https://github.com/lokeshpeta/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
///<reference path="../jquery/jquery.d.ts" />
|
||||
/// <reference path="jqgrid.d.ts" />
|
||||
Vendored
+64
@@ -0,0 +1,64 @@
|
||||
// Type definitions for jQuery jqgrid Plugin 1.3
|
||||
// Project: https://github.com/tonytomov/jqGrid
|
||||
// Definitions by: Lokesh Peta <https://github.com/lokeshpeta/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
///<reference path="../jquery/jquery.d.ts" />
|
||||
interface JQueryJqGridColumn {
|
||||
name: string;
|
||||
index: string;
|
||||
hidden?: boolean;
|
||||
sortable?: boolean;
|
||||
search?: boolean;
|
||||
width?: number;
|
||||
formatter?: (cellvalue: any, options: any, rowObject: any) => any;
|
||||
}
|
||||
|
||||
interface IJqGridJsonReader {
|
||||
repeatitems: boolean;
|
||||
root(obj: any): any;
|
||||
page(obj: any): any;
|
||||
total(obj: any): number;
|
||||
records(obj: {data: any[]}): number;
|
||||
}
|
||||
|
||||
interface JQueryJqGridOptions {
|
||||
datatype?: string;
|
||||
mtype?: string;
|
||||
autoencode?: boolean;
|
||||
pager?: string;
|
||||
rowNum?: number;
|
||||
rowList?: number[];
|
||||
colNames?: string[];
|
||||
colModel?: JQueryJqGridColumn[];
|
||||
sortname?: string;
|
||||
sortorder?: string;
|
||||
multiselect?: boolean;
|
||||
multiboxonly?: boolean;
|
||||
forceFit?: boolean;
|
||||
height?: number;
|
||||
width?: number;
|
||||
shrinkToFit?: boolean;
|
||||
url?: string;
|
||||
jsonReader?: IJqGridJsonReader;
|
||||
gridComplete?:()=>void;
|
||||
}
|
||||
|
||||
interface JQueryJqGridStatic {
|
||||
(): JQuery;
|
||||
(gridName: string): any;
|
||||
(gridName: string, propName: string): any;
|
||||
(gridName: string, obj: any): any;
|
||||
(gridName: string, id: any, colname: any): any;
|
||||
(options: JQueryJqGridOptions): JQuery;
|
||||
}
|
||||
|
||||
interface JQueryStatic {
|
||||
jqGrid?: JQueryJqGridStatic;
|
||||
}
|
||||
|
||||
interface JQuery {
|
||||
jqGrid?: JQueryJqGridStatic;
|
||||
|
||||
setGridParam(obj: any): void;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
--noImplicitAny --module commonjs --target es5
|
||||
Reference in New Issue
Block a user