diff --git a/CHANGELOG.md b/CHANGELOG.md index 181b4ccc4..088014c3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - [#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 - [#728](https://github.com/plotly/dash-table/pull/728) Fix copy/paste on readonly cells +- [#724](https://github.com/plotly/dash-table/pull/724) Fix `active_cell` docstring: clarify optional nature of the `row_id` nested prop ## [4.6.2] - 2020-04-01 ### Changed diff --git a/src/dash-table/dash/DataTable.js b/src/dash-table/dash/DataTable.js index 6c53e4685..f347cb98d 100644 --- a/src/dash-table/dash/DataTable.js +++ b/src/dash-table/dash/DataTable.js @@ -110,7 +110,8 @@ export const defaultProps = { export const propTypes = { /** - * The row and column indices and IDs of the currently active cell. + * The row and column indices and IDs of the currently active cell. + * `row_id` is only returned if the data rows have an `id` key. */ active_cell: PropTypes.exact({ row: PropTypes.number, @@ -1299,4 +1300,4 @@ DataTable.persistenceTransforms = { }; DataTable.defaultProps = defaultProps; -DataTable.propTypes = propTypes; \ No newline at end of file +DataTable.propTypes = propTypes;