Skip to content

Commit

Permalink
Making suggested changes with props
Browse files Browse the repository at this point in the history
  • Loading branch information
BSd3v committed Jan 24, 2023
1 parent b31f59e commit f20f974
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/lib/components/AgGrid.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ DashAgGrid.propTypes = {
}),

/**
* Size the columns automatically or to fit their contents
* Size the columns autoSizeAll changes the column sizes to fit the column's content,
* sizeToFit changes the column sizes to fit the width of the table
* and null bypasses the altering of the column widths
*/
columnSize: PropTypes.oneOf(['sizeToFit', 'autoSizeAll', null]),

Expand Down Expand Up @@ -361,7 +363,7 @@ DashAgGrid.propTypes = {
/**
* Data retreived from the server
*/
rowData: PropTypes.arrayOf(PropTypes.any),
rowData: PropTypes.arrayOf(PropTypes.object),

/**
* Current row count, if known
Expand Down

0 comments on commit f20f974

Please sign in to comment.