Saltar para o conteúdo principal
Versão: 20 R7

Classes

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

LineBorder

.color

.color : Text

A propriedade .color é a color da borda. Predefinição = black.

.style

.style : Integer

A propriedade .style é a style da borda. Predefinição = vazio.

TableColumn

.dataField

.dataField : Text

A propriedade .dataField contém o nome da propriedade da coluna da tabela no contexto de dados.

.formatter

.formatter : Text

A propriedade .formatter contém o formato da coluna da tabela.

.name

.name : Text

A propriedade .name contém o nome da coluna da tabela (obrigatório).

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

A propriedade .bandColumns indica se deve exibir um estilo de coluna alternativo. Padrão = False

.bandRows

.bandRows : Boolean

A propriedade .bandRows indica se deve exibir um estilo de linha alternativo. Padrão = True

.highlightLastColumn

.highlightLastColumn : Boolean

A propriedade .highlightLastColumn indica se deve destacar a última coluna. Padrão = False

.highlightFirstColumn

.highlightFirstColumn : Boolean

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

.showFooter

.showFooter : Boolean

A propriedade .showFooter indica se deve exibir um pied de page. Padrão = False

.showHeader

.showHeader : Boolean

A propriedade .showHeader indica se deve exibir um cabeçalho. 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

A propriedade .theme define um tema de tabela. 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

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

A propriedade .borderLeft é a linha de borda esquerda da tabela .

.borderRight

.borderRight : cs.ViewPro.LineBorder

A propriedade .borderRight é a linha de borda direita da tabela .

.borderBottom

.borderBottom : cs.ViewPro.LineBorder

A propriedade .borderBottom é a linha inferior da borda da tabela.

.borderHorizontal

.borderHorizontal : cs.ViewPro.LineBorder

A propriedade .borderHorizontal é a linha horizontal de borda da tabela.

.borderVertical

.borderVertical : cs.ViewPro.LineBorder

A propriedade .borderVertical é a linha de borda vertical da tabela.

TableTheme

.bandRows

.bandRows : Boolean

A propriedade .bandRows indica se deve exibir um estilo de linha alternativo.

.bandColumns

.bandColumns : Boolean

A propriedade .bandColumns indica se deve exibir um estilo de coluna alternativo.

.highlightLastColumn

.highlightLastColumn : Boolean

A propriedade .highlightLastColumn indica se deve destacar a última coluna.

.highlightFirstColumn

.highlightFirstColumn : Boolean

A propriedade .highlightFirstColumn indica se a primeira coluna deve destacar.

.theme

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

A propriedade .theme define um tema de tabela. 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

A propriedade .firstFooterCellStyle é o estilo da primeira célula de rodapé. "highlightFirstColumn" tem de ser true.

.firstHeaderCellStyle

.firstHeaderCellStyle : cs.ViewPro.TableStyle

A propriedade .firstHeaderCellStyle é o estilo da primeira célula de cabeçalho. "highlightFirstColumn" tem de ser true.

.firstRowStripSize

.firstRowStripSize : Integer

A propriedade .firstRowStripSize é o tamanho da primeira coluna alternativa. O padrão=1.

.firstRowStripStyle

.firstRowStripStyle : cs.ViewPro.TableStyle

A propriedade .firstRowStripStyle é o estilo da primeira linha alternativa.

.footerRowStyle

.footerRowStyle : cs.ViewPro.TableStyle

A propriedade .footerRowStyle é o estilo padrão da área de rodapé.

.headerRowStyle

.headerRowStyle : cs.ViewPro.TableStyle

A propriedade .headerRowStyle é a estilo padrão da área de cabeçalho.

.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

A propriedade .highlightLastColumnStyle é o estilo da última coluna. "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

A propriedade .secondRowStripStyle é a segundo estilo de linha alternativo.

.wholeTableStyle

.wholeTableStyle : cs.ViewPro.TableStyle

A propriedade.wholeTableStyle é a estilo padrão da área de dados.