Skip to content

Basic implementation of a table control in the User Interface. Topics: #System #User-Interface #Getting-Started #Sample #SICK-AppSpace

License

Notifications You must be signed in to change notification settings

SICK-AppSpace-samples-2-2-4/TableControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

TableControl

Basic implementation of a table control in the User Interface

Description

This sample shows how to use a table control in the UI-Builder. The bindings are set in the UIBuilder and are also defined and used from the script. The information necessary can be found in the App properties, in the options and bindings of the control as well in this script. The fields in the table are defined in the options of the control. The table control expects a JSON string which must match the defined options. Also it is necessary to set the PreSet or PostGet value in the Advanced tab of the controls binding dialog depending on direction. In this sample the table is filled with random entries when clicking on 'Add Row'. If selecting a row, the index and the string representation of that row are printed to the console. Removing a selected row is possible with the 'Remove Selected' button.

How to Run

This sample can be run on the Emulator or on a device. After starting, the the user interface can be seen at the DevicePage in AppStudio or by using a web browser

Topics

System, User-Interface, Getting-Started, Sample, SICK-AppSpace

About

Basic implementation of a table control in the User Interface. Topics: #System #User-Interface #Getting-Started #Sample #SICK-AppSpace

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages