Related item Row Colouring
Posted: 05 Feb 2015
Hi Dmitry ,
I want to make row color in a related items' rows.
I do it in separete list by adding script editor. I use row color using jquery
$(document).ready(function () {
$Text = $("td.ms-cellstyle.ms-vb2:contains('High')"); $Text.parent().css("background-color","#01DF3A");
$Text = $("td.ms-cellstyle.ms-vb2:contains('Rejected')");
});
But when I want to use this list view in my related items, this list is not showing with this color.It look default view.This script editor is not working in related items.
could you please tell me how can I do this for related items?
I want to make row color in a related items' rows.
I do it in separete list by adding script editor. I use row color using jquery
$(document).ready(function () {
$Text = $("td.ms-cellstyle.ms-vb2:contains('High')"); $Text.parent().css("background-color","#01DF3A");
$Text = $("td.ms-cellstyle.ms-vb2:contains('Rejected')");
});
But when I want to use this list view in my related items, this list is not showing with this color.It look default view.This script editor is not working in related items.
could you please tell me how can I do this for related items?