75
Views
2
Comments
change table size at runtime
Question

Hi,

Table A  width is of 12 col. when click on table A records, Table A width should decrease to 8 col and new table should appear on right side table A.

2026-02-26 06-29-24
Rahul
 
MVP

sharad pawar wrote:

Hi,

Table A  width is of 12 col. when click on table A records, Table A width should decrease to 8 col and new table should appear on right side table A.

HI Sharad,

you can use if else condition for this. take a variable of boolean type and use in if else condition create a action for table click and set it false to hide columns and show your new table.


Thanks

Rahul Sahu


UserImage.jpg
Gabriel Cardoso

Rahul Sahu's solution will definitely do the job, using a control var to help with the tables' width display.  


Since you only want to change Table A's width, OutSystems uses .ThemeGrid_Width<Cols> class to apply the width to a certain element, being ".ThemeGrid_Width12 { width: 100%}". You can try to play around with these classes for table A's width to avoid re-rendering tableA when tableB appears

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.