show / hide menu

GridSetColumnHeader

This function is used to set the text for the Grid column header.

Syntax:

GridSetColHeader(GridControlName,Column Index,HeaderText)

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.

Example:

Textbox1.Value= GridSetColHeader(dynamicgrid1, 2, ”Subject”)

The function will change the second column header with the text “Subject”.