-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
SharePoint Designer Tutorial: Working with SharePoint Websites
By :
Hopefully, by now you are impressed with how easy it is to display data using SharePoint Designer. When it comes to ordering our data, you will continue to be impressed.
We would like to sort our wines so that the cheapest wines appear first and the more costly bottles appear last. To do this, we use the sort feature:
Right-click on our data view.
Select Show Common Control Tasks.
Select Sort and Group: from the list.
Click on the Price(Number) field and click Add>>.
Click on the ProductName field and click Add>>.
Click OK.

It is worth noting that we can also group similar items together within the data view. For example, if our data specified whether the wine was red, white, or rosé, then we would be able to group the data by type.
It is easy for us to give users the ability to sort the records in the data view. We can enable this sorting like so:
Click on our data view to select it.
Go to Data View | Change Layout.
Click on the General tab...
Change the font size
Change margin width
Change background colour