How could I change the Column Header for one of the columns in a grid?
I don’t want it dynamic. All I am trying to do is :
If my flagVar = 1, then column header = “xyz”
else “pqr”.
I am setting the Header while initializing the grid and then I simply use clearandLoad() API to refresh the XML.
In this case, using grid.setHeader() doesn’t work.
Please advice.