diff --git a/docs/pages/api-docs/data-grid.md b/docs/pages/api-docs/data-grid.md index 0e5afe153bd76..fb44ff5f9afc5 100644 --- a/docs/pages/api-docs/data-grid.md +++ b/docs/pages/api-docs/data-grid.md @@ -44,6 +44,8 @@ import { DataGrid } from '@material-ui/data-grid'; | disableSelectionOnClick | boolean | false | If `true`, the selection on click on a row or cell is disabled. | | logger | Logger | null | Pass a custom logger in the components that implements the 'Logger' interface. | | logLevel | string | false | false | Allows to pass the logging level or false to turn off logging. | +| showToolbar | boolean | false | If `true`, the default toolbar component is shown. | +| density | Density | standard | Sets the density of the grid. | | sortModel | SortModel | | Set the sort model of the grid. | | onCellClick | (param: CellParams) => void | | Callback fired when a click event comes from a cell element. | | onCellHover | (param: CellParams) => void | | Callback fired when a hover event comes from a cell element. | diff --git a/docs/pages/api-docs/x-grid.md b/docs/pages/api-docs/x-grid.md index 6d690b22845eb..624b13c1a6a06 100644 --- a/docs/pages/api-docs/x-grid.md +++ b/docs/pages/api-docs/x-grid.md @@ -50,6 +50,8 @@ import { XGrid } from '@material-ui/x-grid'; | logger | Logger | null | Pass a custom logger in the components that implements the 'Logger' interface. | | logLevel | string | false | false | Allows to pass the logging level or false to turn off logging. | | sortModel | SortModel | | Set the sort model of the grid. | +| showToolbar | boolean | false | If `true`, the default toolbar component is shown. | +| density | Density | standard | Sets the density of the grid. | | onCellClick | (param: CellParams) => void | | Callback fired when a click event comes from a cell element. | | onCellHover | (param: CellParams) => void | | Callback fired when a hover event comes from a cell element. | | onRowClick | (param: RowParams) => void | | Callback fired when a click event comes from a row container element. |