 |
Block Object
The Block object
represents a single block (cell)
within a grid row including its opening and closing <TD>
or <TH> tags, opening and closing <FONT> tags and actual values.
An instance of the Block object can be obtained via
the collection Row.Blocks.
CloseFont As String (Read-only)
Returns the string "</FONT>".
Usage:
VBScript |
Response.Write Block.CloseFont
| XML |
N/A
|
Relevant Chapters |
8, 9, and 10
|
CloseTD As String (Read-only)
Returns the string "</TD>".
Usage:
VBScript |
Response.Write Block.CloseTD
| XML |
N/A
|
Relevant Chapters |
8, 9, and 10
|
Font As String (Read-only)
Returns the <FONT> tag (if applicable) with all its attributes for this block.
Usage:
VBScript |
Response.Write Block.Font
| XML |
N/A
|
Relevant Chapters |
8, 9, and 10
|
Index As Long (Read-only)
Returns a 1-based index of this block within a row.
For example, if a grid shows left-side control buttons, the block
representing the cell with the buttons returns index 1, the first
data block returns index 2, etc.
Usage:
VBScript |
Response.Write Block.Index
| XML |
N/A
|
Relevant Chapters |
8, 9, and 10
|
TD As String (Read-only)
Returns the <TD> tag with all its attributes for this block.
Usage:
VBScript |
Response.Write Block.TD
| XML |
N/A
|
Relevant Chapters |
8, 9, and 10
|
Value As String (Read-only)
Returns this block's value. This can either be a number/string
(if this row is in the regular edit mode),
or HTML code for an edit control (if this row is in the edit mode).
Usage:
VBScript |
Response.Write Block.Value
| XML |
N/A
|
Relevant Chapters |
8, 9, and 10
|
|
 |
|
|
 |