DataGrid
Use this widget to access advanced features of a table.
The datagrid widget is available under designing application pages, drag-and-drop DataGrid to a container.
. WhenThe following list of properties are specific to this widget. For common properties, refer to Page Components.
Property | Description |
---|---|
BEHAVIOR > Selected Items Changed | Use this property to define the action to be taken when a value is modified in the datagrid. For this behavior to work, you must also configure the Add Table Column for the modified value. |
BEHAVIOR > Edited Rows Updated | |
Source - Input | Use any of these options to provide values from a data source.
Note: Currently we do not support manually passing values to the
widget. |
Height (px) - 0 equals dynamic | Set the height in pixels. If set to 0, the datagrid table occupies 100% of its container. |
Background Color | Select a color to apply as a background color to the datagrid. |
Border Color | Select a color for the datagrid table border. |
Show Borders | Select the check box to apply a border to the datagrid table. To remove the border, clear the check box. |
Show Column Lines | Select the check box to display column gridlines. To remove gridlines, clear the check box. |
Show Row Lines | Select the check box to display row gridlines. To remove gridlines, clear the check box. |
Enable Search | Select the check box to add a search field above the datagrid widget to search the entire table. |
Allow Grouping | Select the check box to allow grouping of columns at runtime.
To undo grouping, drag the columns back to their previous position. |
Allow Filtering | Select the check box to allow filtering of data in every column. At
runtime, to filter values:
|
Allow Edit | Select the check box if you want to modify grid data. An edit option
appears at runtime next to each row. The modified data value must be sent to a target data source. To use the edit option successfully, configure the Add Table Column and Output Target properties. Changes are written to the target, and not to the input data source. Hence, you may lose edits on refreshing the page. |
Pages or scroll | If the number of rows exceed page size, then specify whether you want to
browse through pages, or scroll through data.
|
Rows | Use these properties to configure datagrid table rows:
|
Add Animation | Use this property to highlight a row when a condition is met. Boolean
values are represented with 1 or 0 .This property is similar to Add Cell Animation. |
Add Table Column | Use this property to customize the datagrid
columns. Select +Add Item to show
configuring options. Note: Add only the columns you want to customize. It is
not required to add all the columns. To organize table columns:
|
Column | Use these properties to configure a column:
|
Output Target | Specify the target data source for column data. At runtime, when column
data is selected/modified, the target specified in this property is
triggered.
|
Add Image | Use this property to deliver an image when a condition is met. Boolean
values are represented with 1 or 0 .Add as many conditions as required. Each item here refers to a separate condition.
|
Add Cell Animation | Use this property to highlight a cell when a condition is met. Add as
many conditions as required. Boolean values are represented with
1 or 0 .
|
Group By | Set the default grouping of data by column.
|
Sort By | Set the default sorting for data grid columns. For example, you can add
multiple items to configure default sorting first by column X, then by
column Y, etc in an ascending/descending order. The sequence of sorting
order appears at runtime indicated by a number. At runtime:
|
Selected Rows Output | Specify the target data source for a selected row data. A separated
string or array can be written to a global variable.
|
DataGrid at Runtime
You have the option to export and download the datagrid table data. Select icon that appears at runtime at the top of the table to export the data to an Excel file.