AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Adds a column title-header into a Table or TreeView Table control in a window.
Title-header in a Table control
Note It is also possible to add a column header from the Table or Hierarchical Table field description window ("Detail" tab, "Editar sobre-encabezados de columnas" button).
Ejemplo
// Adds a title-header above the columns 2, 3 and 4
TableAddTitleHeader(TABLE_Turnover, 2, 4, "Forecast")
// Adds a title-header above the columns 5, 6 and 7
TableAddTitleHeader(TABLE_Turnover, 5, 7, "Performed")

// Adds a title-header above the menu columns
TableAddTitleHeader(TABLE_Menu, COL_Starter, COL_Dessert, "Menu")
Sintaxis

Adding a title-header on columns identified by their index Ocultar los detalles

TableAddTitleHeader(<Table control> , <Index of first column> , <Index of last column> , <Caption>)
<Table control>: Control name
Name of the control to be used. This control can correspond to:
  • a Table control.
  • a TreeView Table control.
If this parameter corresponds to an empty string (""), the control to which the current process belongs will be used.
<Index of first column>: Integer
Index of the column above which the title-header will start.
<Index of last column>: Integer
Index of the column above which the title-header will end. The index of this column must be greater than <Index of first column>.
<Caption>: Character string
Caption that must be displayed in the title-header.

Adding a title-header on columns identified by their name Ocultar los detalles

TableAddTitleHeader(<Table control> , <First column> , <Last column> , <Caption>)
<Table control>: Control name
Name of the control to be used. This control can correspond to:
  • a Table control.
  • a TreeView Table control.
If this parameter corresponds to an empty string (""), the control to which the current process belongs will be used.
<First column>: Control name
Name of the column above which the title-header must start.
<Last column>: Control name
Name of column above which the title-header must end.
<Caption>: Character string
Caption that must be displayed in the title-header.
Observaciones
  • Through programming, a single title-header level can be added. To add several levels, you must use the description window of the Table or TreeView Table control ("Details" tab, "Editar sobre-encabezados de columnas").
  • The TitleHeader property allows you to:
    • Know and modify the title and the aspect of a column title header in a Table control.
    • Get the number of title headers of a column in a Table control.
Clasificación Lógica de negocio / UI: Código UI
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 18
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local