Make sure that you select the field that you want before you apply the group properties. Note each field in the sort order can have individual group properties applied to it. In the Sort order list, click the field that you want to group by. If you add multiple fields to the sort order and want to change which field is sorted first, select the field in the Sort order list and click Move Up or Move Down.Ĭlick OK to apply your changes to the view. To sort on multiple fields, choose more fields under Available fields and then add them to the sort order. Learn more in Advanced List and Data View customizing using XPath expressions. This opens the Advanced Sort dialog box where you can customize the sort order using XPath expressions. To use more advanced sorting than ascending or descending, click Edit Sort Expression. You can also change the ascending or descending sort order by simply double-clicking the field in the Sort order list. Under Sort Properties, choose how you want to sort the fields by selecting Ascending (lowest to highest) or Descending (highest to lowest). Under Available fields, click the field that you want to sort on, and then click Add. With your view open in SharePoint Designer 2010, click the Options tab and then click Sort & Group. You can also choose to keep groups together when paging through the view and show the column names or totals for each group. When grouping data, you can display a header or footer for a group of fields in the sort order and choose whether the group is expanded or collapsed by default. In addition to sorting, you can group data. You can create additional sort orders using the Advanced Sort dialog box in SharePoint Designer 2010. Examples of sort order include alphabetical and numerical ordering. When you sort data in a Data View, you modify the order in which the data appears so that it’s easier for you and your site visitors to understand the data. Learn more about Data Views in the See Also section. To include those fields, you need to update the data source query. Your actual data source may contain additional fields. Note: The Edit Columns dialog box will show only the fields that are included in the data source query of the data view. Open the list that contains your list view.Ĭlick the Options tab and use the view editing options to customize the List View. In the Navigation pane, click Lists and Libraries. Open your site in SharePoint Designer 2010. To open a List View associated with a list Use one of the methods below to open a List View or Data View in SharePoint Designer 2010.) (Associated with a list or library, or any number of data sources. You can, for example, open a List View from the list or library it is currently associated with, or you can open a Data View from the site page where it is located. List Views and Data Views can be created and opened in a number of ways in SharePoint Designer 2010 (as explained in the beginning of this article). This article describes the most common customizations you’ll make to list or Data Views using SharePoint Designer 2010. You add and remove columns, apply filters, sort and group fields, apply conditional formatting, and much more using the tools available in SharePoint Designer 2010. These result in a combination of List Views (XSLT List View Web Part) and Data Views (Data Form Web Part) on your pages, and while there are differences between the two, you customize them in similar ways. Learn more about creating views and forms in the See Also section. You can create a list view associated with a SharePoint list or library you can create a Data View and associate it with the same list or another data source you can create a form by adding a Data View to your page then inserting each field as a form and so on. There are a number of ways you can create views and forms in SharePoint Designer 2010. If you need to customize the code, you can always edit the XSL directly in Code view in SharePoint Designer 2010. The WYSIWYG tools in SharePoint Designer 2010 insert Extensible Stylesheet Language (XSL) directly into the page so that you don’t have to know XSL to create powerful customized Data Views. SharePoint Designer 2010 includes a rich set of tools that you can use to customize list and Data Views as shown here. You add and customize Data Views using SharePoint Designer 2010. The Data View can display data from a wide variety of sources, including SharePoint lists and libraries, database queries, XML documents, Web services, and server-side scripts. SharePoint Designer 2010 retrieves data from a data source in the form of Extensible Markup Language (XML) and displays or provides data input using Extensible Stylesheet Language Transformations (XSLTs). A Data View is a live, customizable view of a data source from a SharePoint site.
0 Comments
Leave a Reply. |