Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

make table responsive react-bootstrap-table2

<BootstrapTable
    keyField='id'
    data={tableData}
    columns={columns}
    pagination={paginationFactory()}
    striped
    bordered={false}
    wrapperClasses="table-responsive" // This is the style provided by bootstrap 4, this will set the parent div with that class
/>
Source by react-bootstrap.github.io #
 
PREVIOUS NEXT
Tagged: #table #responsive
ADD COMMENT
Topic
Name
9+6 =