Cleaner List View Boxed style using jQuery
I'm sure we've all customized Lists in SharePoint to create different types of views. While most of the Styles to choose from aren't always practical, the Boxed view is an interesting view because it creates a Table along with a row of all your properties and values, for each List item. A common issue with this view is that if you have empty values, it takes up space on the screen and is too "ugly" to use. This is particularly true if your list or library is associated with many Content Types because different Content Types may not populate certain fields. There's also that hideous column/filter bar that doesn't seem to have any value on a view like this. By adding the jQuery below, you can make the Boxed view much more presentable. It will not display columns that have empty values or unchecked (yes/no) values. $("table.ms-listviewtable tr td.ms-stylebox table tr").each(function() { [...]