if (o.valueToHeader) {
                    // add current color to the header cell
                    $cell.closest('thead').find('th[data-column=' + indx + ']').find('.curcolor').html(t);
                } else {
                    // current color to span in cell