‎2012 Jul 03 6:27 PM
Hi All,
I need dynamic columns in table control depending on number column in my internal table.Number of column could be 1 to 100 depending on certain condition.
Please help.
Regards,
Mohit
‎2012 Jul 03 6:39 PM
‎2012 Jul 03 8:52 PM
Hi,
In the table control structure (of type CXTAB_CONTROL), you have a component COLS which is a table type that contains one line for every column; for the column you want to hide, change the INVISIBLE attribute to "X" of the corresponding COLS line. So, define 100 columns in the control and hide the ones you want at runtime.
Sandra