How to use the @devexpress/dx-react-grid.StaticTableLayout function in @devexpress/dx-react-grid

To help you get started, we’ve selected a few @devexpress/dx-react-grid examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github deranjer / goTorrent / goTorrentWebUI / node_modules / @devexpress / dx-react-grid-material-ui / dist / dx-react-grid-material-ui.cjs.js View on Github external
var TableLayout$1 = function TableLayout$$1(_ref) {
  var headerRows = _ref.headerRows,
      bodyRows = _ref.bodyRows,
      columns = _ref.columns,
      cellComponent = _ref.cellComponent,
      rowComponent = _ref.rowComponent;
  return React.createElement(dxReactGrid.TableLayout, {
    layoutComponent: dxReactGrid.StaticTableLayout,
    headerRows: headerRows,
    rows: bodyRows,
    columns: columns,
    minColumnWidth: MINIMAL_COLUMN_WIDTH,
    containerComponent: TableContainer,
    tableComponent: Table$2,
    headComponent: TableMUI.TableHead,
    bodyComponent: TableMUI.TableBody,
    rowComponent: rowComponent,
    cellComponent: cellComponent
  });
};