Child pages
  • SCROLLBAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
{div:style=}
Wiki Markup
Div
styledisplay: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.

\\ \\ Enter additional information related to this



Enter additional information related to this 'class'

inside

the

\

{div}

macro

with

'id=description'

{div} {div:id=description}{div}\\ {table:id=|class=servoy sSummary}{colgroup}{column:width=80px|padding=0px}{column}{column}{column}{colgroup}{tr:style=height: 30px;}{th:colspan=2}Constants Summary{th}{tr}{tbody}{tr}{td}[Number]{td}{td}[#HORIZONTAL_SCROLLBAR_ALWAYS] Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.{td}{tr}{tbody}{tbody}{tr}{td}[Number]{td}{td}[

Div
iddescription


HTML Table
id
classservoy sSummary
Colgroup Tag
Column
padding0px
width80px

Column

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan2
Constants Summary
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#HORIZONTAL_SCROLLBAR_ALWAYS
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.
Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#HORIZONTAL_SCROLLBAR_AS_NEEDED

...


Used

...

to

...

set

...

the

...

horizontal

...

scroll

...

bar

...

policy

...

so

...

that

...

horizontal

...

scrollbars

...

are

...

displayed

...

only

...

when

...

needed.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#HORIZONTAL_SCROLLBAR_NEVER

...


Used

...

to

...

set

...

the

...

horizontal

...

scroll

...

bar

...

policy

...

so

...

that

...

horizontal

...

scrollbars

...

are

...

never

...

displayed.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#SCROLLBARS_WHEN_NEEDED

...


Used

...

to

...

set

...

the

...

horizontal

...

and

...

vertical

...

scroll

...

bar

...

policy

...

so

...

that

...

both

...

scrollbars

...

are

...

displayed

...


only

...

when

...

needed.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#VERTICAL_SCROLLBAR_ALWAYS

...


Used

...

to

...

set

...

the

...

vertical

...

scroll

...

bar

...

policy

...

so

...

that

...

vertical

...

scrollbars

...

are

...

always

...

displayed.

...

Table Body (tbody)
Table Row (tr)
Table Cell (td)
Number
Table Cell (td)
#VERTICAL_SCROLLBAR_AS_NEEDED

...


Used

...

to

...

set

...

the

...

vertical

...

scroll

...

bar

...

policy

...

so

...

that

...

vertical

...

scrollbars

...

are

...

displayed

...

only

...

when

...

needed.

...

Table Body (tbody)
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
idconstant
classservoy sDetail
Colgroup Tag
Column
padding0px
width100%

Table Row (tr)
styleheight: 30px;
Table Head (th)
colspan1
Constants Details
Table Body (tbody)
idHORIZONTAL_SCROLLBAR_ALWAYS
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
HORIZONTAL_SCROLLBAR_ALWAYS
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are always displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
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;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idHORIZONTAL_SCROLLBAR_AS_NEEDED
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
HORIZONTAL_SCROLLBAR_AS_NEEDED
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are displayed only when needed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
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;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idHORIZONTAL_SCROLLBAR_NEVER
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
HORIZONTAL_SCROLLBAR_NEVER
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal scroll bar policy so that horizontal scrollbars are never displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
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;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idSCROLLBARS_WHEN_NEEDED
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
SCROLLBARS_WHEN_NEEDED
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed only when needed.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the horizontal and vertical scroll bar policy so that both scrollbars are displayed
only when needed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
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;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idVERTICAL_SCROLLBAR_ALWAYS
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
VERTICAL_SCROLLBAR_ALWAYS
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are always displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
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;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idVERTICAL_SCROLLBAR_AS_NEEDED
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
VERTICAL_SCROLLBAR_AS_NEEDED
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Used to set the vertical scroll bar policy so that vertical scrollbars are displayed only when needed.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
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
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
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;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{tbody:id=
Table Row (tr)
classlastDetailRow
Table Cell (td)

Table Body (tbody)
idVERTICAL_SCROLLBAR_NEVER
}{
Table Row (tr)
:
id
=
name
}{td}h6.
Table Cell (td)
VERTICAL_SCROLLBAR_NEVER
{td}{tr}{tr:id=des}{td}{div:class=sIndent}Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.{div}{td}{tr}{tr:id=ret}{td}*Returns*\\{div:class=sIndent}[Number]{div}{td}{tr}{tr:id=sam}{td}*Sample*\\{div:class=sIndent}{code:language=javascript}
Table Row (tr)
iddes
Table Cell (td)
Div
classsIndent
Used to set the vertical scroll bar policy so that vertical scrollbars are never displayed.
Table Row (tr)
idret
Table Cell (td)
Returns
Div
classsIndent
Number
Table Row (tr)
idsam
Table Cell (td)
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;
{code}{div}{td}{tr}{tr:class=lastDetailRow}{td}{td}{tr}{tbody}{table}
Table Row (tr)
classlastDetailRow
Table Cell (td)