Quick rename List View group by collapisble label without changing the value of the column SharePoint 2010 Javascript
Now this is a quick fix when many a times we need to display the label of collapsible group name something different that the actual column value.Below is a script which will just allow you to do that
$("tr[id^='group'] td").each(function(){
var text = $(this).html();
$(this).html(text.replace('Save as Draft','Draft'));
});
$("tr[id^='group'] td").each(function(){
var text = $(this).html();
$(this).html(text.replace('Save as Draft','Draft'));
});
Comments
Post a Comment