DADiSP Worksheet Functions > Function Categories > Display and Manipulation > SETCOLHEADER
Sets the text of a column header in a Window.
SETCOLHEADER(win, "text", colnum)
win |
- |
Optional. Window reference. Defaults to the current Window. |
"text" |
- |
A string, the column header text. |
column |
- |
An integer, the number of the column to set. |
setcolheader("My Data", 2)
sets the column header of the 2nd column in the current Window to "My Data".
setcolheader("Header 2", "Header 4", "Header 7", 2, 4, 7)
sets the column headers of the of the 2nd , 4th, and 7th columns in the current Window.
setcolheader(W1, "x^2", "y^2", "R_0 + eta")
sets the column headers of the first three columns of W1 using TeX formatting.
The column header can also be set by left clicking the header when the Window is displayed in TABLEVIEW.