Skip to content

Table

Tables are components that display tabular data. A table consists of a body, the table, and column components, the table columns. Table columns can be added/removed at will from the table properties.

Tips

Properties

UI Dialog

ItemInput valueOptionDefault value
IDstringautomatic
Widthnumber565
Heightnumber230
Xnumber
Ynumber
Header Colorstring
color picker
#FFFFFF
Paginationboolean
  • on
  • off
  • off
    Sticky Headerboolean
  • on
  • off
  • on
    Visibilityboolean
  • on
  • off
  • on
    Selectingboolean
  • true
  • false
  • off
    Row Word Wrapselect
  • Off
  • Normal
  • Off
    Header Font Sizenumber14
    Header Heightnumber56
    Header Wrapselect
  • Normal
  • OFF
  • OFF
    Page Sizenumber100
    Valuetable
    [details1]

    Action

    ItemPropertiesData TypeOptionsDefault value
    idstringautomatic
    widthnumber565
    heightnumber230
    xnumber
    ynumber
    headerColorstring#FFFFFF
    paginationboolean
  • true
  • false
  • false
    stickyHeaderboolean
  • true
  • false
  • true
    visibilityboolean
  • true
  • false
  • true
    Row Word WraprowWordWrapstring
  • off
  • normal
  • off
    selectingboolean
  • true
  • false
  • false
    pageSizenumber100
    valuearray of object
    selectedObject or array of object
    [details 2][details 3]

    Tips

    [Details 1] Value (value)

    Gets or sets the value of the entire table of tables. The format of the value is an array of objects representing rows.
    The default status is registered as follows.
    Register each row from the [Add Row] button.
    To delete, select the check box and click the “Delete” button.

    monthcompany Acompany Bcompany Ccompany D
    0220527234
    035339055
    0455308166
    0530116222

    When handling data in an action, data can be displayed in a table by setting the value (value) in the form of an array of objects, as in the following example. Similarly, the value (value) contains the current state of the displayed data in the table in the form of an array of objects.

    [
    {"month":"02","companyA":20,"companyB":52,"companyC":72,"companyD":34},
    {"month":"03","companyA":5,"companyB":33,"companyC":90,"companyD":55},
    {"month":"04","companyA":55,"companyB":30,"companyC":81,"companyD":66},
    {"month":"05","companyA":30,"companyB":11,"companyC":62,"companyD":22}
    ]

    Tips

    [Details 2] To get the clicked rows from the table column action

    In table column actions, the row where the event occurs can be retrieved by the selected property. The selected value (selected) is a property that allows you to retrieve the row data selected in the table. On the click event (onclick) of a table column, a row object array with 1 element can be obtained using the selected property.

    [Details 3] To get the selected rows from an action outside the table

    If the "selecting" property is set to ON, the left-most column will have a selection checkbox. Row data with the row selection checkbox turned on can be retrieved from an action outside the table by means of the selected value (selected) property. The acquisition data format is an array of objects.

    Event

    None