From 7f129d9a5110fe0bf9764dd52199198cb56f2b1f Mon Sep 17 00:00:00 2001 From: Akinzekeel Date: Mon, 3 Oct 2016 20:35:33 +0200 Subject: [PATCH] Updated the RowMethods interface (#11665) * 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 --- jquery.dataTables/jquery.dataTables.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jquery.dataTables/jquery.dataTables.d.ts b/jquery.dataTables/jquery.dataTables.d.ts index 70c72b8570201c..ec12dd985d0bd3 100644 --- a/jquery.dataTables/jquery.dataTables.d.ts +++ b/jquery.dataTables/jquery.dataTables.d.ts @@ -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.