File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
packages/ra-ui-materialui/src/list/datatable Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -239,6 +239,9 @@ export const SX = () => (
239239 '& .RaDataTable-rowOdd' : {
240240 backgroundColor : '#fee' ,
241241 } ,
242+ '& .RaDataTable-rowCell' : {
243+ color : 'red' ,
244+ } ,
242245 } }
243246 >
244247 < DataTable . Col source = "id" />
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import get from 'lodash/get';
66import clsx from 'clsx' ;
77
88import { DataTableColumnProps } from './DataTableColumn' ;
9+ import { DataTableClasses } from './DataTableRoot' ;
910
1011const PREFIX = 'RaDataTableCell' ;
1112
@@ -55,6 +56,7 @@ export const DataTableCell = React.memo(
5556 < TableCellStyled
5657 ref = { ref }
5758 className = { clsx (
59+ DataTableClasses . rowCell ,
5860 className ,
5961 cellClassName ,
6062 `column-${ source } `
You can’t perform that action at this time.
0 commit comments