Quantcast
Channel: Editor — DataTables forums
Viewing all articles
Browse latest Browse all 3744

changing row colour after editor create/edit

$
0
0

my datatable is rendered so that items on sale are shaded a different colour when the table is drawn

    "createdRow": function ( row, data, index ) {
       if ( data.refquality.QualityDescription == 'Sale' ) {
            $('td', row).addClass('highlight');
        }
    },

If I edit a row and set an item to be on sale, this newly edited row is not highlighted unless I refresh the page


Viewing all articles
Browse latest Browse all 3744

Trending Articles