Breaking Change T906507
Visible to All Users

Web Dashboard Control's element property is replaced with a method

What Changed

We replaced the element property of the HTML/JS DashboardControl class with an element method.

Reasons for Change

In v.20.2 we extended the API of the HTML JavaScript DashboardControl and implemented methods and properties that mimic DevExtreme widgets. For consistency, we replaced the element property with a method.

Impact on Existing Apps

If you are using the element property in your dashboard application, find and replace it with the element method call.

Old:

JavaScript
var dashboardControl = new DashboardControl(document.createElement('div'), {}); var element = dashboardControl.element;

New:

JavaScript
var dashboardControl = new DashboardControl(document.createElement('div'), {}); var element = dashboardControl.element();

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.