table-column-customiser
Reactive icon

Table Column Customiser

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 12 July 2023
 by 
5.0
 (3 ratings)
table-column-customiser

Table Column Customiser

Documentation
1.0.0

Details

The TABLE COLUMN CUSTOMISER component is for Reactive Web and Mobile apps which helps user to customize the table columns order and visibility. The customization of the table columns is stored in database for each user.


Key Features:


User can customize the visibility or order of the columns.

Developer or Consumer of this component can make some columns as mandatory and restrict user to customize the mandatory columns (like links or any.,)

Timer is provided in core module trigger it manually to cleanup the DB of these user customization stored in below DB.


DB Structure:

 



Table1 Column Entity is to store the user's table columns customization.

Table Id is the name of table in UI

User ID is the logged-in User Id

Header is the name of the columns

order is the order of the columns in table

Visible is to define the visibility of the column in the table.

Maxwidth is the maximum width of the column.

Language is the current locale (Value of GetCurrentLocale() method.


Developer or consumer of this component should define their records here if he want any of the columns in the table to be mandatory.
So that it will restrict user to do any customization on mandatory columns.


Table Screen Names can be used if you want to store the user’s customization data of table columns in different tables for different tables. In this case you can create the Table1 Column entity again and change its name and handle it each action it is used by TableScreenNameId for different tables.


Site Property:

 

TimerCustomiser_EnableDeleteAll in (TableColumnCustomiserCore_CS):

Default value - False

This Site property can be true to enable TableCustomiser_DeleteAllTableRecords timer to execute which will clean up the Table1Column Entity.


Timer:

 

TableCustomiser_DeleteAllTableRecords - Should be manually triggered through service center. Enable the TimerCustomiser_EnableDeleteAll site property and trigger this timer to delete or cleanup the data in Table1Columns entity.


How to Use:

 

Use this component above the table in your screen. Assign the following input parameters.



And also always use the below actions whenever the date of the table is refreshed in same below order.