
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
reactjs-table-component
Advanced tools
Table component for react js to quick render data objects in table grid
Table component for react js to quick render data objects in table grid
npm install --save reactjs-table-component
import React, { Component } from 'react'
import Table from 'reactjs-table-component'
import 'reactjs-table-component/dist/index.css'
class Example extends Component {
render() {
return <Table />
}
}
| Name | Type | Default | Description |
|---|---|---|---|
| data | Array Array of objects | Placeholder sample data | Actual data to render in grid [{id:1,name:'ABC'},{id:2,name:'XYZ'}] |
| columns | Array or Array of Objects | [] keys of data object will be uses if null | Columns to render in table (key should match data object keys) . Key Array ['id','name'] OR Object array for advanced control over table display properties [{key:'id',label:'Item ID',width: "40", align: "center" },{key:'name',width: "200"},{key:'Amount',width: "100", align:'right}] Object Keys: align:left,center,right [Default:left] width: Integer (Width of column) |
| tableClass | String | table | CSS class name/names separated by space |
| caption | String | - | Table caption |
| cellClass | String | - | Table cell css class <td class="cellClass"> |
| children | DOM Object | - | Table body DOM object. Pass customized table body to render with custom layout <tr><td>value</td><td>Name<br/>Username</td><td><NewComponent/></td><td><button onClick={(e)=>someFunction(e)}></button></td></tr> |
| renderChildren | Boolean | false | Render children DOM |
| renderBody | Boolean | true | Render default data grid body |
| noHeader | Boolean | true | Show/Hide table header |
| headerCellCallback | Function | - | Callback function to handle header cell click function(event){ // callback method } |
| cellCallback | Function | - | Callback function to handle table body cell click function(event){ // callback method } |
MIT © ktmcodelabs
FAQs
Table component for react js to quick render data objects in table grid
We found that reactjs-table-component 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.