Skip to content

Instantly share code, notes, and snippets.

@glennblock
glennblock / fork forced sync
Created March 4, 2012 19:27
Force your forked repo to be the same as upstream.
git fetch upstream
git reset --hard upstream/master
@JimiSweden
JimiSweden / MaterialTableGettingHoldOfRenderData.js
Last active June 14, 2021 17:28
material-table example getting filtered data, the tables current view data, including 2 options and some other examples of actions/buttons, how to use SvgIcon from Material-UI
/**
* Example of using MaterialTable and getting hold of the filtered data rows in TWO different ways (useEffect, and MaterialTable.onSearchChange).
* filtered data is found in MaterialTable.state.data (and.renderData)
*
* Also some examples of how to render actions (buttons),
* conditional and 'standard'
* And a simple details pane when expanding the row.
* And how to use SvgIcon from @material-ui/icons fo raction buttons
*