This function is used to set the text for the Grid column header.
GridControlName is the name of the control. Column Index is the index of the column that needs to be renamed. Header Text is text that has to replace the current column text.
Textbox1.Value= GridSetColHeader(dynamicgrid1, 2, ”Subject”)
The function will change the second column header with the text “Subject”.