<< Click to Display Table of Contents >> Commonly Used Script Function Reference List |
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 this dynamic demand from users. 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.
This article describes the use of scripts from the application scenarios of custom scripts, including query custom fields, script queries, calculators, dynamic calculators, cell render, component
scripts, and dashboard scripts.
❖Top Level Scope Functions
The top-level scope functions are shown below.
The function of each folder is described in detail below.