fixed-data-table-2
Advanced tools
Comparing version 0.8.10 to 0.8.11
@@ -392,2 +392,7 @@ 'use strict'; | ||
/** | ||
* Callback that is called when a contextual-menu event happens on a row. | ||
*/ | ||
onRowContextMenu: _propTypes2.default.func, | ||
/** | ||
* Callback that is called when a mouse-down event happens on a row. | ||
@@ -816,2 +821,3 @@ */ | ||
onRowDoubleClick: state.onRowDoubleClick, | ||
onRowContextMenu: state.onRowContextMenu, | ||
onRowMouseDown: state.onRowMouseDown, | ||
@@ -818,0 +824,0 @@ onRowMouseUp: state.onRowMouseUp, |
@@ -64,2 +64,3 @@ 'use strict'; | ||
onRowDoubleClick: _propTypes2.default.func, | ||
onRowContextMenu: _propTypes2.default.func, | ||
onRowMouseDown: _propTypes2.default.func, | ||
@@ -173,2 +174,3 @@ onRowMouseUp: _propTypes2.default.func, | ||
onDoubleClick: props.onRowDoubleClick, | ||
onContextMenu: props.onRowContextMenu, | ||
onMouseDown: props.onRowMouseDown, | ||
@@ -175,0 +177,0 @@ onMouseUp: props.onRowMouseUp, |
@@ -39,3 +39,3 @@ /** | ||
FixedDataTableRoot.version = '0.8.10'; | ||
FixedDataTableRoot.version = '0.8.11'; | ||
module.exports = FixedDataTableRoot; |
@@ -133,2 +133,4 @@ /** | ||
_this.props.onDoubleClick(event, _this.props.index); | ||
}, _this._onContextMenu = function ( /*object*/event) { | ||
_this.props.onContextMenu(event, _this.props.index); | ||
}, _this._onMouseUp = function ( /*object*/event) { | ||
@@ -275,2 +277,3 @@ _this.props.onMouseUp(event, _this.props.index); | ||
onDoubleClick: this.props.onDoubleClick ? this._onDoubleClick : null, | ||
onContextMenu: this.props.onContextMenu ? this._onContextMenu : null, | ||
onMouseDown: this.props.onMouseDown ? this._onMouseDown : null, | ||
@@ -375,2 +378,7 @@ onMouseUp: this.props.onMouseUp ? this._onMouseUp : null, | ||
/** | ||
* Fire when a contextual-menu is requested above a row. | ||
*/ | ||
onContextMenu: _propTypes2.default.func, | ||
/** | ||
* Callback for when resizer knob (in FixedDataTableCell) is clicked | ||
@@ -377,0 +385,0 @@ * to initialize resizing. Please note this is only on the cells |
{ | ||
"name": "fixed-data-table-2", | ||
"version": "0.8.10", | ||
"version": "0.8.11", | ||
"description": "A React table component designed to allow presenting thousands of rows of data.", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6873574
43116