Skip to Content
Microsoft® Office SharePoint® Designer 2007 Bible
book

Microsoft® Office SharePoint® Designer 2007 Bible

by Vikram Kartik
January 2009
Intermediate to advanced
600 pages
14h 51m
English
Wiley
Content preview from Microsoft® Office SharePoint® Designer 2007 Bible

17.4. Working with the Conditional Formatting Task Pane

The Data Form Web Part, like its predecessor Front Page 2003, allows you to format rows of data based on conditions. You can apply formatting to rows in your data view when the data in the rows meets a certain criteria. You can also hide or show rows of data based on whether they match a particular condition. This is especially useful in situations when you need to highlight data in your presentations when certain conditions and requirements are met. This feature in SharePoint Designer is called conditional formatting.

Conditional formatting, like most of the formatting features of the Data Form Web Part, is also implemented by using the XSLT formatting. It doesn't mean to change how the data is retrieved from the data source but to apply XSLT to the data retrieved to show, hide, or apply formatting based on the conditions set. You use the familiar Filter Criteria dialog box to create conditions that when met apply the specified formatting to the matching rows of data.

You use the Conditional Formatting task pane to create conditional formatting conditions. As shown in Figure 17.35, the Conditional Formatting task pane by default shows the existing conditions that apply to the selected content on the Web page.

To create a new condition, follow these steps:

  1. Select the HTML component on the Web page on which you want to apply the formatting based on the condition. For example, you can select the <tr> tag in the data view if ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Microsoft® Office SharePoint® Designer 2007 Step by Step

Microsoft® Office SharePoint® Designer 2007 Step by Step

Penelope Coventry
SharePoint® 2013 Unleashed

SharePoint® 2013 Unleashed

Michael Noel, Colin Spence

Publisher Resources

ISBN: 9780470386446Purchase book