CGrid:SetSH_Title
The SetSH_Title method sets the title for a side heading cell. If there is more than one side heading column, the specific column must also be specified. The default (first) side heading column is in side heading column 1. Going leftward from the grid, the second side heading is in column 2, and so on.
Note: The side heading column numbering differs with the CGridView class. Going leftward from the grid, the CGrid side headings are numbered 1, 2, 3, ..., whereas the CGridView side headings are numbered 0, -1, -2, ...
CGrid:SetSH_Title( nRow, sTitle )
CGrid:SetSH_Title( nRow, sTitle, nSideCol )
nRow is the side heading row number to set.
sTitle is the title to set.
nSideCol is the optional side column to set if there is more than one side heading column. The default side heading is in side heading column 1
The following script sets the title for default side heading row 2 to "Image 2":
|
-- create a new CGrid object |
-- assemble the grid |
|
|
-- set the title for row 2 to "Image 2" |
CGrid class, SetSH_Titles, SetTH_Title
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.