Datasources
under the explorer panel.+Create new
and select the users
database from the Sample Databases. The user database will now appear under the Active window.<query_name>
is the query's name created in Step 2.currentRow
property. currentRow
property can only be accessed inside column properties. It can be helpful if you wish to merge multiple values/properties under a single column.{{<table_name>.selectedRow}}
{{<table_name>.selectedRows}}
{{<table_name>.triggeredRow}}
{{<table_name>.isVisible}}
{{<table_name>.sortOrder}}
{{<table_name>.tableData}}
{{<table_name>.selectedRowIndex}}
{{<table_name>.selectedRowIndices
}}{{<table_name>.filteredTableData}}
{{<table_name>.pageNo}}
{{<table_name>.pageSize}}
{{<table_name>.searchText}}
Table_1
with the table data given below:<table_name>
is the name of your table.Table_1
.
Open the property pane of the text widget and add the following snippet to its label:<columnname>
__ of the row selected.
__
__Using this snippet in Table_1
, suppose you want to bind the task of the selected row to the text widget. You will need to open the property pane of the text widget and add the following to its label:<table_name>
is the name of your table.Table_1
using selectedRows.<table_name>
is the name of your table.Table_1
using triggeredRow.<table_name>
is the name of your table.Table_1
using seledRowIndex.<table_name>
is the name of your table.Table_1
using seledRowIndices.<table_name>
is the name of your table.Table_1
using filteredTableData.<table_name>
is the name of your table.Table_1
using pageNo.<table_name>
is the name of your table.Table_1
using pageSize.<table_name>
is the name of your table.Table_1
using searchText.setInterval
function.Switch1
) to control this function and a table widget that uses the getData
query.Switch Wiget
into the canvas.onChange
event and toggle the JS
option.Switch
widget’s onChange
property, paste the following code after making the necessary changes:setInterval
function calls the getData
query every 2 seconds when the switch widget is turned on, else, it removes the autoupdate
(id
) interval.onSearchTextChange
event, it is possible to perform a search on the server-side (API server or database) and have the results displayed on the table. A video guide on how to do this is shown below: