@types/react-data-grid
Advanced tools
Comparing version 2.0.15 to 2.0.16
// Type definitions for react-data-grid 2.0 | ||
// Project: https://github.com/adazzle/react-data-grid.git | ||
// Definitions by: Simon Gellis <https://github.com/SupernaviX>, Kieran Peat <https://github.com/KieranPeat>, Martin Novak <https://github.com/martinnov92> | ||
// Definitions by: Simon Gellis <https://github.com/SupernaviX>, | ||
// Kieran Peat <https://github.com/KieranPeat>, | ||
// Martin Novak <https://github.com/martinnov92>, | ||
// Raghuram Iyer 'Ragzzy-R' <https://github.com/Ragzzy-R> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -233,3 +236,11 @@ // TypeScript Version: 2.8 | ||
*/ | ||
onRowClick?: (rowIdx : number, row : object) => void | ||
onRowClick?: (rowIdx: number, row: object) => void | ||
/** | ||
* An event function called when a row is clicked. | ||
* Clicking the header row will trigger a call with -1 for the rowIdx. | ||
* @param rowIdx zero index number of row clicked | ||
* @param row object behind the row | ||
*/ | ||
onRowDoubleClick?: (rowIdx : number, row : object) => void | ||
@@ -236,0 +247,0 @@ /** |
{ | ||
"name": "@types/react-data-grid", | ||
"version": "2.0.15", | ||
"version": "2.0.16", | ||
"description": "TypeScript definitions for react-data-grid", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
{ | ||
"name": "Kieran Peat", | ||
"name": "\n// Kieran Peat", | ||
"url": "https://github.com/KieranPeat", | ||
@@ -19,5 +19,10 @@ "githubUsername": "KieranPeat" | ||
{ | ||
"name": "Martin Novak", | ||
"name": "\n// Martin Novak", | ||
"url": "https://github.com/martinnov92", | ||
"githubUsername": "martinnov92" | ||
}, | ||
{ | ||
"name": "Raghuram Iyer 'Ragzzy-R'", | ||
"url": "https://github.com/Ragzzy-R", | ||
"githubUsername": "Ragzzy-R" | ||
} | ||
@@ -29,3 +34,4 @@ ], | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/react-data-grid" | ||
}, | ||
@@ -36,4 +42,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "781619b3826e3b6aa5b1af72695b4849a9884b3c9466b5c55536e3ebbedaf99f", | ||
"typesPublisherContentHash": "ca4cfd35e7164bdd1f612875e1e71894cf1b30b711b34bafda4d048727dfd6ef", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 13 Feb 2019 21:04:54 GMT | ||
* Last updated: Mon, 29 Apr 2019 08:33:10 GMT | ||
* Dependencies: @types/react | ||
@@ -17,2 +17,4 @@ * Global values: AdazzleReactDataGrid, AdazzleReactDataGridPlugins | ||
# Credits | ||
These definitions were written by Simon Gellis <https://github.com/SupernaviX>, Kieran Peat <https://github.com/KieranPeat>, Martin Novak <https://github.com/martinnov92>. | ||
These definitions were written by Simon Gellis <https://github.com/SupernaviX>, | ||
// Kieran Peat <https://github.com/KieranPeat>, | ||
// Martin Novak <https://github.com/martinnov92>, Raghuram Iyer 'Ragzzy-R' <https://github.com/Ragzzy-R>. |
24562
606
19