メインコンテンツまでスキップ
バージョン: 20 R5 BETA

クラス

4D View Pro では、以下のクラスを使用することができます。

LineBorder

.color

.color : Text

The .color property is the color of the border. デフォルト = black

.style

.style : Integer

The .style property is the style of the border. デフォルト = empty。

TableColumn

.dataField

.dataField : Text

The .dataField property contains the table column's property name in the data context.

.formatter

.formatter : Text

The .formatter property contains the table column's formatter.

.name

.name : Text

The .name property contains the table column's name (mandatory).

TableOptions

.allowAutoExpand

.allowAutoExpand : Boolean

The .allowAutoExpand property indicates whether to expand columns or rows of the table when values are added in empty adjacent cells. デフォルト = true

.bandColumns

.bandColumns : Boolean

The .bandColumns property indicates whether to display an alternating column style. デフォルト = false

.bandRows

.bandRows : Boolean

The .bandRows property indicates whether to display an alternating row style. デフォルト = true

.highlightLastColumn

.highlightLastColumn : Boolean

The .highlightLastColumn property indicates whether to highlight the last column. デフォルト = false

.highlightFirstColumn

.highlightFirstColumn : Boolean

The .highlightFirstColumn property indicates whether to highlight the first column. デフォルト = false

.showFooter

.showFooter : Boolean

The .showFooter property indicates whether to display a footer. デフォルト = false

.showHeader

.showHeader : Boolean

The .showHeader property indicates whether to display a header. デフォルト = true

.showResizeHandle

.showResizeHandle : Boolean

The .showResizeHandle property indicates whether to display the resize handle for tables that don't have a source. デフォルト = false

.tableColumns

.tableColumns : Collection

The .tableColumns property is a collection of cs.ViewPro.TableColumn objects used to create the table's columns.

.theme

.theme : cs.ViewPro.TableThemeOptions

The .theme property defines a table theme. Can also be a text (name of a native SpreadJS theme).

See the native SpreadJS themes.

.useFooterDropDownList

.useFooterDropDownList : Boolean

The .useFooterDropDownList property indicates whether to use a dropdown list in footer cells that calculate the total value of a column. デフォルト = false

TableStyle

.backColor

.backColor : Text

The .backColor property is the background color of the table.

.forecolor

.forecolor : Text

The .forecolor property is the foreground color of the table.

.font

.font : Text

The .font property is the font name (see Fonts and text) of the table.

.textDecoration

.textDecoration : Integer

The .textDecoration property is the text decoration of the table (see Fonts and text).

.borderLeft

.borderLeft : cs.ViewPro.LineBorder

The .borderLeft property is the left border line of the table .

.borderRight

.borderRight : cs.ViewPro.LineBorder

The .borderRight property is the right border line of the table .

.borderBottom

.borderBottom : cs.ViewPro.LineBorder

The .borderBottom property is the bottom border line of the table .

.borderHorizontal

.borderHorizontal : cs.ViewPro.LineBorder

The .borderHorizontal property is the horizontal border line of the table .

.borderVertical

.borderVertical : cs.ViewPro.LineBorder

The .borderVertical property is the vertical border line of the table .

TableTheme

.bandRows

.bandRows : Boolean

The .bandRows property indicates whether to display an alternating row style.

.bandColumns

.bandColumns : Boolean

The .bandColumns property indicates whether to display an alternating column style.

.highlightLastColumn

.highlightLastColumn : Boolean

The .highlightLastColumn property indicates whether to highlight the last column.

.highlightFirstColumn

.highlightFirstColumn : Boolean

The .highlightFirstColumn property indicates whether to highlight the first column.

.theme

.theme : cs.ViewPro.TableThemeOptions
.theme : Text

The .theme property defines a table theme. If Text: name of a native SpreadJS theme.

TableThemeOptions

.firstColumnStripSize

.firstColumnStripSize : Integer

The .firstColumnStripSize property is the size of the first alternating column. デフォルト = 1

.firstColumnStripStyle

.firstColumnStripStyle : cs.ViewPro.TableStyle

The .firstColumnStripStyle property is the style of the first alternating column.

.firstFooterCellStyle

.firstFooterCellStyle : cs.ViewPro.TableStyle

The .firstFooterCellStyle property is the style of the first footer cell. "highlightFirstColumn" が true でなくてはなりません。

.firstHeaderCellStyle

.firstHeaderCellStyle : cs.ViewPro.TableStyle

The .firstHeaderCellStyle property is the style of the first header cell. "highlightFirstColumn" が true でなくてはなりません。

.firstRowStripSize

.firstRowStripSize : Integer

The .firstRowStripSize property is the size of the first alternating column. デフォルト = 1。

.firstRowStripStyle

.firstRowStripStyle : cs.ViewPro.TableStyle

The .firstRowStripStyle property is the first alternating row style.

.footerRowStyle

.footerRowStyle : cs.ViewPro.TableStyle

The .footerRowStyle property is the default style of the footer area.

.headerRowStyle

.headerRowStyle : cs.ViewPro.TableStyle

The .headerRowStyle property is the default style of the header area.

.highlightFirstColumnStyle

.highlightFirstColumnStyle : cs.ViewPro.TableStyle

The .highlightFirstColumnStyle property is the style of the first column. "highlightFirstColumn" が true でなくてはなりません。

.highlightLastColumnStyle

.highlightLastColumnStyle : cs.ViewPro.TableStyle

The .highlightLastColumnStyle property is the style of the last column. "highlightLastColumn" が true でなくてはなりません。

.lastFooterCellStyle

.lastFooterCellStyle : cs.ViewPro.TableStyle

The .lastFooterCellStyle property is the style of the last footer cell. "highlightLastColumn" が true でなくてはなりません。

.lastHeaderCellStyle

.lastHeaderCellStyle : cs.ViewPro.TableStyle

The .lastHeaderCellStyle property is the style of the last header cell. "highlightLastColumn" が true でなくてはなりません。

.name

.name : Text

The .name property is the name of a native SpreadJS theme.

.secondColumnStripSize

.secondColumnStripSize : Integer

The .secondColumnStripSize property is the size of the second alternating column. デフォルト = 1

.secondColumnStripStyle

.secondColumnStripStyle : cs.ViewPro.TableStyle

The .secondColumnStripStyle property is the style of the second alternating column.

.secondRowStripSize

.secondRowStripSize : Integer

The .secondRowStripSize property is the size of the second alternating column. デフォルト = 1。

.secondRowStripStyle

.secondRowStripStyle : cs.ViewPro.TableStyle

The .secondRowStripStyle property is the second alternating row style.

.wholeTableStyle

.wholeTableStyle : cs.ViewPro.TableStyle

The .wholeTableStyle property is the default style of the data area.