material-react-table-narender 2.13.32 → 2.13.34
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -161,6 +161,8 @@ export const MRT_TableBodyRow = <TData extends MRT_RowData>({
|
|
161
161
|
: `${darken(baseBackgroundColor, 0.3)}`
|
162
162
|
: undefined;
|
163
163
|
|
164
|
+
console.log('row.id', row);
|
165
|
+
|
164
166
|
return (
|
165
167
|
<>
|
166
168
|
<TableRow
|
@@ -229,6 +231,7 @@ export const MRT_TableBodyRow = <TData extends MRT_RowData>({
|
|
229
231
|
rowPinningDisplayMode?.includes('sticky') && isRowPinned ? 2 : 0,
|
230
232
|
...(sx as any),
|
231
233
|
})}
|
234
|
+
key={row.id}
|
232
235
|
>
|
233
236
|
{virtualPaddingLeft ? (
|
234
237
|
<td style={{ display: 'flex', width: virtualPaddingLeft }} />
|
@@ -322,10 +322,11 @@ export const MRT_ColumnActionMenu = <TData extends MRT_RowData>({
|
|
322
322
|
<MRT_ActionMenuItem
|
323
323
|
icon={<SettingsOutlinedIcon />}
|
324
324
|
key={13}
|
325
|
-
label={showToolBar ? "Hide
|
325
|
+
label={showToolBar ? "Hide Toolbar" : "Show Toolbar"}
|
326
326
|
onClick={(e) => {
|
327
327
|
e.stopPropagation();
|
328
328
|
table.setShowToolBar(!showToolBar);
|
329
|
+
setAnchorEl(null);
|
329
330
|
}}
|
330
331
|
table={table}
|
331
332
|
/>,
|