Overview | Methods | This Package | All Packages
Sets the text to be displayed in the column's header.
Syntax
public void setCaption( String caption )
Parameters
caption
The caption text to be displayed.
Remarks
By default, the caption property is set to the name of the field that the column is bound to. Setting the caption to null or to an empty string clears the header text but does not hide the header. To hide all column headers in the grid, set the columnHeaders property of the parent DataGrid control to false.
See Also getCaption