Azure IoT Solutions

Azure based IoT Hub solutions for devices with .net IoT Core SDK

Hybride Apps

Hybride Desktop & Smartphone Apps with IONIC, Sencha and SAPUI5

Android native

JAVA and XAMARIN based Android native Apps

IOS native

SWIFT, Objective C or XAMARIN based IOS native Apps

News

Adjust Column width Sharepoint SPList with jQuery

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

to scale the width there's no option to config out of the box. But here is a trick, just put the HTML Code in AllItemsView.aspx of the dedicated SPList after ContentPlaceholderMain and change the title:

Here the column Projectname to the width of 150px

<script type="text/javascript" src="http://~/JS/jQuery-1.11.0.js"></script>
<script type="text/javascript" src="http://~/JS/jquery.SPServices-2014.01.js"></script>
<script type="text/javascript">
    $( document ).ready(function() {        
        //alert( "document loaded" );
    });
     $(function(){
    $("ms-vh2:contains('Projectname')").css("width", "150px")
});
</script>

Print Email

Strips B - main bottom

  • Simple Item 4

    dsfadsfafds f asdf as df asdf dsa fa f a sdf asd f sadf
  • Simple Item 3

  • Simple Item 2

  • Simple Item 1

  • 1