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, Table, 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' },
]}>
<Table />
<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 template components.
Components:
Plugins:
1.0.0-rc.1 (2018-01-18)
react-grid: The draftGrouping
getter does not contain information about draft mode anymore. The draftGroupingChange
, and cancelGroupingChange
actions have been renamed to draftColumnGrouping
, and cancelColumnGroupingDraft
.
react-grid: The type of the TableColumnResizing plugin's columnWidths
and defaultColumnWidths
properties has been changed from object to array to improve API consistency.
Before:
<Grid>
<TableColumnResizing columnWidths={{ a: 120 }} />
</Grid>
After:
<Grid>
<TableColumnResizing columnWidths={[{ columnName: a, width: 120 }]} />
</Grid>
react-grid: The changeDraftTableColumnWidth
action has been renamed to draftTableColumnWidth
. The functionality that resets draft column width has been moved from from the draftTableColumnWidth
action into the separate cancelTableColumnWidthDraft
action.
The onDraftWidthChange
event of the TableHeaderRow's cellComponent has been renamed to onWidthDraft
. The functionality that cancels draft width changes has been extracted to the onWidthDraftCancel
event.
react-grid: The the GroupingState plugin's groupByColumn
action has been renamed to changeColumnGrouping
.
react-grid: We changed the selection
getter's data type from Set
to Array
to improve the API consistency.
react-grid: We renamed the following TableColumnVisibility plugin's properties to improve the API consistency:
hiddenColumns
=> hiddenColumnNames
defaultHiddenColumns
=> defaultHiddenColumnNames
onHiddenColumnsChange
=> onHiddenColumnNamesChange
The hiddenColumns
getter has been renamed to hiddenColumnNames
.
react-grid: The following RowDetailState plugin's properties have been renamed to improve the API consistency:
expandedRows
=> expandedRowIds
defaultExpandedRows
=> defaultExpandedRowIds
onExpandedRowsChange
=> onExpandedRowIdsChange
The expandedRows
getter has been renamed to expandedRowIds
.
react-grid: The following EditingState plugin's properties have been renamed to improve the API consistency:
changedRows
=> rowChanges
defaultChangedRows
=> defaultRowChanges
onChangedRowsChange
=> onRowChangesChange
The changedRows
getter has been renamed to rowChanges
.
react-grid: The FilteringState plugin's setColumnFilter
action has been renamed to changeColumnFilter
.
react-grid: The RowDetailState plugin's setDetailRowExpanded
action has been renamed to toggleDetailRowExpanded
.
react-grid: The toggleSelection
action's selected
parameter has been renamed to state
.
react-grid: We changed the expandedGroups
getter's data type from Set
to Array
to improve the API consistency.
react-grid: The following EditingState plugin's properties have been renamed to improve the API consistency:
deletedRows
=> deletedRowIds
defaultDeletedRows
=> defaultDeletedRowIds
onDeletedRowsChange
=> onDeletedRowIdsChange
editingRows
=> editingRowIds
defaultEditingRows
=> defaultEditingRowIds
onEditingRowsChange
=> onEditingRowIdsChange
The deletedRows
getter has been renamed to deletedRowIds
.
The editingRows
getter has been renamed to editingRowIds
.
react-grid: The SortingState plugin's setColumnSorting
action has been renamed to changeColumnSorting
.
<a name="1.0.0-beta.3"></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.