FIXED COLUMN

FIXED COLUMN

cgretaquispecgretaquispe Posts: 9Questions: 1Answers: 0

HAVE A PROBLEM WHEN WE PAINT THE ENTIRE ROW USING FIXED COLUMN

tbaProductosAsignados = $('#tbaProductosAsignados').dataTable({ bServerSide: true, sAjaxSource: frmRegistrarDinamica + "ListarProductosDinamicaContable", bProcessing: true, sPaginationType: "full_numbers", sScrollY: "290px", sScrollX: "1500px", sScrollXInner: "150%", bFilter: false, bSort: true, bSortCellsTop: true, fnDrawCallback: function(oSettings) {}, oLanguage: { "sEmptyTable": "Ningun producto asociado a la dinámica contable.", }, .... }

new $.fn.dataTable.FixedColumns(tbaProductosAsignados, { leftColumns: 0, rightColumns: 1 });

$(tbaProductosAsignados + ' tbody').on('click', 'tr', function() { if ($(this).hasClass('row_selected')) { //$(this).removeClass('row_selected'); } else { var odtableAyu = $(tabla).dataTable(); odtableAyu.$('tr.row_selected').removeClass('row_selected'); $(this).addClass('row_selected'); } });

DOES NOT PAINT THE ENTIRE ROW, i.e. DOES NOT PAINT THE FIXED ROW :(

This discussion has been closed.