AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Hoja de cálculo
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Adds a data into a Spreadsheet control found in a window.
Example
//  Initialize the 1st column with numbers from 1 to 10
FOR I = 1 TO 10
SpreadsheetAddData(PSHEET_Spreadsheet, 1, I, "Row " + I)
END
//  Initialize the 1st row with numbers from 1 to 10
FOR I = 1 TO 10
SpreadsheetAddData(PSHEET_Spreadsheet, i, 1, "Column " + I)
END
Syntax
SpreadsheetAddData(<Spreadsheet control> , <Column> , <Row> , <Data>)
<Spreadsheet control>: Control name
Name of the Spreadsheet control to be used.
<Column>: Integer
Column number of the value to add.
<Row>: Integer
Row number of the value to add.
<Data>: Type of data
Value to add.
Remarks
  • If the cell (Column, Row) does not exist, this cell is created.
  • If the cell (Column, Row) already exists, the content of the cell is replaced with <Data>.
  • This function can only be used on a Spreadsheet control found in a window.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 20
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

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