I have a requirement where I need to generate columns dynamically in the UI screen based on the API response. Where few columns are static (i.e 10 columns) and others are dynamic (it maybe of 20+) that depends on the API response . And also if there is no cell value in some columns , I need to hide those columns.
***Edited by Moderator: Pooja Gadige to add capability tag***
@ShanmugaPriyaR16712225 I am assuming that the data is being displayed using Table structure. If yes, I feel that displaying 10+ columns would be make UI clumsy and also hard to interpret the information. I would suggest you to display 4-5 columns with important information and show the remaining data/columns on expansion of each row.
But if you still go with your design , you can try the inline style on each column by making use of this jsp tag.