We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Sort issue with the code provided at the end of the issue:
Filter issue with the code provided at the end of the issue:
import React from 'react'; import { BootstrapTable, TableHeaderColumn } from 'react-bootstrap-table'; function getProducts() { const products = []; const startId = products.length; for (let i = 0; i < 12; i++) { const id = startId + i; products.push({ id: id, name: 'Item name ' + id }); } return products; } export default class Test extends React.Component { constructor(props) { super(props); this.products = getProducts(); } render() { return ( <BootstrapTable data={ this.products } insertRow={ true }> <TableHeaderColumn dataField='id' isKey={ true }>Product ID</TableHeaderColumn> <TableHeaderColumn dataField='name' filter={ { type: 'TextFilter' } } dataSort={ true }> Product Name</TableHeaderColumn> </BootstrapTable> ); } }
Thanks
The text was updated successfully, but these errors were encountered:
@dana2208, Thanks for issues report, I'll check this out 👍
Sorry, something went wrong.
@dana2208, I've fixed it and will released on next version
027c0ec
@dana2208, release on v2.1.1. Check it out :)
v2.1.1
No branches or pull requests
Hi,
Sort issue with the code provided at the end of the issue:
Filter issue with the code provided at the end of the issue:
Thanks
The text was updated successfully, but these errors were encountered: