<< Click to Display Table of Contents >> Script |
Many dashboard environments require dynamic custom dashboards and custom business logic. These requirements range from creating query fields to setting up script queries; from modifying text colors to controlling user interaction behavior; from adding calculators to controlling table rendering, and so on. Yonghong Z-Suite has a complete scripting environment to support users' various dynamic needs. Scripting system is a widely used function in Yonghong Z-Suite products. It allows users to customize some advanced requirements and is an important module to decide whether a product is powerful or not.
The scripting system is supported by the JavaScript language standard. The scripting environment can fully access the component's bindings, attributes, and data input; it can perform tasks when the dashboard is initialized; it can handle user interactions.
In this article, the use of scripts is generated from the application scenarios of custom scripts, including custom fields for queries, script queries, calculators, dynamic calculators, table rendering, component-level scripts, and dashboard-level scripts.