change table size at runtime

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.

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


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