Persits Software, Inc. Web Site
Main Menu:  Home |  Manual |  Object Reference |  FAQ |  Download & Buy |  Clients |  Live Demos |  Contact
 Navigator:  Home |  Object Reference |  Row Object
Block Object Output Object
  Row Object
The Row object represents a single row within a grid's Output representation, The latter is populated by calling Grid.Display(False) or Grid.BuildForm.

An instance of the Row object can be obtained via the properties Output.HeaderRow and Output.FooterRow, and the collection Output.Rows.

Properties
Blocks
CloseForm
CloseTR
Form
Index
TR

Blocks As Object (Read-only)

Returns a collection of Block objects. Each Block object represents a single cell within a grid row.

Usage:
VBScript For Each Block in Row.Blocks
 ...
Next
XML N/A
Relevant Chapters 8, 9, and 10

CloseForm As String (Read-only)
Returns the string "</FORM>".

Usage:
VBScript Response.Write Row.CloseForm
XML N/A
Relevant Chapters 8, 9, and 10

CloseTR As String (Read-only)
Returns the string "</TR>".

Usage:
VBScript Response.Write Row.CloseTR
XML N/A
Relevant Chapters 8, 9, and 10

Form As String (Read-only)
Returns the <FORM> tag with all its attributes and hidden variables for a form that AspGrid generates for each of its body rows, as well as the footer row.

If this Row object was obtained via Output.HeaderRow, this property is empty because AspGrid does not generate a single form for its header. Each column receives its individual header form if sorting is enabled on that column.

Usage:
VBScript Response.Write Row.Form
XML N/A
Relevant Chapters 8, 9, and 10

Index As Long (Read-only)
Returns the 1-based index of this row as it appears in a grid's body. If this row object is a header or footer row, this property returns 0.

Usage:
VBScript Response.Write Row.Index
XML N/A
Relevant Chapters 8, 9, and 10

TR As String (Read-only)
Returns the string "<TR>".

Usage:
VBScript Response.Write Row.TR
XML N/A
Relevant Chapters 8, 9, and 10

Table Object Output Object

Search AspGrid.com
  This site is owned and maintained by Persits Software, Inc. Copyright © 2000 - 2010. All Rights Reserved.