Skip to content

Commit

Permalink
Updated the RowMethods interface (DefinitelyTyped#11665)
Browse files Browse the repository at this point in the history
* Updated the RowMethods interface

This Interface was missing the Definition of the id() method.

Link to official documentation: https://datatables.net/reference/api/row().id()

* Changed indentation from tabs to spaces
  • Loading branch information
Akinzekeel authored and mhegazy committed Oct 3, 2016
1 parent ea667e0 commit 7f129d9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jquery.dataTables/jquery.dataTables.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -902,6 +902,13 @@ declare namespace DataTables {
* @param d Data to use for the row.
*/
data(d: any[] | Object): DataTable;

/**
* Get the id of the selected row.
*
* @param hash Set to true to append a hash (#) to the start of the row id.
*/
id(hash?: boolean): string;

/**
* Get the row index of the row column.
Expand Down

0 comments on commit 7f129d9

Please sign in to comment.