Breaking Change T905067
Visible to All Users

The DxDataGridColumn.AllowSort and DxDataGridColumn.EditorVisible property's value type has been changed from DefaultBoolean to nullable Boolean

What Changed

We changed the DxDataGridColumn.AllowSort and DxDataGridColumn.EditorVisible property's value type from DefaultBoolean to nullable Boolean (bool?) and removed the DefaultBoolean enumeration from the public API.

Reasons for Change

This makes it easier for developers to write clear and native code. Now, you do not have to use the additional enumeration and its values to define Boolean properties. You can simply use true/false values. If the property is undefined (set to NULL), the DxDataGridColumn.AllowSort property inherits its value from the DxDataGrid.AllowSort property, and the DxDataGridColumn.EditorVisible property inherits its value from the DxDataGridColumn.Visible property.

Impact on Existing Apps

This change affects your application if you used these properties in your code:

Razor
<DxDataGrid Data="@DataSource"> <DxDataGridColumn Field="@nameof(ProductFlat.Id)" AllowSort="DefaultBoolean.True" EditorVisible="DefaultBoolean.False"> </DxDataGridColumn> @\*...\*@ </DxDataGrid>

How to Update Existing Apps

In the scenario above, replace DefaultBoolean.True with true, and DefaultBoolean.False with false:

Razor
<DxDataGrid Data="@DataSource"> <DxDataGridColumn Field="@nameof(ProductFlat.Id)" AllowSort="true" EditorVisible="false"> </DxDataGridColumn> @\*...\*@ </DxDataGrid>

Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.