Hello everyone,
I'm having layout problems (but specifically header formatting) with a datatable after including a scrollbar in it. I even managed to get the table to render itself satisfactorily when the scrollbar was present. The problem was that when the scrollbar didn't appear, the code I did ended up harming the layout of the table.
I would like to know if there is any method or attribute on the part of the table where I can know if the scrollbar is present or not. Knowing if the scroll is present or not, it is easy to apply the formatting codes.
Observation: this table of my it is updated from time to time to receive data. And always in the second update, it is rendered with the correct layout (it only gets the layout broken in the first rendering). Does anyone have any idea why this?