Skip to content

Commit 8dd5c9c

Browse files
committed
Issue 651 - Clarify optional nature of row_id in active_cell (plotly#724)
1 parent 662835b commit 8dd5c9c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

packages/dash-table/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
66
### Fixed
77
- [#722](https://github.com/plotly/dash-table/pull/722) Fix a bug where row height is misaligned when using fixed_columns and/or fixed_rows
88
- [#728](https://github.com/plotly/dash-table/pull/728) Fix copy/paste on readonly cells
9+
- [#724](https://github.com/plotly/dash-table/pull/724) Fix `active_cell` docstring: clarify optional nature of the `row_id` nested prop
910

1011
## [4.6.2] - 2020-04-01
1112
### Changed

packages/dash-table/src/dash-table/dash/DataTable.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ export const defaultProps = {
110110

111111
export const propTypes = {
112112
/**
113-
* The row and column indices and IDs of the currently active cell.
113+
* The row and column indices and IDs of the currently active cell.
114+
* `row_id` is only returned if the data rows have an `id` key.
114115
*/
115116
active_cell: PropTypes.exact({
116117
row: PropTypes.number,
@@ -1299,4 +1300,4 @@ DataTable.persistenceTransforms = {
12991300
};
13001301

13011302
DataTable.defaultProps = defaultProps;
1302-
DataTable.propTypes = propTypes;
1303+
DataTable.propTypes = propTypes;

0 commit comments

Comments
 (0)