Responsive wrapper for Facebook's Fixed-Data-Table grids
This module is available as an npm package.
npm install [--save] responsive-fixed-data-table
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.
containerStyle {Object}: Additional styles to be set on the container div.
refreshRate {Number}: Time in milliseconds to debounce the resize handler.