Is there anyway to change the column names on the fly?

So here’s what I have to do. I need to display some data that is in “real time”, time frame is usually a week. So I need to present the data for the past 20 weeks and the next 20 weeks. I would like it to say “week 1” for the first week of the and so on. The thing is, the week names will be different based on which week of the year it is. Is there any way to fill the column names from variables? I’m not sure of the best way to do this. I am getting the data from the RoR xml builder. Thanks for your help.

It looks like creating a javascript string might be the easiest way to do this? I could generate the names based on the current week? If there are any other options please let me know. This is the only factor that dhtmlx is not too clear on, for what I need. Thanks!!

i am also facing same , any one there to respond??

You can change column label with setColumnLabel() method … olumnlabel

thank you…