mardi 21 juillet 2020

How can I use a column with checkbox in BootstrapTable

I have a BootstrapTable like below and I want add another column with only checkboxes. How do I do that?

<BootstrapTable data={this.state.data} pagination={true} search={true} striped={true} hover={true} exportCSV={true}>
    <TableHeaderColumn dataField="request_created_date" isKey={true} dataSort={true} width="150" dataFormat={requestDate}>Date Requested</TableHeaderColumn>
    <TableHeaderColumn dataField="status" width="100">Status</TableHeaderColumn>
    <TableHeaderColumn dataField="app_name">Application</TableHeaderColumn>
    <TableHeaderColumn dataField="environments">Environment</TableHeaderColumn>
    <TableHeaderColumn dataField="permissions">Permissions</TableHeaderColumn>
    <TableHeaderColumn dataField="requested_by">Requested By</TableHeaderColumn>
</BootstrapTable>



Aucun commentaire:

Enregistrer un commentaire