<grid> (SavedQuery)

应用到: CRM 2016 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 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.