Skip to content

Commit

Permalink
Add missing props to DataGrid and XGrid api pages
Browse files Browse the repository at this point in the history
  • Loading branch information
DanailH committed Dec 11, 2020
1 parent d47222e commit 9acad27
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/pages/api-docs/data-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ import { DataGrid } from '@material-ui/data-grid';
| <span class="prop-name">disableSelectionOnClick</span> | <span class="prop-type">boolean</span> | false | If `true`, the selection on click on a row or cell is disabled. |
| <span class="prop-name">logger</span> | <span class="prop-type">Logger</span> | null | Pass a custom logger in the components that implements the 'Logger' interface. |
| <span class="prop-name">logLevel</span> | <span class="prop-type">string | false</span> | false | Allows to pass the logging level or false to turn off logging. |
| <span class="prop-name">showToolbar</span> | <span class="prop-type">boolean</span> | false | If `true`, the default toolbar component is shown. |
| <span class="prop-name">density</span> | <span class="prop-type">Density</span> | standard | Sets the density of the grid. |
| <span class="prop-name">sortModel</span> | <span class="prop-type">SortModel</span> | | Set the sort model of the grid. |
| <span class="prop-name">onCellClick</span> | <span class="prop-type">(param: CellParams) => void</span> | | Callback fired when a click event comes from a cell element. |
| <span class="prop-name">onCellHover</span> | <span class="prop-type">(param: CellParams) => void</span> | | Callback fired when a hover event comes from a cell element. |
Expand Down
2 changes: 2 additions & 0 deletions docs/pages/api-docs/x-grid.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ import { XGrid } from '@material-ui/x-grid';
| <span class="prop-name">logger</span> | <span class="prop-type">Logger</span> | null | Pass a custom logger in the components that implements the 'Logger' interface. |
| <span class="prop-name">logLevel</span> | <span class="prop-type">string | false</span> | false | Allows to pass the logging level or false to turn off logging. |
| <span class="prop-name">sortModel</span> | <span class="prop-type">SortModel</span> | | Set the sort model of the grid. |
| <span class="prop-name">showToolbar</span> | <span class="prop-type">boolean</span> | false | If `true`, the default toolbar component is shown. |
| <span class="prop-name">density</span> | <span class="prop-type">Density</span> | standard | Sets the density of the grid. |
| <span class="prop-name">onCellClick</span> | <span class="prop-type">(param: CellParams) => void</span> | | Callback fired when a click event comes from a cell element. |
| <span class="prop-name">onCellHover</span> | <span class="prop-type">(param: CellParams) => void</span> | | Callback fired when a hover event comes from a cell element. |
| <span class="prop-name">onRowClick</span> | <span class="prop-type">(param: RowParams) => void</span> | | Callback fired when a click event comes from a row container element. |
Expand Down

0 comments on commit 9acad27

Please sign in to comment.