Saltar para o conteúdo principal
Versão: Próximo

Classes

As seguintes classes podem ser usadas no 4D View Pro.

LineBorder

.color

.color : Text

The .color property is the color of the border. Predefinição = black.

.style

.style : Integer

The .style property is the style of the border. Predefinição = vazio.

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. Padrão = True

.bandColumns

.bandColumns : Boolean

The .bandColumns property indicates whether to display an alternating column style. Padrão = False

.bandRows

.bandRows : Boolean

The .bandRows property indicates whether to display an alternating row style. Padrão = True

.highlightLastColumn

.highlightLastColumn : Boolean

The .highlightLastColumn property indicates whether to highlight the last column. Padrão = False

.highlightFirstColumn

.highlightFirstColumn : Boolean

The .highlightFirstColumn property indicates whether to highlight the first column. Padrão = False

.showFooter

.showFooter : Boolean

The .showFooter property indicates whether to display a footer. Padrão = False

.showHeader

.showHeader : Boolean

The .showHeader property indicates whether to display a header. Padrão = True

.showResizeHandle

.showResizeHandle : Boolean

The .showResizeHandle property indicates whether to display the resize handle for tables that don't have a source. Padrão = 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. Também pode ser um texto (nome de um tema nativo SpreadJS).

Consulte los temas nativos de SpreadJS.

.useFooterDropDownList

.useFooterDropDownList : Boolean

The .useFooterDropDownList property indicates whether to use a dropdown list in footer cells that calculate the total value of a column. Padrão = 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

A propriedade .font é o nome da fonte (consulte Fontes e texto) da tabela.

.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. Si Text: nombre de un tema nativo SpreadJS.

TableThemeOptions

.firstColumnStripSize

.firstColumnStripSize : Integer

The .firstColumnStripSize property is the size of the first alternating column. O padrão=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" tem de ser true.

.firstHeaderCellStyle

.firstHeaderCellStyle : cs.ViewPro.TableStyle

The .firstHeaderCellStyle property is the style of the first header cell. "highlightFirstColumn" tem de ser true.

.firstRowStripSize

.firstRowStripSize : Integer

The .firstRowStripSize property is the size of the first alternating column. O padrão=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" tem de ser true.

.highlightLastColumnStyle

.highlightLastColumnStyle : cs.ViewPro.TableStyle

The .highlightLastColumnStyle property is the style of the last column. "highlightLastColumn" tem de ser verdadeiro.

.lastFooterCellStyle

.lastFooterCellStyle : cs.ViewPro.TableStyle

The .lastFooterCellStyle property is the style of the last footer cell. "highlightLastColumn" tem de ser verdadeiro.

.lastHeaderCellStyle

.lastHeaderCellStyle : cs.ViewPro.TableStyle

The .lastHeaderCellStyle property is the style of the last header cell. "highlightLastColumn" tem de ser verdadeiro.

.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. O padrão=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. O padrão=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.