Spec-Zone.ru › ColdFusion

cfcol

Defines table column header, width, alignment, and text. Used within a cftable tag.

<cfcol header="" text="">

cfcol(header="", text="");

The cfcol tag was REMOVED from ColdFusion 2025 and has been DEPRECATED since ColdFusion 2016

Discouraged: The use of tags that generate client side UI code is generally discouraged by the CFML community. See: http://static.raymondcamden.com/cfuitherightway/cftable/index.html

  • CF
  • Lucee
  • See Also: cftable

    Attribute Reference

    header string
    Required

    Column header text. To use this attribute, you must also use the cftable colHeaders attribute.

    width numeric
    Default: 20

    Column width. If the length of data displayed exceeds this value, data is truncated to fit. To avoid this, use an HTML table tag.

    align string
    Default: left

    Column alignment
    Values:
    • left
    • center
    • right

    text string
    Required

    Double-quotation mark-delimited text; determines what to display. Rules: same as for cfoutput sections. You can embed hyperlinks, image references, and input controls

    Compatibility

    ColdFusion:

    DEPRECATED since version 2016 REMOVED in version 2025

    Links more information about cfcol

    • ColdFusion UI The Right Way: CFTable - Shows how to implement it using HTML

    Examples
    Sample code using the cfcol tag

    © 2012–present Foundeo, Inc. and the CFDocs contributors.
    Licensed under the MIT License.
    ColdFusion is a trademark of Adobe Systems Incorporated.
    https://cfdocs.org/cfcol

    Spec-Zone.ru

    Настройки Оффлайн Что нового Помощь О нас
    Spec-Zone .ru
    спецификации, руководства, описания, API