1.3.0 • Published 1 month ago

@types/datatables.net-rowreorder v1.3.0

Weekly downloads
1,394
License
MIT
Repository
-
Last release
1 month ago

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

Credits

These definitions were written by Vincent Biret.

1.3.0

1 month ago

1.1.5

6 months ago

1.1.4

7 months ago

1.1.3

3 years ago

1.1.2

5 years ago

1.1.1

7 years ago

1.1.0

7 years ago