CF_XLS_Sheet

Description

Creates a new sheet within a workbook. This tag can only be used within the CF_XLS_Workbook tag.

Syntax

<CF_XLS_Sheet
   ColumnWidths = "yes" or "no"
   DisplayGridLines = "yes" or "no"
   Name = "filename">
	 
	 ....XLSAdapter tags....
	 
</CF_XLS_Row>

Attributes

Attribute Req/Opt Default Description
ColumnWidths Opt   A comma seperated list of integers representing the width of each column. The width is specified in roughly 1 unit = 1 character. Due to how Excel handles width, this will work out pretty well for the default fonts, larger fonts may require greater widths.
DisplayGridLines Opt Yes Determines whether the gridlines are visible when viewing the workbook.
  • yes: gridlines are visible.
  • no: gridlines are not visible.
Name Opt SheetN Name of the sheet you are creating. If the Name attribute is omitted the sheet is named SheetN where "N" is the number of the sheet starting with 1.

Usage

You can use the following ColdFusion form control tags within the CF_XLS_Sheet tag:

Example

See the examples page.