Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
adazzle-react-grid
Advanced tools
Data grid for React.
React Grid is available via npm.
npm install adazzle-react-grid --save
Or if you'd like to use bower, it's as easy as:
bower adazzle-react-grid --save
React Grid comes in two flavours. A basic uneditable data grid as well as a more advanced datagrid that attempts to provide a rich excel like experience with filtering, sorting, copy/paste, cell drag down, custom editors and formatters.
To use the basic grid, just include the following files
<!-- The core React srcrary -->
<script src="http://fb.me/react-0.11.0.js"></script>
<!-- basic React Grid component -->
<script src="adazzle-react-grid/dist/ReactGrid.Grid.js"></script>
or if using CommonJs
var Grid = require('adazzle-react-grid');
To use the advanced features, add these files to your page
<!-- The core React srcrary -->
<script src="http://fb.me/react-0.11.0.js"></script>
<!-- advanced ReactGrid component -->
<script src="adazzle-react-grid/dist/ReactGrid.Grid.WithAddons.js"></script>
<!-- optional collection of editors for React Grid-->
<script src="adazzle-react-grid/dist/ReactGrid.Grid.Editors.js"></script>
<!-- optional collection of formatters for React Grid-->
<script src="adazzle-react-grid/dist/ReactGrid.Grid.Formatters.js"></script>
or if using CommonJs
var ExcelGrid = require('adazzle-react-grid/addons');
var GridEditors = require('adazzle-react-grid/editors');
var GridFormatters = require('adazzle-react-grid/formatters');
The process to build reactGrid.js
is built entirely on top of node.js, using many srcraries you may already be familiar with.
node
installed at v0.10.0+run npm install
You can then just run gulp
this will:
\examples
We use gulp to automate many tasks. Look in gulp/tasks
folder to see full list. The important ones to know:
# Build examples folder, fire up server and open exmaples page
gulp
# Build reactGrid srcrary in UMD format in dist folder
gulp dist
# Build and run tests in your browser
gulp tests-launch
# Compile Less and build styles
gulp styles
# Wipe out build directory
gulp clean
To add any other examples, you just need to:
module.exports = someNewExample
components.push({id:'Name for your component', module:require('./nameOfYourFile') });
This will then add a new menu to the examples.html page
we are using jasmine for tests and these can either be run in a standalone page by running gulp tests-launch
*note: you need to run bower install
first
For automation, we are using karma
To run the tests use gulp tests
To watch for file changes, use
this is a work in progress, and wont watch your files unless you first run gulp tdd
gulp tests-build
to do our react/browserify transforms
React Grid is free software created by [Prometheus Research][] and is released under the MIT.
FAQs
Data grid for React
We found that adazzle-react-grid 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.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.