We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9156dc0 commit bcd0664Copy full SHA for bcd0664
src/material-table.js
@@ -1132,6 +1132,7 @@ export default class MaterialTable extends React.Component {
1132
nonce={props.options.cspNonce}
1133
>
1134
<this.props.components.Container
1135
+ id={props.id}
1136
style={{ position: 'relative', ...props.style }}
1137
1138
{props.options.paginationPosition === 'top' ||
types/index.d.ts
@@ -34,6 +34,7 @@ export interface MaterialTableProps<RowData extends object> {
34
};
35
columns: Column<RowData>[];
36
components?: Components;
37
+ id?: string;
38
data: RowData[] | ((query: Query<RowData>) => Promise<QueryResult<RowData>>);
39
detailPanel?:
40
| (({ rowData }: { rowData: RowData }) => React.ReactNode)
0 commit comments