1. Overview Commit is a button component, mainly used to complete the filling of the submission, but also can be set to export data, clear the filter conditions. It is convenient for users to quickly operate the parameter components and provide a quick entry. 2. Function 2.1 Add commit component Select Commit on the right and drag it into the canvas. 2.2 Modify component text format 2.3 Commit action Default commit does not perform actions, you can check "Close the dashboard automatically when form succeeds". If it is checked, the preview or view dashboard will be closed automatically after successful commit. You can add multiple actions by clicking the Add button of the commit action, and you can set different commit types by clicking action, and you can set different commit types separately. [Adjust Commit Action] Mouse on  icon, the arrow becomes movable, drag and drop the icon, you can adjust the position of the action Delete Commit Actions] Mouse on  icon and click to delete action. 2.3 Commit type Commit types include Batch commit, Commit Data to Database, Insert Row, Delete Row, Import Excel, Export to Excel, Popup Window, Clear Filter, Reset Filter. [Batch Commit] When there are multiple filtering and parameter components, you can set batch commit to optimize the performance of the dashboard. For more details, please refer to Batch Commit. [Commit Data to Database] You need to select form parameter, and then you can click commit component on the preview and dashboard page to realize the commit data to database. Please refer to Form Commit. [Insert Row] After select insert row, the form will be the target filling component to be operated, and the insertion position can be selected as the first row and last row, and rows is the number of rows to be inserted at one time, rows can be input manually, and it can be clicked to increase or decrease; after setting the inserted rows, the inserted rows can be operated in the preview and dashboard by clicking on the commit component. For detailed function, please refer to Table Component Form > Form Operantion. The effect is as follows: 【Delete Row】 After selecting the delete row, form parameter is target fill in the component to be operated, the delete position can be selected the first row, the selected row, the last row, all rows, set the delete row, in the preview or view dashboard page, you can click commit component to delete row, if the delete position is select the selected row, you need to select row to be deleted more than one first, and then click commit button. [Import Excel] The import Excel type on the commit component is a shortcut entrance to the import Excel function. After setting, in the preview or dashboard page, you can click the commit component to import Excel, and the effect is the same as that of directly clicking the import Excel on the parameter component. [Export to Excel] After setting, in preview and preview dashboard, you can export Excel data by clicking commit component, and this option only exports Excel data. [Pop-up Window] After setting pop-up window, you need to select a dashboard as the content of the target window, and you can specify whether or not to refresh the component and dashboard when closing the pop-up window: [Clear Filter] After selecting clear filter, the parameters and filter components within the dashboard will be selected by default. When previewing and viewing, click commit button to clear t filter conditions of all selected components: The effect of gif: [Reset Filter] After selecting reset filter, the parameters and filter components within the dashboard will be selected in full by default. When previewing and viewing, clicking on the commit button can reset the filtering conditions of all selected components to the filtering conditions set when the dashboard is opened. [Return to Source Dashboard]If a link is set in the dashboard and the target window is self select Return to Source dashboard to jump to the target dashboard and then you can jump back to the source dashboard. The link in the source dashboard is set to "102En/View Data", the target window is "self", the parameter is set to "ComboBox 1" in taget dashboard, the value type is "Data Column", and the parameter value is "Product Type". The commit button in the View Data dashboard, select the comit operation as "Return to Source Dashboard", and change the text of "Commit" to "Return to Source Dashboard. When viewing dashboard "102", click the link under the product type dimension, such as "Tea", to jump to the "View Data" dashboard, and then click the "Return to Source Dashboard" button to return. 2.4 Commit execution When you click commit button, the button will be grayed out by default before the operation is completed. You need to wait for the operation to be completed or wait for a certain period of time (10 seconds by default) before you can click commit button again. The timeout for the commit button to be restored to the clickable state can be configured by button.enable.timeout in seconds, please refer to Production Dashboard Configuration for details.
|