Skip to content

Commit

Permalink
Issue 651 - Clarify optional nature of row_id in active_cell (plotly#724
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Rothenhouser committed Apr 15, 2020
1 parent 662835b commit 8dd5c9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/dash-table/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions packages/dash-table/src/dash-table/dash/DataTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -1299,4 +1300,4 @@ DataTable.persistenceTransforms = {
};

DataTable.defaultProps = defaultProps;
DataTable.propTypes = propTypes;
DataTable.propTypes = propTypes;

0 comments on commit 8dd5c9c

Please sign in to comment.