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
$$(“mainTable”).refreshColumns();
But i see only the old values from the Array days in the header. What i do wrong?
Thank you