Closed AlainRo closed 7 years ago
Reactable: One should control at minimum the columns order which implies to list columns names. Extension to table.js should be something like:
render() { const { className, data, columns, sortable, defaultSort, filterable } = this.props; return ( <Table className={`table ${className || ''}`} data={data} columns={columns} sortable={sortable} defaultSort={defaultSort} filterable={filterable} /> ); }
Allowing to use:
[Table data:`[{x: 'A', '2016': 22}, {x: 'B', '2016': 34}]` columns: `["x", "2016"]` className:"table1" /]
👍 this makes sense to me
Added in #180
Reactable: One should control at minimum the columns order which implies to list columns names. Extension to table.js should be something like:
Allowing to use: