Highlight row in FixedColumn

Highlight row in FixedColumn

freecexfreecex Posts: 25Questions: 4Answers: 0
edited March 2019 in Free community support

Hi everybody!

I've got a DT with first 3 column froze.
I'd like to color all row on mouseover.
I've got this function

$('#myDT tbody').on('mouseenter', 'td', function () {
        var colIdx = table.cell(this).index().column;

        if (rowIdx != -1) {
            $(table.row(rowIdx).nodes()).removeClass('highlight');
        }
        rowIdx = table.cell(this).index().row;

        $(table.cells().nodes()).removeClass('highlight');
        $(table.column(colIdx).nodes()).addClass('highlight');
        $(table.row(rowIdx).nodes()).addClass('highlight');
    });

but highlight only non fixed column.... any suggestion?

regards!

Replies

This discussion has been closed.