Tag Documentation

cf_sebTable

Description

Provides a table of tabular information from a database table or query.

Attributes

Data Retrieval Method: (all) table | query | CFC
(use above links to show only relevant attributes)

Attribute

Req/Opt

Default

Description

query

optional

 

The name of the query that cf_sebTable should use. Required if table and datasource are not provided.

pkfield

required

 

The name of the primary key field for the table cf_sebTable should use. Required for use with table and query.

librarypath

optional

lib/

The path to the client-side library. This will include any required JavaScript as well as the code for each skin.

isAddable

optional

true

Indicates whether an add link will be provided.

isEditable

optional

true

Indicates whether an edit link will be provided.

isDeletable

optional

false

Indicates whether a delete link will be provided.

isRowClickable

optional

false

Indicates whether clicking anywhere in a given row will activate the default edit link.

showHeader

optional

true

Indicates if header (label) should be displayed.

label

optional

 

The label for use in the cf_sebTable header link (defaults to name of table).

labelSuffix

optional

Manager

The word that appears after the label.

CatchErrTypes

optional

 

A list of error-types that should be caught by cf_sebTable as part of server-side validation.

xhtml

optional

true

Indicates whether XHTML-compliant code should be used.

maxrows

optional

 

The maximum number of rows to display on one page (after which paging options are created).

maxpages

optional

 

The maximum number of pages to display in the paging links (after which options are created to navigate groups of pages).

skin

optional

 

The skin used by cf_sebTable (from librarypath/skins). Current options are [carpediem,graybar,panels,plain]. You can also make your own skin (see below).

skinpath

optional

#attributes.librarypath#skins/

The path to the CSS files for each skin.

class

optional

 

The class applied to the table produced by cf_sebTable.

style

optional

 

The style applied to the table produced by cf_sebTable.

width

optional

 

The width of the table produced by cf_sebTable.

editpage

optional

 

The url of the link target of the default edit link.

urlvar

optional

 

The name of the variable by which the value of the pkfield is passed to the editpage.

classOdd

optional

 

The class provided to each odd row of the table.

styleOdd

optional

 

The style provided to each odd row of the table.

classEven

optional

 

The class provided to each even row of the table.

styleEven

optional

 

The style provided to each even row of the table.

classOver

optional

 

The class provided to each row of the table as the mouse moves over the row.

orderBy

optional

 

The field by which to order the table (or a full ORDER BY clause).

RolodexDelim

optional

The character(s) to put between each letter in the rolodex.

rowlimit

optional

 

If provided (and greater than 0), the number after which no "add" link will display.

isForm

optional

Submit

Indicates whether table should act as form (it can generally determine this).

TableSubmitValue

optional

Submit

If that table is also being used as a form, the value of the submit button.