<grid> (SavedQuery)

適用於: CRM 2015 on-prem, CRM Online

為已儲存之查詢中的資料展示,定義方格結構。

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

僅供內部使用。

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)

在方格中,針對已儲存的查詢包含一個資料列。

Parent Elements

Element Description

<layoutxml> (SavedQuery)

定義方格,顯示來自已儲存之查詢的結果。

Element Information

Schema Type

complexType

Validation File

CustomizationSolution.xsd

Number of occurrences

0 or 1

XPath

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

請參閱

參照

Saved query XML reference

Microsoft Dynamics CRM 2015 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.