SharePoint 2010: How to change width of list column

In this post, I will be discussing about changing width of list column.

SharePoint auto calculate the column width depends on the content at time of rendering the page.

Here I am taking an example of list column with very long header.

  • Open your view/AllItems.aspx in SharePoint Designer.
  • Get cursor to your column in design mode and drag it to desired width you want.
  • Delete Nowrap=’Nowrap’ for this column and add below highlighted style.

This is how the fixed width column will render:

Hope that helps…!!

SharePoint 2010: Mobile View :Part 1

How to create mobile view for sharepoint list/library:

While creating/editiong normal view at the end in Mobile section,Check the checkbox (1) Enable this view for mobile access.

Here you can also choose other configuration like making it default mobile view (2),

How many items to display in one page (3) ,

Option to choose the field to display in simple view (4),

(5) in image is the url for mobile view.

How does it look on mobile :

Hope that helps…

SharePoint 2010: Branding : changing UIversion of SharePoint Site

changing UIversion from 4 to 3 will give a look and feel like SharePoint 2007 site.

changing it back to 4 will make Visual upgrade to SharePoint 2010 site.

You can change UIVersion using PowerShell:

$web = Get-SPWeb http://server/site/
$web.UIVersion = 3
$web.UIVersionConfigurationEnabled = $true

You can also change UIVersion using feature receiver:

Hope that helps…