DataTable-Header with variable

i define the columns with variable-headers
{id:“t03”, batch:0, header:{text:days[2].datum, rotate:true, css:{‘color’:‘red’} }, width:35 },
The Array days is innitialy with hardcoded values
Before i fill the rows i make change the array days (data from server)
days = JSON.parse(text).days;
And after that i refresh the columns

But i see only the old values from the Array days in the header. What i do wrong?
Thank you

Good day @ObiWanKenobi,

Can you please a more specific example in our snippet tool? Thaks in advance :wink: