ASPxGridDataSecuritySettings.AllowReadUnlistedFieldsFromClientApi Property
Specifies whether to allow client access to data source fields that are not associated with any grid columns.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean AllowReadUnlistedFieldsFromClientApi { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default |
|
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Remarks
The client API of the grid control cannot access values of data source fields that are not listed in the grid column collection.
Set the AllowReadUnlistedFieldsFromClientApi property to true
to enable client access to unlisted data source fields.
ASPxGridView1.SettingsDataSecurity.AllowReadUnlistedFieldsFromClientApi = DefaultBoolean.True;
ASPxCardView1.SettingsDataSecurity.AllowReadUnlistedFieldsFromClientApi = DefaultBoolean.True;
ASPxVerticalGrid1.SettingsDataSecurity.AllowReadUnlistedFieldsFromClientApi = DefaultBoolean.True;
If the AllowReadUnlistedFieldsFromClientApi property is set to Default, client access to the data source’s unlisted fields depends upon the BackwardCompatibilitySettings.DataControlAllowReadUnlistedFieldsFromClientApiDefaultValue property.