Access grid header element

I am adding grid header as label dynamically through the solution model At runtime, why can’t I access grid header element through forms[formname].element[gridLabelName]?

Labelfor label from tableview is not scriptable, so forms[formname].element[gridLabelName] is not supported. Only initial values are taken to style the table header.

All right! thanks!