Saltar al contenido principal
Versión: 20 R5

Clases

Las siguientes clases pueden utilizarse en 4D View Pro.

LineBorder

.color

.color : Text

The .color property is the color of the border. Por defecto = black.

.style

.style : Integer

The .style property is the style of the border. Por defecto = empty.

TableColumn

.dataField

.dataField : Text

La propiedad .dataField contiene el nombre de la propiedad de la columna de la tabla en el contexto de datos.

.formatter

.formatter : Text

La propiedad .formatter contiene el formateador de la columna de la tabla.

.name

.name : Text

La propiedad .name contiene el nombre de la columna de la tabla (obligatorio).

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. Por defecto = True

.bandColumns

.bandColumns : Boolean

La propiedad .bandColumns indica si se muestra un estilo de columnas alternas. Por defecto = False

.bandRows

.bandRows : Boolean

The .bandRows property indicates whether to display an alternating row style. Por defecto = True

.highlightLastColumn

.highlightLastColumn : Boolean

The .highlightLastColumn property indicates whether to highlight the last column. Por defecto = False

.highlightFirstColumn

.highlightFirstColumn : Boolean

La propiedad .highlightFirstColumn indica si se debe resaltar la primera columna. Por defecto = False

.showFooter

.showFooter : Boolean

La propiedad .showFooter indica si se debe mostrar un pie de página. Por defecto = False

.showHeader

.showHeader : Boolean

La propiedad .showHeader indica si se debe mostrar un encabezado. Por defecto = True

.showResizeHandle

.showResizeHandle : Boolean

The .showResizeHandle property indicates whether to display the resize handle for tables that don't have a source. Por defecto = 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

La propiedad .theme define el tema de una tabla. También puede ser un texto (nombre de un 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. Por defecto = 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

La propiedad .borderLeft es la línea del borde izquierdo de la tabla .

.borderRight

.borderRight : cs.ViewPro.LineBorder

La propiedad .borderrightt es la línea de borde derecho de la tabla .

.borderBottom

.borderBottom : cs.ViewPro.LineBorder

La propiedad .borderBottom es la línea del borde inferior de la tabla.

.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

La propiedad .bandColumns indica si se muestra un estilo de columnas alternas.

.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

La propiedad .theme define un tema de tabla. Si Text: nombre de un tema nativo SpreadJS.

TableThemeOptions

.firstColumnStripSize

.firstColumnStripSize : Integer

La propiedad .firstColumnStripSize es el tamaño de la primera columna alterna. Por defecto=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" debe ser true.

.firstHeaderCellStyle

.firstHeaderCellStyle : cs.ViewPro.TableStyle

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

.firstRowStripSize

.firstRowStripSize : Integer

The .firstRowStripSize property is the size of the first alternating column. Por defecto=1.

.firstRowStripStyle

.firstRowStripStyle : cs.ViewPro.TableStyle

La propiedad .firstRowStripStyle es el estilo de la primera fila alterna .

.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

La propiedad .highlightFirstColumnStyle es el estilo de la primera columna. "highlightFirstColumn" debe ser true.

.highlightLastColumnStyle

.highlightLastColumnStyle : cs.ViewPro.TableStyle

The .highlightLastColumnStyle property is the style of the last column. "highlightLastColumn" debe ser true.

.lastFooterCellStyle

.lastFooterCellStyle : cs.ViewPro.TableStyle

La propiedad .lastFooterCellStyle es el estilo de la última celda del pie de página. "highlightLastColumn" debe ser true.

.lastHeaderCellStyle

.lastHeaderCellStyle : cs.ViewPro.TableStyle

La propiedad .lastHeaderCellStyle es el estilo de la última celda de encabezado. "highlightLastColumn" debe ser 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. Por defecto=1

.secondColumnStripStyle

.secondColumnStripStyle : cs.ViewPro.TableStyle

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

.secondRowStripSize

.secondRowStripSize : Integer

La propiedad .secondRowStripSize es el tamaño de la segunda columna alterna. Por defecto=1.

.secondRowStripStyle

.secondRowStripStyle : cs.ViewPro.TableStyle

La propiedad .secondRowStripStyle es el estilo de la segunda fila alterna.

.wholeTableStyle

.wholeTableStyle : cs.ViewPro.TableStyle

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