responsive-fixed-data-table
Responsive wrapper for Facebook's Fixed-Data-Table grids
Installation
This module is available as an npm package.
npm install [--save] responsive-fixed-data-table
Usage
var React = require('react');
var Column = require('fixed-data-table').Column;
var ResponsiveFixedDataTable = require('responsive-fixed-data-table');
var ResponsiveTable = React.createClass({
render: function() {
return (
<ResponsiveFixedDataTable {...tableProps}>
<Column {...columnsProps} />
</ResponsiveFixedDataTable>
);
}
});
module.exports = ResponsiveTable;
All passed props will be passed to the underlying FixedDataTable component. Please check FixedDataTable docs for a list of available options.
Width and height will be overriden to take all the available space of its parent container.
Additional configuration
refreshRate {Number}: Time in milliseconds to debounce the resize handler.