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 / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Hoja de cálculo
  • Creating a Spreadsheet control in a report
  • Creating the control
  • Characteristics of Spreadsheet control in a report
  • Handling a Spreadsheet control in a report programmatically
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
Creating a Spreadsheet control in a report

Creating the control

To create a Spreadsheet control:
  1. On the "Creación" tab, in the "Datos" group, click "Hoja de cálculo".
  2. Click where you want to create the control.
To view the characteristics of the control, select "Description" in the context menu.
Note: The data displayed by a Spreadsheet control in a report can:
  • be determined through programming (for example, direct display of an xls or xlsx file).
  • correspond to a memo item in a data file or query, etc.
    • WINDEV correspond to a Spreadsheet control in a window.
    • correspond to an xlsDocument variable.
Characteristics of Spreadsheet control in a report
The main characteristics of a Spreadsheet control in a report are defined in the different tabs of the description window of the control:
  • Tab "General": The option Escalado corresponds to the property AdjustmentMode. The available options are:
    • No scaling: The spreadsheet sheet is printed at its own size.. The print can be performed on several pages in width and in height if necessary.
    • Fit the spreadsheet to the field dimensions: The spreadsheet will be reduced to fit entirely within the Spreadsheet control area..
    • Fit all columns to field width: Columns in the spreadsheet will be reduced or enlarged so that all columns in the spreadsheet are displayed within the width of the field..
    • Adjust all rows to field height: Rows in the spreadsheet will be reduced or enlarged so that all rows in the spreadsheet are displayed at the height of the field..
  • Tab "Link": Used to define the link for the Spreadsheet control.. The control can be:

Handling a Spreadsheet control in a report programmatically

You can associate the Spreadsheet of a report with:
  • a variable of type xlsDocument. Simply use the code:
    <Spreadsheet control> = <xlsDocument variable>
  • an xls/xlsx file. Simply use the code:
    <Spreadsheet control> = <Path of xls/xlsx file>
Warning: Spreadsheet control functions cannot be used on the Spreadsheet control of a report..
Versión mínima requerida
  • Versión 21
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 05/11/2024

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