Provides a table of tabular information from a database table or query.
Attribute |
Req/Opt |
Default |
Description |
---|---|---|---|
pkfield |
optional |
|
... |
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. |
CFC_Component |
optional |
|
The component to be used for actions by cf_sebTable. |
CFC_GetMethod |
optional |
|
If provided with CFC_Component, the method to use to get data for the table - superceding the table and query attributes, if they exist. |
CFC_GetArgs |
optional |
|
If provided with CFC_GetMethod, additional arguments to pass to the CFC_GetMethod method. |
CFC_DeleteMethod |
optional |
|
If provided with CFC_Component, used for deleting a record instead of a sql deletion from the table. |
CFC_DeleteArgs |
optional |
|
If provided with CFC_DeleteArgs, additional arguments to pass to the CFC_DeleteArgs method. |
CFC_SortMethod |
optional |
|
If provided with CFC_Component, the method to sort data from the sorter column. |
CFC_SortListArg |
optional |
|
If provided with CFC_SortMethod, the name of the argument passed to the CFC_SortMethod containing the ordered list of primary key fields (from pkfield). |
CFC_SortArgs |
optional |
|
If provided with CFC_SortMethod, additional arguments to pass to the CFC_SortMethod method. |
CFC_Method |
optional |
|
The method to call when the table/form is submitted. XXXXXX - more about usage. |
CFC_MethodArgs |
optional |
|
A structure of arguments to pass to the CFC_Method argument. |
CFC_RowMethod |
optional |
|
XXXXXX - more about usage. |
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. |