forked from CITKParus/P8-Panels
WEB APP: P8PTable - исправлена ошибка переопределения пользовательского стиля ячейки
This commit is contained in:
parent
320521a054
commit
79f96c2224
@ -747,9 +747,9 @@ const P8PTable = ({
|
||||
key={`head-cell-${j}`}
|
||||
align={getAlignByDataType(columnDef)}
|
||||
sx={{
|
||||
...customRender.cellStyle,
|
||||
...(columnDef.width ? { minWidth: columnDef.width, maxWidth: columnDef.width } : {}),
|
||||
...(columnDef.fixed ? STYLES.TABLE_HEAD_CELL_STICKY(theme, columnDef.fixedLeft) : {})
|
||||
...(columnDef.fixed ? STYLES.TABLE_HEAD_CELL_STICKY(theme, columnDef.fixedLeft) : {}),
|
||||
...customRender.cellStyle
|
||||
}}
|
||||
rowSpan={columnDef.rowSpan}
|
||||
colSpan={columnDef.colSpan}
|
||||
@ -826,11 +826,11 @@ const P8PTable = ({
|
||||
key={`data-cell-${j}`}
|
||||
align={getAlignByDataType(columnDef)}
|
||||
sx={{
|
||||
...customRender.cellStyle,
|
||||
...(columnDef.width
|
||||
? { minWidth: columnDef.width, maxWidth: columnDef.width }
|
||||
: {}),
|
||||
...(columnDef.fixed ? STYLES.TABLE_CELL_STICKY(theme, columnDef.fixedLeft) : {})
|
||||
...(columnDef.fixed ? STYLES.TABLE_CELL_STICKY(theme, columnDef.fixedLeft) : {}),
|
||||
...customRender.cellStyle
|
||||
}}
|
||||
{...customRender.cellProps}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user