Hi Everyone,
i am working on displaying the data vertically to show a comparison based on fields.
the structure of the table has to be vertical as marked in green
for example All billed attributes are together while all recommended attributes are together
categories are aligned horizontally while values are aligned vertically
Hello Saif,
Check this post here
If it works mark as a solution please.
Best regards.
Hi Jose, can we not implement it using a a structure. since the link you have shared works only for traditional application
Dispite the post is a "traditional app" problem, JavaScript runs in every OutSystems application. The solution given by Remco seems to work.
the ideal display is shown in the image above marked in green and yellowwhile the one i could manage is using two different tables as shown below -
Hi Saif,
you could choose to simply have a structure of 3 text attributes, name, billed, recommended, and populate a list of this structure with each piece of information you want to show.
You would have to use functions for formatting in the assign statement instead of in screen expression.
If you want to make it really fancy, you can add a 4th attribute to the structure with a css class to apply to the values of that row, for example if you would want to align numerics to the right, etc.
See attached oml for a quick example,
Dorine