tablesorter

I have three radio buttons in one cell in tablesorter


I have three radio buttons in one cell in tablesorter. How can I filter by each value? I have been trying for several days looking at the official site but cannot solve the problem.

enter image description here


Solution

  • Use the "radio" parser inside parser-input-select as follows (demo):

    <th class="sorter-radio">Appointment status</th>
    

    then initialize normally

    $(function () {
        $('table').tablesorter({
            theme: 'blue',
            widgets: ['zebra', 'filter'],
        debug: true
        });
    });