Table Row (tr) |
---|
| Table Head (th) |
---|
| Constants Details |
|
Table Body (tbody) |
---|
id | HORIZONTAL_SCROLLBAR_ALWAYS |
---|
| |=}{:=}{td}h6.{td}{tr}{tr:id=des}{td}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_des|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_des|trigger=none|class=sIndent}Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_snc|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_prs|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_ret|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_ALWAYS_sam|trigger=none}{code:language=javascript} Table Row (tr) |
---|
| Table Cell (td) |
---|
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var alwaysScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 230, 10, 100, 100);
alwaysScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_ALWAYS | SM_SCROLLBAR.VERTICAL_SCROLLBAR_ALWAYS;
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | HORIZONTAL_SCROLLBAR_AS_NEEDED |
---|
| |=}{:=}{td}h6.{td}{tr}{tr:id=des}{td}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_des|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_des|trigger=none|class=sIndent}Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_snc|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_prs|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_ret|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_AS_NEEDED_sam|trigger=none}{code:language=javascript} Table Row (tr) |
---|
| Table Cell (td) |
---|
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var neededScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 120, 10, 100, 100);
neededScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_AS_NEEDED | SM_SCROLLBAR.VERTICAL_SCROLLBAR_AS_NEEDED;
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | HORIZONTAL_SCROLLBAR_NEVER |
---|
| |=}{:=}{td}h6.{td}{tr}{tr:id=des}{td}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_des|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_des|trigger=none|class=sIndent}Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:HORIZONTAL_SCROLLBAR_NEVER_snc|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:HORIZONTAL_SCROLLBAR_NEVER_prs|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:HORIZONTAL_SCROLLBAR_NEVER_ret|text=|trigger=button}{sub-section}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:HORIZONTAL_SCROLLBAR_NEVER_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:HORIZONTAL_SCROLLBAR_NEVER_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:HORIZONTAL_SCROLLBAR_NEVER_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:HORIZONTAL_SCROLLBAR_NEVER_sam|trigger=none}{code:language=javascript} Table Row (tr) |
---|
| Table Cell (td) |
---|
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var noScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 10, 10, 100, 100);
noScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_NEVER | SM_SCROLLBAR.VERTICAL_SCROLLBAR_NEVER;
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=|=}{:=}{td}h6.{td}{tr}{tr:id=des}{td}{sub-section:SCROLLBARS_WHEN_NEEDED_des|text=|trigger=button}{sub-section}{sub-section:SCROLLBARS_WHEN_NEEDED_des|trigger=none|class=sIndent}Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed
only when needed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:SCROLLBARS_WHEN_NEEDED_snc|text=|trigger=button}{sub-section}{sub-section:SCROLLBARS_WHEN_NEEDED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:SCROLLBARS_WHEN_NEEDED_prs|text=|trigger=button}{sub-section}{sub-section:SCROLLBARS_WHEN_NEEDED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:SCROLLBARS_WHEN_NEEDED_ret|text=|trigger=button}{sub-section}{sub-section:SCROLLBARS_WHEN_NEEDED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:SCROLLBARS_WHEN_NEEDED_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SCROLLBARS_WHEN_NEEDED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:SCROLLBARS_WHEN_NEEDED_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SCROLLBARS_WHEN_NEEDED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:SCROLLBARS_WHEN_NEEDED_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:SCROLLBARS_WHEN_NEEDED_sam|trigger=none}{code:language=javascript} Table Row (tr) |
---|
| Table Cell (td) |
---|
Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed only when needed. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var neededScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 120, 10, 100, 100);
// This is the default option, but if you really want you can set it explicitly.
neededScrollbars.scrollbars = SM_SCROLLBAR.SCROLLBARS_WHEN_NEEDED;
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | VERTICAL_SCROLLBAR_ALWAYS |
---|
| |=}{:=}{td}h6.{td}{tr}{tr:id=des}{td}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_des|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_des|trigger=none|class=sIndent}Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:VERTICAL_SCROLLBAR_ALWAYS_snc|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:VERTICAL_SCROLLBAR_ALWAYS_prs|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:VERTICAL_SCROLLBAR_ALWAYS_ret|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:VERTICAL_SCROLLBAR_ALWAYS_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:VERTICAL_SCROLLBAR_ALWAYS_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:VERTICAL_SCROLLBAR_ALWAYS_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_ALWAYS_sam|trigger=none}{code:language=javascript} Table Row (tr) |
---|
| Table Cell (td) |
---|
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var alwaysScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 230, 10, 100, 100);
alwaysScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_ALWAYS | SM_SCROLLBAR.VERTICAL_SCROLLBAR_ALWAYS;
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | VERTICAL_SCROLLBAR_AS_NEEDED |
---|
| |=}{:=}{td}h6.{td}{tr}{tr:id=des}{td}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_des|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_des|trigger=none|class=sIndent}Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_snc|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_prs|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_ret|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_AS_NEEDED_sam|trigger=none}{code:language=javascript} Table Row (tr) |
---|
| Table Cell (td) |
---|
Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var neededScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 120, 10, 100, 100);
neededScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_AS_NEEDED | SM_SCROLLBAR.VERTICAL_SCROLLBAR_AS_NEEDED;
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id= Table Body (tbody) |
---|
id | VERTICAL_SCROLLBAR_NEVER |
---|
| |=}{:=}{td}h6.{td}{tr}{tr:id=des}{td}{sub-section:VERTICAL_SCROLLBAR_NEVER_des|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_NEVER_des|trigger=none|class=sIndent}Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=snc}{td}*Since*\\{sub-section:VERTICAL_SCROLLBAR_NEVER_snc|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_NEVER_snc|trigger=none|class=sIndent} Replace with version info{sub-section}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=prs}{td}*Parameters*\\{sub-section:VERTICAL_SCROLLBAR_NEVER_prs|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_NEVER_prs|trigger=none|class=sIndent}{sub-section}{td}{tr}{builder-show}{tr:id=ret}{td}*Returns*\\{sub-section:VERTICAL_SCROLLBAR_NEVER_ret|text=|trigger=button}{sub-section}{sub-section:VERTICAL_SCROLLBAR_NEVER_ret|trigger=none|class=sIndent}[Number]{sub-section}{td}{tr}{builder-show:permission=edit}{tr:id=see}{td}*Also see*\\{sub-section:VERTICAL_SCROLLBAR_NEVER_see|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_NEVER_see|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{builder-show:permission=edit}{tr:id=link}{td}*External links*\\{sub-section:VERTICAL_SCROLLBAR_NEVER_link|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_NEVER_link|trigger=none}{sub-section}{div}{td}{tr}{builder-show}{tr:id=sam}{td}*Sample*\\{sub-section:VERTICAL_SCROLLBAR_NEVER_sam|text=|trigger=button}{sub-section}{div:class=sIndent}{sub-section:VERTICAL_SCROLLBAR_NEVER_sam|trigger=none}{code:language=javascript} Table Row (tr) |
---|
| Table Cell (td) |
---|
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed. |
|
Table Row (tr) |
---|
| Table Cell (td) |
---|
Sample
Div |
---|
| Code Block |
---|
|
var noScrollbars = form.newField('my_table_text', JSField.TEXT_AREA, 10, 10, 100, 100);
noScrollbars.scrollbars = SM_SCROLLBAR.HORIZONTAL_SCROLLBAR_NEVER | SM_SCROLLBAR.VERTICAL_SCROLLBAR_NEVER;
|
|
|
|
| {code}{sub-section}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table} |