Filter all or some columns individually in Boostrap table

0

I have a problem wanting to filter on a boostrap table if I do it from the general search, it does not filter me as it should since I search for short words and it filters me in all the fields, so I have to filter for each column.

 <div class="table-responsive">
                        <table id="datatable-GeneralTable"
                                data-toggle="table"
                                data-url="@Url.Action("LoadGeneral", "Home")"  
                                data-method="GET"
                                data-pagination="true"
                                data-page-size="10"
                                data-searchable="true"
                                data-search="true"
                                data-show-toggle="true"
                                data-show-columns="true"
                                data-striped="true"
                                data-show-export="true"
                                data-show-refresh="true"
                                data-query-params="queryParams"    
                                data-buttons-class ="primary">
                                <thead>


<th data-field="e_all" data-sortable="true" id="" >Campo 1</th>
<th data-field="a_date" data-sortable="true" id="" data-searchable="false">Campo 2</th>
<th data-field="s_e2" data-sortable="true" id="">Campo 3</th>

That is a part of my table, try putting each column the data-searchable option but do not pull it, any suggestions?

    
asked by Richard 28.08.2018 в 01:38
source

0 answers