kwizcom banner advertisement

How to Adjust Column Width in SharePoint List View?

2:36 PM    , , , , ,
Requirement: Adjust SharePoint column width in list view. To change column width in SharePoint, There are two options: Set column width using SharePoint Designer Change SharePoint column width using jQuery, as below: To set width of column in SharePoint 2007, place the below code in CEWP, place it below list view web part and hide it! <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function(){ $("TH.ms-vh2-nograd:contains('Reason')").css("width", "150px"); }); </script>
How to Adjust Column Width in SharePoint List View? How to Adjust Column Width in SharePoint List View? Reviewed by Salaudeen Rajack on 2:36 PM Rating: 5
Powered by Blogger.