After the grid is rendered, it appears that it is impossible to change the header text of any of the columns. I have tried changing the original array that was supplied to 'setHeaderText' as well as calling setHeaderText('value',index). I have tried refreshing just the header, but I have not seen a standard way to do this. The only way I can get it to work is to refresh the whole grid, which causes a flicker that I do not like.
Does anyone know how to change the text in a header cell after the grid has been rendered?
Thanks a million,
Monday, September 18, 2006
You can use:
var headers2 = [ "Ticker2", "Name2", "Mkt cap2", "Sales2", "Employees2" ];