Hi Guys,

I would like to know, how to disable the last header. I don“t the last
column with the option to sort.

I have tried it (see below) but withou success.

var totalHeaders = ( $('table th').length - 1);
        $('table').tablesorter({
                        headers: {
                                totalHeaders : {
                                                sorter: false
                                }
                        },
                        widgets: ['zebra']
        });

OR

        $('table').tablesorter({
                        headers: {
                                -1 : {
                                                sorter: false
                                }
                        },
                        widgets: ['zebra']
        });

Some suggestion?

Regards

Reply via email to