Operation history


■ Control appearance

■ Description

This component is used to obtain operation history from the database, and display the data in pages.

Select the time period when the operation history is displayed. The selecting options are “Today”, “Last 7 days”, “This Week”, and “Specify time”.

If “Today” is selected, the operation history of today will be displayed.

If “Last 7 days” is selected, the operation history for the last 7 days will be displayed.

If “This week” is selected, the operation history from 00:00 of the last sunday to current time will be displayed.

If “Specify time” is selected, the start time button is displayed. Press the start time button to set the date and time, the operation history from the sepcified time to current time is displayed.

Paging section can be set to display the number of pages per page, the specific settings can be through the "Options" dialog box to operate.


□ CSV Download button

Click the csv download button to download the operation history as the csv file of the specified day range; But if "Begin Time" is used to specify the beginning time, then the operation history of the beginning date is downloaded.


□ Sort the data in the list by the column name in the header.

By clicking on the column name in the list header, you can sort the data in the list according to the content of the selected column.


■ Events

The following table is a list of events that can be used with this control.

Event name Value Description
!onTimeChange string value This event occurs when the time span is changed.
Output the selected time span (the elapsed time in milliseconds since 1970) to the variables set in the variable link in the following format.
"Start time", "End time"

■ Properties

The following table is a list of properties that can be used with this control.

For common properties for each component, see the common items page.

Property name Default Value Description
BeginEndTime The elapsed time in milliseconds since 1970 of “0:00,23:59”of the current day. Set the begnning and ending time in the values of milliseconds since 1970 in the following format.
"Start time", "End time"
If the ending time is not set, it will be set to the current time automatically.
It is recommended to use the !onSelect event output of the calendar component to specify this property.
bFireWhenTimeChanged false Sets whether !onTimeChange event is triggered when the value of BeginEndTime changes due to factors other than mouse/touch operation of this control.

■ Functions

The list of available functions.

For common functions of the components, see the common items page.

You can use this + ".FunctionName" in the JavaScript area to call this function.

Function Name Argument Return Value Description
getBeginEndTime - string value Get the begnning and ending time of the displayed time span in the values of milliseconds since 1970 in the following format.
"Start time", "End time"
setBeginEndTime string value - Set the begnning and ending time in the values of milliseconds since 1970 in the following format.
"Start time", "End time"
If the ending time is not set, it will be set to the current time automatically.
The specified values are internally rounded off in minutes.

■ Advanced Settings

The advanced settings of the operation history can be set for the display style of the part.


□ Title text color

Sets the title color of the component, with the default value of "#607B8B".


□ Title background color

Sets the background color of the part header section, with the default value of "#FFC125".


□ Numbers per page

Sets the number of tracks displayed per page.


□ Auto Refresh Period (min)

Set the period in minutes for updating the display content automatically.


□ Show Delete button

When this property is enabled, the Delete button is displayed in the list. This feature is availabe only when the user has administrator privilege.