1.3.3 • Published 8 months ago

@types/datatables.net-rowreorder v1.3.3

Weekly downloads
1,394
License
MIT
Repository
-
Last release
8 months 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.3

8 months ago

1.3.2

8 months ago

1.3.1

8 months ago

1.3.0

1 year ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

4 years ago

1.1.2

6 years ago

1.1.1

8 years ago

1.1.0

8 years ago