Persits Software, Inc. Web Site
Main Menu:  Home |  Manual |  Object Reference |  FAQ |  Download & Buy |  Clients |  Live Demos |  Contact
 Navigator:  Home |  Object Reference |  Output Object
Row Object Caption Object
  Output Object
The Output object is a collection of individual grid elements. This object enables you to access grid items programmatically, and customize the default appearance of your grid. For more intormation on how to use the Output object, see Chapter 8, Chapter 9 and Chapter 10.

The Caption object is populated by a call to Grid.Display( False ) or Grid.BuildForm, and returned by the property Grid.Output.

Properties
CaptionTag
CloseForm
CloseTableTag
FooterRow
Form
HeaderRow
Rows
TableTag

CaptionTag As String (Read-only)

Returns the <CAPTION> tag and its content for the grid.

Usage:
VBScript Response.Write Grid.Output.CaptionTag
XML N/A
Relevant Chapters 8, 9, and 10

CloseForm As String (Read-only)
Returns the closing </FORM> tag. This property should only be used when Grid.BuildForm(False) is called.

Usage:
VBScript Response.Write Grid.Output.CloseForm
XML N/A
Relevant Chapters 9

CloseTableTag As String (Read-only)
Returns the string "</TABLE>".

Usage:
VBScript Response.Write Grid.Output.CloseTableTag
XML N/A
Relevant Chapters 8, 9, and 10

FooterRow As Object (Read-only)
Returns the Row object that represents a grid's footer row.

Usage:
VBScript Set Row = Grid.Output.FooterRow
XML N/A
Relevant Chapters 8, 9, and 10

Form As Object (Read-only)
Returns the <FORM> tag for a form used when Grid.BuildForm( False ) is called. This property should not be used in any other scenario.

Usage:
VBScript Set Row = Grid.Output.Form
XML N/A
Relevant Chapters 9

HeaderRow As Object (Read-only)
Returns the Row object that represents a grid's header row.

Usage:
VBScript Set Row = Grid.Output.HeaderRow
XML N/A
Relevant Chapters 8, 9, and 10

Rows As Object (Read-only)
Returns a collection of Row objects. Each Row object in the collection represents a row in a grid's body between the header and footer.

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

TableTag As String (Read-only)
Returns a grid's <TABLE> tag with all its attributes.

Usage:
VBScript Response.Write Grid.Output.TableTag
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.