How does data-search in bootstrap table search for a column?

how does data-search in bootstrap table search the corresponding data by a column, but can"t find a way? how to achieve this?

Apr.27,2021

other methods have been used before. If the arrangement of td in table is regular, I can traverse all the td, and fetch them in multiples of I.

<body>
    <table>
        <thead>
            <tr>
                <th></th>
                <th></th>
                <th></th>
                <th></th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>q0</td>
                <td>q1</td>
                <td>q2</td>
                <td>q3</td>
                <td>q4</td>
            </tr>
            <tr>
                <td>e0</td>
                <td>e1</td>
                <td>e2</td>
                <td>e3</td>
                <td>e4</td>
            </tr>
            <tr>
                <td>w0</td>
                <td>w1</td>
                <td>w2</td>
                <td>w3</td>
                <td>w4</td>
            </tr>
        </tbody>
    </table>
</body>
<script src="../echarts/jquery-3.1.0.min.js"></script>
<script>
    var tds = $('tbody').find('td');
    console.log(typeof tds);
    var temparr=[]
    for (var i = 0; i < $("tbody tr").length; iPP) {
        temparr.push($("tbody tr").children("td").eq(0 + 5 * i).text())
    }
    console.log(temparr);
</script>

so the result in the array is a column.

Menu