Monday, October 6, 2014

Change the default columns names in the share point default View

1.Give jQuery Liabrary refrence.
2.get fields names using document.ready function and rename the fields

<script type="text/javascript" src="../../SiteAssets/js/jquery-1.8.2.min.js"></script>
<script type="text/javascript">

$(document).ready(function(){
   // here title0 field name changed to Title
  $('Div[name=title0]').html("Title");
 
 $('Div[name=number]')
      .html("<b style='color:black;font-size:small;font-weight:bold'>Number</b>");
 
});
</script>

No comments:

Post a Comment