
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
material-ui-sortable-table
Advanced tools
Material UI Table component with sorting and pagination functionality
Example of usage npm i npm run dev
<SmartTable
isLoading={ false }
data={ data }
headers={ headers }
limit={ 40 }
total={ data.length }
/>
isLoading - the flag that indicates data loading, if true spinner will be shown. Usually it's passed from any state container on request action.
example of tableHeaders
const headers = [{
alias: 'Name',
sortable: true,
dataAlias: 'name',
format: {
type: 'link',
url: 'http://someurl'
}
}, {
alias: 'Status',
sortable: true,
dataAlias: 'status'
}, {
alias: 'Birth Date',
sortable: true,
dataAlias: 'birthDate',
format: {
type: 'date'
}
}];
alias - name of column in the column header
sortable - show or not sortable icon in the column header
dataAlias - property name of the object in the data array
format - object that sets up any additional info about cell or custom formatting to cell in the row (Button, Link, etc)
example of data
[{
name: 'John',
status: 'Single',
birthDate: '1 Jan 1966'
}, {
name: 'David',
status: 'Married',
birthDate: '5 Feb 1914'
}]
For now that is custom solution and will be changed by build-in functionality in the future release of Material UI components library
FAQs
Material UI Table with sorting functionality
We found that material-ui-sortable-table demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.