Grid Widget
- Last UpdatedNov 15, 2023
- 2 minute read
The Grid widget allows you to display a dynamic data based on a configured dataset. With this widget, you can configure:
-
How data is rendered within the grid
-
What text to display in the column headers
-
Whether the data in a cell or column is editable or read only. If it is editable, whether it is an input field or a dropdown list
-
A tooltip to display the full details of a truncated data in a cell
-
The column width
Note: An option to adjust the column width using the mouse is available.
-
Column data filtering, sorting, and reordering
-
The number of records to display per page
-
Column data types and cell background color
Properties
The Grid widget uses the following properties and some of them are defined as a function in a configuration file. For information on how the properties are used, see Grid widget properties usage. The following table describes the supported Grid properties:
|
Property |
Supported datatype |
|---|---|
|
Notify |
Object |
|
Data |
Object |
|
Previous Row Value |
Object |
|
New Cell Value |
String |
|
Modified Rows |
Object |
|
Selected Row (selectedRow) |
Object |
|
Select Top Grid Item (selectTopGridItem |
Object |
Limitations
-
Tooltip is not supported in datetime and numeric datatypes.
-
The widget's numeric text box has a precision limitation of up to 16 digits only. Numbers longer than 16 digits are converted to exponential numbers and lose their precision.