Child pages
  • SCROLLBAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Divcache
Div
iddescription
HTML Table
id
classservoy sSummary
Colgroup Tag
Col
width80px
Col
Table Head (thead)
Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)HORIZONTAL_SCROLLBAR_ALWAYS
styleindexdisplay:none

DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
THE STRUCTURE OF THE CONTENT IS VITAL IN BEING ABLE TO AUTO UPDATE THE CONTENT THROUGH THE DOC GENERATOR.

true
refresh100d
showRefreshtrue
iddoc
titleRefresh page
showDatetrue
retryEnable
id

servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClient

Table Cell (td)
Number
Table Cell (td)HORIZONTAL_SCROLLBAR_AS_NEEDED
servoy sSummary12%30%58%height: 30px;3Constants SummaryUsed to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed. Table Row (tr)Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)HORIZONTAL_SCROLLBAR_NEVER
Table Cell (td)
Number
Table Cell (td)SCROLLBARS_WHEN_NEEDED
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed. Table Row (tr)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)
Number
Table Cell (td)VERTICAL_SCROLLBAR_ALWAYS
Table Cell (td)
Number
Table Cell (td)VERTICAL_SCROLLBAR_AS_NEEDED
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed. Table Row (tr)Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed. Table Row (tr)
Table Cell (td)
Number
Table Cell (td)VERTICAL_SCROLLBAR_NEVER
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed. HTML Table

constantclass Colgroup Tag Colcolspanservoy sDetail2width100%

Col
Table Head (thead) Table Row (tr)styleheight:30px; Table Head (th)colspan2Constants Details Table Body (tbody)idHORIZONTAL_SCROLLBAR_ALWAYS Table Row (tr)idname

Table Cell (td)id

HORIZONTAL_SCROLLBAR_ALWAYS

Table Row (tr)des Table Cell (td) DivclassidsIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.
Table Row (tr)tdret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
Number Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)idSmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
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;
sIdentjavascriptlastDetailRowHORIZONTAL_SCROLLBAR_AS_NEEDED Table Row (tr)idname

Table Cell (td)

HORIZONTAL_SCROLLBAR_AS_NEEDED

Table Row (tr)id Table Cell (td) Divclass

dessIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.
tr
idret

Table Cell (td)

Returns

divsIndentclients

classid

Supported Clients

sIndent
Number Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)id

Sample

Div
classsIndent
Code Block
languagejavascript
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;
sIdentjavascriptlastDetailRowHORIZONTAL_SCROLLBAR_NEVER Table Row (tr)idname

Table Cell (td)id

HORIZONTAL_SCROLLBAR_NEVER

Table Row (tr) Table Cell (td) DivclassdessIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.
Table Row (tr)idtdret

Returns

divsIndentclients

classid

Supported Clients

sIndent
Number Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)id

Sample

Div
classsIndent
Code Block
languagejavascript
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;
sIdentjavascriptlastDetailRowSCROLLBARS_WHEN_NEEDED Table Row (tr)idname

Table Cell (td)id

SCROLLBARS_WHEN_NEEDED

Table Row (tr)classdes Table Cell (td) DivsIndent
Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed


only when needed.
Table Row (tr)idtd
ret

Returns

divsIndentclients

classid

Supported Clients

sIndent
Number Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)id

Sample

Div
classsIndent
Code Block
languagejavascript
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;
sIdentjavascriptlastDetailRowVERTICAL_SCROLLBAR_ALWAYS Table Row (tr)idtdname

VERTICAL_SCROLLBAR_ALWAYS

Table Row (tr)idclass

des Table Cell (td) DivsIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.
Table Row (tr)id
ret

Table Cell (td)

Returns

divsIndentclients

classid

Supported Clients

sIndent
Number Table Row (tr)SmartClient,WebClient,NGClientsam

Table Cell (td)

Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)id

Sample

Div
classsIndent
Code Block
languagejavascript
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;
sIdentjavascriptlastDetailRowVERTICAL_SCROLLBAR_AS_NEEDED Table Row (tr)idname

Table Cell (td)id

VERTICAL_SCROLLBAR_AS_NEEDED

Table Row (tr)classdes Table Cell (td) DivsIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.
Table Row (tr)idret

Table Cell (td)

Returns

divsIndentclients

classtd

Supported Clients

sIndent
Number Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td)
 
Table Body (tbody)idSmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
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;
sIdentjavascriptlastDetailRowVERTICAL_SCROLLBAR_NEVER Table Row (tr)idname

Table Cell (td)id

VERTICAL_SCROLLBAR_NEVER

Table Row (tr) Divclassdes Table Cell (td)sIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.
Table Row (tr)idtd
ret

Returns

divsIndentclients

classtd

Supported Clients

sIndent
Number Table Row (tr)
idsam
Table Row (tr)
classlastDetailRow
Table Cell (td) SmartClient,WebClient,NGClientsam

Sample

Div
classsIndent
Code Block
languagejavascript
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;
sIdentjavascriptlastDetailRow