共用方式為


<grid> (SavedQuery)

 

Applies To: Dynamics CRM 2013

Defines a grid structure for the presentation of data in a saved query.

Syntax

<grid 
 icon = [0|1]
 iconrenderer="String"
 jump="String"
 name="String"
 object="String"
 preview= [0|1]
 select = [0|1] >
 <row />
</grid>

Attributes and Elements

The following describes the attributes, child elements, and parent elements.

Attributes

Attribute

Description

Type

Usage

icon

Indicates whether to display an icon with the grid.

Boolean

Required

iconrenderer

For internal use only.

String

Optional

jump

Contains the name of the attribute used to filter rows using the alphabetical index at the bottom of the grid.

String

Required

name

Should be the plural entity name or "resultset".

string

Required

object

Specifies the entity type code.

Positive Integer

Required

preview

Indicates if the saved query represents a preview.

Boolean

Required

select

This value should always be 1.

Boolean

Required

Child Elements

Element

Description

<row> (SavedQuery)

Contains a row in a grid for a saved query.

Parent Elements

Element

Description

<layoutxml> (SavedQuery)

Defines a grid that displays results from the saved query.

Element Information

Schema Type

complexType

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

//Entity/SavedQueries/savedqueries/savedquery/layoutxml/grid

See Also

Saved query XML reference