Friday 23 January 2009

TableRow Highlight (SmartTools) for SharePoint

Todoy, I installed the TableRow Highlight extension for SharePoint. This is a part of the SmartTools (check it out here), created by Jan Tielens.
His example is easy to understand and even easier to install. Actually I didn't like the style used for highlighting the table rows, so I decided to edit it a bit. It's easy to do and you can do it by yourself easily.

I did the following steps (first you need to install the TableRow Highlight extension and enable the feature on the sites of course)

1. I made a copy of the picture ApplyFiltersHoverOver.jpg (12-hive\TEMPLATES\IMAGES) and named it TableRowHighlight.jpg and I adjust is a bit. I removed the last row of pixels because of the different color so it will look better later on.




2. I opened the SmartTools.TableRowHighlight.ascx at 12-hive\TEMPLATE\LAYOUTS\SmartTools.TableRowHighlight in a text editor and I changed the style to the following:

.SmartToolsRowHighlight {
background-color: #F7DAA0;
background-repeat: repeat-x;
background-image: url('/_layouts/images/TableRowHighlight.jpg');
}

3. That's all. Now it will looks like this:

No comments: