Skip to content

Commit

Permalink
Add some properties and callback errorTextFormat to FormDeletingOptio…
Browse files Browse the repository at this point in the history
…ns of free-jqgrid.d.ts

Thanks @askrinnik (https://github.com/askrinnik) for reporting the problem. See [the issue #416](#416) for reporting the problem.
  • Loading branch information
OlegKi committed Jan 25, 2018
1 parent c8a1a6c commit abe4ffc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dist/ts/free-jqgrid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,19 +880,24 @@ declare namespace FreeJqGrid {
deltext?: string; // default from $.jgrid.locales[currentLocale].defaults.deltext or $.jgrid.defaults.deltext or "Deleting..."
delui?: LoadType; // "disable"
drag?: boolean;
errorTextFormat?: (this: BodyTable, jqXhr: JQueryXHR) => string;
height?: number | "auto" | "100%" | string; // "auto"
jqModal?: boolean;
idSeparator?: string; // ","
left?: number;
modal?: boolean;
mtype?: string; // "POST"
onclickSubmit?: (this: BodyTable, options: FormDeletingOptions, postdata: Object | string, rowids: string[]) => Object | string;
onClose?: (this: BodyTable, selector: string | Element | JQuery) => boolean;
overlay?: number;
processing?: boolean; // internal used
reloadAfterSubmit?: boolean;
reloadGridOptions?: ReloadGridOptions;
removemodal?: boolean;
resize?: boolean;
serializeDelData?: (this: BodyTable, postdata: Object | string, rowids: string[]) => Object | string;
top?: number;
toTop?: boolean;
url?: string | ((this: BodyTable, rowid: string, postdata: Object | string, options: FormDeletingOptions, rowids: string[]) => string);
useDataProxy?: boolean;
width?: number | "auto" | "100%" | string; // "auto"
Expand Down
5 changes: 5 additions & 0 deletions ts/free-jqgrid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -880,19 +880,24 @@ declare namespace FreeJqGrid {
deltext?: string; // default from $.jgrid.locales[currentLocale].defaults.deltext or $.jgrid.defaults.deltext or "Deleting..."
delui?: LoadType; // "disable"
drag?: boolean;
errorTextFormat?: (this: BodyTable, jqXhr: JQueryXHR) => string;
height?: number | "auto" | "100%" | string; // "auto"
jqModal?: boolean;
idSeparator?: string; // ","
left?: number;
modal?: boolean;
mtype?: string; // "POST"
onclickSubmit?: (this: BodyTable, options: FormDeletingOptions, postdata: Object | string, rowids: string[]) => Object | string;
onClose?: (this: BodyTable, selector: string | Element | JQuery) => boolean;
overlay?: number;
processing?: boolean; // internal used
reloadAfterSubmit?: boolean;
reloadGridOptions?: ReloadGridOptions;
removemodal?: boolean;
resize?: boolean;
serializeDelData?: (this: BodyTable, postdata: Object | string, rowids: string[]) => Object | string;
top?: number;
toTop?: boolean;
url?: string | ((this: BodyTable, rowid: string, postdata: Object | string, options: FormDeletingOptions, rowids: string[]) => string);
useDataProxy?: boolean;
width?: number | "auto" | "100%" | string; // "auto"
Expand Down

0 comments on commit abe4ffc

Please sign in to comment.