1.3.0 • Published 1 month ago
@types/datatables.net-rowreorder v1.3.0
Installation
npm install --save @types/datatables.net-rowreorder
Summary
This package contains type definitions for JQuery DataTables RowReorder extension (http://datatables.net/extensions/rowreorder/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/datatables.net-rowreorder.
index.d.ts
// Type definitions for JQuery DataTables RowReorder extension 1.1
// Project: http://datatables.net/extensions/rowreorder/, https://datatables.net
// Definitions by: Vincent Biret <https://github.com/baywet>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
/// <reference types="jquery" />
/// <reference types="datatables.net"/>
declare namespace DataTables {
interface Settings {
/**
* Enable and configure the RowReorder extension for DataTables
*/
rowReorder?: RowReorderSettings | undefined;
}
interface RowReorderSettings {
/**
* Configure the data point that will be used for the reordering data
*/
dataSrc?: string | undefined;
/**
* Attach an Editor instance for database updating
*/
editor?: any;
/**
* Enable / disable RowReorder's user interaction
*/
enable?: boolean | undefined;
/**
* Set the options for the Editor form when submitting data
*/
formOptions?: any;
/**
* Define the selector used to pick the elements that will start a drag
*/
selector?: string | undefined;
/**
* Horizontal position control of the row being dragged
*/
snapX?: number | boolean | undefined;
/**
* Control automatic of data when a row is dropped
*/
update?: boolean | undefined;
}
}
Additional Details
- Last updated: Thu, 08 Jul 2021 09:08:34 GMT
- Dependencies: @types/jquery, @types/datatables.net
- Global values: none
Credits
These definitions were written by Vincent Biret.