84
CFML Language Reference
Example
<!--- This example shows the CFGRIDCOLUMN tag in action --->
...
<CFGRID NAME="FirstGrid" WIDTH="450"
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"
( )
Places parentheses around the mask if the number is
less than 0.
+
in front of positive numbers, - (minus sign) in
front of negative numbers.
-
Place " " (space) in front of positive, - (minus sign) in
front of negative numbers.
,
Separates thousands with commas.
L,C
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 the formatted number. $
must appear as the first character of the mask.
^
Separates left from right formatting.
NumberFormat Mask Characters (Continued)
Character
Meaning
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...