ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Pivot Table functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Expands all row and/or column headers in a Pivot Table control.
New in SaaS
WEBDEV - Server codeLinux This function is now available for WEBDEV websites in Windows and Linux.
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 4.
For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Example
// Loads the data file
PVT_Statistics.Load(sFile)
// Expands all headers of the Pivot Table control
PVT_Statistics.ExpandAll()
Syntax
<Pivot Table control>.ExpandAll([<Type of header>])
<Pivot Table control>: Control name
Name of the Pivot Table control to be used. This Pivot Table control must have been populated using <Pivot table>.CalculateAll or <Pivot Table>.Load.
<Type of header>: Optional Integer constant (or combination of constants)
Type of the header to expand:
pvtColumnHeaderExpands the column headers.
pvtRowHeaderExpands the row headers.

If this parameter is not specified, row headers AND column headers are expanded.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 07/08/2025

Send a report | Local help