Kuika's Table element allows you to display data in your application in a table layout in an organized and understandable way. Users can examine and manage different data sets through rows and columns on the table. The Table element is especially used for data lists, reports, or in situations where information needs to be presented to the user. In this course, you will learn how to use the Table element, how to structure your data, and how to customize table layouts.
This training content consists of the following topics:
Table element is a data repeater element. The elements you add to the columns in the first row of the element will repeat in the following rows depending on the data source. After selecting the data source, you can connect to other elements in the row/column by selecting the fields in the related data table. You can give role-based authorizations to the element and set its visibility with show/hide/conditional options.
The Inline Grid property is used with EditableTableColumn added to the Table element and allows you to not only view, but also edit and save data in your table. In order to use the Inline Grid feature, you need to add EditableTableColumn to the Table element.
To add Editable Table Column to Table element;
Adding an EditableColumn
EditableTableColumn, unlike regular TableColumn, is not editable during the design process and has standard properties. However, you can bind dynamic data to the column and make style edits of the column.
To bind a data source to the Table element to work with dynamic data in EditableTableColumn;
Binding data to Label in Editable Table Column
To bind dynamic data in the Label element in Editable Table Column;
In an example scenario, a table consisting of EditableTableColumns and containing the customer address and customer name looks like in Figure 3.
Example EditableTableColumn Usage
As shown in Figure 3, the first row of the Table element consisting of EditableTableColumns appears as if it is in edit mode. However, you can manage the Property and Styling settings of the elements in the columns.
When you preview or publish your application, you can switch to edit mode by double-clicking on the relevant row.
You can save values by pressing Enter or by clicking outside the table.
To save the values you edited, you need to save the new values with the action you defined in the on Row Edit Finished event of the Table element.
On Row Edit Finished is an event that is meaningful only in the Inline Grid property of the Table and is the event to define the actions that will be called to add/update records to the database when you finish editing the row.
In the On Row Edit Finished event, after the action that completes the record operation, it is necessary to redefine the action that is the data source of the table.
Let's run a sample scenario where customer address and customer name are listed in an editable structure.
Save Record Action Parameter Definition
With the Inline Grid feature in the applications you develop, you can not only display the data on the Table element, but also edit and save it, and add new functions to your application.
You can give a color change effect as hover on the rows of the Table element you use on list screens.
Select the Table element you want to add hover property to. Click row Hover Bg Color in the Properties panel.
Set the Hover color via color in the panel that opens.
The “Sorter” property of the Table element allows you to sort the data in the table according to a specific sorting criteria (such as A to Z). This property helps you to display the table in ascending or descending order. Here are the general functions of the Sorter feature:
To use the Sorter feature of the Table element:
Kuika's Clear Table Filtering Configs action, specific to the Table element, is used to reset the filtering settings you have applied to your table data. By removing the filtering operations previously performed on the table, it makes all data visible again. In this tutorial, you will learn how to add the Clear Table Filtering Configs action to the Table element.
This training content consists of the following topics:
3. Select “on Config Change > Export > Clear Table Filtering Configs” from the “+ ADD ACTION” drop-down menu.
4. You can select the table from the “Select a Table” field to delete the filtering operations done before.
Kuika's Export Table Configs action, specific to the Table element, allows you to export your table data. You can specify in which format you want to export your data. In this training content, you will learn how to add the Export Table Configs action to the Table element.
This training content consists of the following topics:
3. Select “on Config Change>Export>Export Table Configs” from the “+ADD ACTION” drop-down menu.
Kuika's Import Table Configs action, specific to the Table element, allows you to import your table data from files such as Excel or CSV into your application. You can quickly and efficiently connect data sets to the table element used in the application. In this tutorial, you will learn how to add the Import Table Configs action to the Table element.
This training content consists of the following topics:
3. Select “on Config Change>Export>Import Table Configs” from the “+ADD ACTION” drop-down menu.
Kuika's Reset Table Configs action, specific to the Table element, allows you to delete all configuration settings applied to the table. It resets custom settings, filtering, sort orders, column configurations and all other personalized settings made on the table. In this tutorial, you will learn how to add the Reset Table Configs action to the Table element.
This training content consists of the following topics:
3. Select “on Config Change > Export > Reset Table Configs” from the “+ ADD ACTION” drop-down menu.
4. You can select the table from the “Select a Table” field to delete all previously made configuration settings.
If you reopen a table that you have previously filtered or hidden its columns, it will automatically return with the previous settings. This feature improves your user experience and increases your productivity. It also allows you to create custom table configurations based on department. In this tutorial, you will learn how to save your previous filter and hide settings and how to restore them. This way, you can work seamlessly with previous edits of your table and easily make adjustments to suit your specific needs.
Suppose you type the word you want to search for in the first column of the table and filter it.
In this case, the current state of the table, that is, the applied filters and column settings, is exported as a string in JSON format via the “Export Table Config” action and this data is saved in the “Tables” field in the Managed DB panel.
For example, you created a data table named “TableConfig” and added “Id” and “Json” columns to it. During the “Export” operation, the table JSON data is saved in this table.
When you open the table again or click on the “Import” button, this previously saved configuration is reapplied to the table. It loads the table with the saved filters and column settings.
Once these steps are complete, when you open the table again, it will automatically load with the last saved filter and column settings. This eliminates the need to readjust the table each time.
You can customize user access with “Anonymous Access” and “All Roles Access” authorization options on the screens and elements of your application. While “Anonymous Access” enables access without any account information query, “All Roles Access” provides access by verifying user account information.
For element level authorization, you can manage the security and user experience of your application by selecting the relevant element and editing the “Authorization” settings from the Properties panel.
It allows you to adjust the visibility of screens or elements. Visibility in Elements allows you to regulate visibility based on a specific state or condition. For each element, you can make it always visible, hidden, or visible and hidden depending on a condition.
Allows you to make elements editable.
By customizing your elements with the Styling Panel, you can create unique and impressive user interfaces in your web and mobile applications.
Kuika contains system actions such as Arithmetic, Authorization, Condition, Device, Export, Geolocation, Invers, Local Storage, Multi Language, Navigation, Notification, Payment, UI Control, Process Administration, Process Automation, Trigger, Process Automation, Process Administration and String Operations.
In addition to system actions, you can also use SQL actions that you create yourself.
To add actions to elements, you can use the “+ADD ACTION” button from the Properties panel on the right side.