Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@devexpress/dx-react-grid-bootstrap3
Advanced tools
Bootstrap 3 templates for DevExtreme React Grid component
A template suite used to render the React Grid based on Bootstrap 3 components.
Install the main dx-react-grid package with its dependencies and Bootstrap 3 templates:
npm i --save @devexpress/dx-react-core @devexpress/dx-react-grid @devexpress/dx-react-grid-bootstrap3
Add the required modules to your project:
import {
Grid, TableView, TableHeaderRow
} from '@devexpress/dx-react-grid-bootstrap3';
const App = () => (
<Grid
rows={[
{ id: 0, product: 'DevExtreme', owner: 'DevExpress' },
{ id: 1, product: 'DevExtreme Reactive', owner: 'DevExpress' },
]}
columns={[
{ name: 'id', title: 'ID' },
{ name: 'product', title: 'Product' },
{ name: 'owner', title: 'Owner' },
]}>
<TableView />
<TableHeaderRow />
</Grid>
);
Make sure that React-Boostrap dependencies are installed and properly configured. Check the React-Bootstrap's Getting Started article for configuration details.
This package provides components and plugins implementing Bootstrap 3 rendering for the React Grid, which you can use instead of the original React Grid package ones.
See demos for more information.
The package exposes components and plugins with injected templates.
Components:
Plugins:
The templates are defined via properties that end with the 'Template' postfix which accept a rendering function. Assign a custom function to the required property to override the default rendering function. The custom function should return undefined
if you need to invoke the default behavior under certain conditions.
1.0.0-alpha.11 (2017-10-04)
filterFn
property of the LocalFiltering
has been renamed to getColumnPredicate
. The argument list has been changed from filterFn(row: Row, filter: Filter) => boolean
to getColumnPredicate(columnName: string) => Function
. The returning function has the following signature (value: any, filter, row: Row) => boolean
.getCellData
property of the TableView plugin and the getCellData
field of the Column interface have been renamed to getCellValue
.<a name="1.0.0-alpha.10"></a>
FAQs
Bootstrap 3 templates for DevExtreme React Grid component
The npm package @devexpress/dx-react-grid-bootstrap3 receives a total of 261 weekly downloads. As such, @devexpress/dx-react-grid-bootstrap3 popularity was classified as not popular.
We found that @devexpress/dx-react-grid-bootstrap3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.