Поделиться через


<grid> (SavedQuery)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright