Use javascript to activate filters in BootstrapTable

I am using the server-side option of Bootstrap-table

<table class="table table-condensed table-bordered table-hover" id="theTable"
    data-toggle="table"
    data-url="/getRows.jsp"
    data-side-pagination="server"
    data-filter-control="true"
    data-pagination="true" 
    data-click-to-select="true"
    data-id-field="id"
    data-show-footer="false"   
    data-minimum-count-columns="2"                           
    data-pagination="true"                           
    >
    <thead>
       <tr>
          <th data-sortable="true" data-field="Type" data-filter-control="select"></th>
          ...
       </tr>
    </thead>
    <tbody>
    </tbody>
  </table>

how do I use javascript to select a Type filter?

Mar.24,2022

you can see the example here: http://bootstrap-table-exampl.

.
Menu