08.08.2017 Views

designer

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

154 Chapter 5 Working with Data Views<br />

8. Click Save.<br />

The Sales report page is refreshed, and the Save and Cancel links for the list item<br />

are replaced by the Edit and Delete links. The list item displays the new values.<br />

9. Scroll down the page to the Sales Report XLV Web Part. Rest the pointer over the<br />

first occurrence of Contoso Pharmaceuticals.<br />

A check box and an Edit icon appear to the left of Contoso Pharmaceuticals.<br />

10. Click the Edit icon.<br />

The Edit icon is replaced with Save and Cancel icons. List items whose values you<br />

can edit are shown as SharePoint form controls.<br />

11. Click the Cancel icon.<br />

CLEAN UP Close the browser. Leave SharePoint Designer open if you are continuing<br />

to the next exercise.<br />

Applying Conditional Formatting<br />

The Data View and XLV Web Parts offer a feature known as conditional formatting that<br />

you can use to alter the appearance of a set of cells or rows according to criteria that you<br />

specify. Within a Data View, you can apply conditional formatting to an HTML tag, a data<br />

value, or a range of text. The criteria you specify do not have to be based on the field<br />

being formatted.<br />

In this exercise, you highlight list item data that is less than or equal to a specific value.<br />

SET UP Using SharePoint Designer, open the team site you used in the previous<br />

exercise if it is not already open, and then open Stock.aspx in edit mode with the<br />

Furniture Price List DFWP selected.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!