Dear all,
I have used below code to apply style based on the document name.My list is having group by.The style is not applying to last group by items.Iam attching screenshot.Please help.Thanks in advance.
<script type="text/javascript" src="</script">https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
ExpGroupRenderData();
});
function ExpGroupRenderData()
{
$(".ms-listviewtable > tbody > tr a:contains('Meeting')").parent().parent().parent().css("background-color", "yellow");
$(".ms-listviewtable > tbody > tr a:contains('Decision')").parent().parent().parent().css("background-color", "lightblue");
}
</script>
Regards,