Skip to content

NO button will be displayed on top left when only customized buttons are provided. #1070

New issue

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

Closed
firestarman opened this issue Feb 21, 2017 · 2 comments

Comments

@firestarman
Copy link

To display the button group, need to add at least one of these properties : 'insertRow, deleteRow, exportCSV ' .
Source code:

    let buttonBuilder = props => {
        return (
            <ButtonGroup>
                <Link className="btn btn-primary" to="/home/advanced/userinfo">
                    <span><i className="glyphicon glyphicon-plus" />&nbsp;Add User</span>
                </Link>
                <Button
                    bsStyle="primary"
                    onClick={this.props.fetchUsers.bind(this)}>
                <span><i className="glyphicon glyphicon-refresh" /> Refresh </span>
                </Button>
            </ButtonGroup>
        );
    };

   <BootstrapTable
                    hover remote
                    data={list}
                    options={{
                        btnGroup: buttonBuilder
                    }}>
@AllenFang
Copy link
Owner

I'll check this out, thanks for feedback 👍

@AllenFang
Copy link
Owner

Released on v3.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants