134
Character
+
-
,
L,C
$
^
Example
<!--- This example shows the cfgridcolumn tag in action --->
...
<cfgrid name = "FirstGrid" width = "450"
Meaning
Places + in front of positive numbers, - in front of negative
numbers.
Place " " (space) in front of positive numbers, - in front of negative
numbers.
Separates thousands with commas.
Specifies left-justify or center-justify a number within the width of
the mask column. L or C must appear as the first character of the
mask. By default, numbers are right-justified.
Places a dollar sign in front of a formatted number. $ must appear
as the first character of the mask.
Separates left from right formatting.
query = "GetCourses" insert = "Yes"
delete = "Yes" sort = "Yes"
font = "Tahoma" bold = "No" italic = "No"
appendKey = "No" highlightHref = "No"
gridDataAlign = "LEFT"
gridLines = "Yes" rowHeaders = "Yes"
rowHeaderAlign = "LEFT" rowHeaderItalic = "No"
rowHeaderBold = "No" colHeaders = "Yes"
colHeaderAlign = "LEFT" colHeaderItalic = "No"
colHeaderBold = "No" selectColor = "Red"
selectMode = "EDIT" pictureBar = "No"
insertButton = "To insert" deleteButton = "To delete"
sortAscendingButton = "Sort ASC"
sortDescendingButton = "Sort DESC">
<cfgridcolumn name = "Course_ID" dataAlign = "LEFT"
bold = "No" italic = "No"
select = "No" display = "No"
headerBold = "No" headerItalic = "No">
<cfgridcolumn name = "Dept_ID" header = "Department"
headerAlign = "LEFT" dataAlign = "LEFT" bold = "Yes"
italic = "No"
select = "Yes" display = "Yes" headerBold = "No"
headerItalic = "Yes">
<cfgridcolumn name = "CorNumber" header = "Course ##"
headerAlign = "LEFT" dataAlign = "LEFT"
bold = "No" italic = "No"
select = "Yes" display = "Yes"
headerBold = "No" headerItalic = "No">
<cfgridcolumn name = "CorName" header = "Name"
headerAlign = "LEFT" dataAlign = "LEFT"
font = "Times" bold = "No"
italic = "No" select = "Yes"
display = "Yes" headerBold = "No"
Chapter 2 ColdFusion Tags
Need help?
Do you have a question about the COLDFUSION 5 - CFML and is the answer not in the manual?