ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Table control
  • Overview
  • Handling the break headers and footers
  • Functions associated with break headers and footers
  • Properties associated with the break headers and footers
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
Properties associated with the breaks of a Table control
Overview
Several properties can be used with the breaks headers and footers found in a Table control. These properties can be used in a window or in a page.
To use these properties, the syntax is as follows:
<Table control>.<Name of break header/footer>..<Property name> = <Value>
or
<Name of break header/footer>..<Property name> = <Value>
Remark: These lines of code must be in the "Displaying a row of break header/footer" event.
Handling the break headers and footers

Functions associated with break headers and footers

The following functions are associated with the break headers and footers:
TableBreakIndexReturns the index of the break header and footer for a given break in a Table control.
TableCollapseCollapses:
  • a branch that was previously expanded in a TreeView Table control.
  • a break that was previously expanded in a Table control.
  • a detailed window displayed for a row.
TableCollapseAllCollapses:
  • the entire hierarchy (all nodes) of a TreeView Table control.
  • all breaks of a Table control.
TableExpandExpands:
  • a branch that was previously collapsed in a TreeView Table control.
  • a branch that was previously collapsed in a Table control.
  • a detailed window displayed for a row.
TableExpandAllExpands:
  • the entire hierarchy (all nodes) of a TreeView Table control.
  • all breaks of a Table control.
WINDEV Several WLanguage functions can be used to create breaks through programming:
BreakAddAdds a break into a Table or Looper control.
BreakDeleteDeletes a break from a Table control or from a Looper control.
BreakDeleteAllDeletes all breaks from a Table control or from a Looper control.

Properties associated with the break headers and footers

The following properties are associated with the break headers and footers:
  • WINDEV In a window:
    BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
    CollapsedThe Collapsed property is used to:
    • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
    • find out or modify the collapsed/expanded status for:
      • the breaks of a Table control,
      • the breaks of a Looper control,
      • the break headers and footers of Table and Looper controls,
      • a Drawer control,
      • a Ribbon control,
      • a Navigation Bar control.
      • a Pivot Table control in a report.
    HeightThe Height property is used to get and change the height:
    • of a control or block in a report.
    • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
    • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
    • of a break cell in a Table or Looper control.
    NameThe Name property is used to get:
    • the name of the font associated with a Font variable.
    • the name of a control, report or report block.
    • the name of a control, group of controls or window.
    • the name of a control, group of controls or page.
    ProcessThe Process property is used to modify the processes to be executed by the events available on a control, window, page, report, etc.
    TypeThe Type property is used to get:
    • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
    • the type of object.
    • the type of data held in a Variant.
    VisibleThe Visible property is used to:
    • Find out whether an element is visible.
    • Make an element visible or invisible.
    WinEditAllowedThe WinEditAllowed property is used to determine and configure the actions allowed on a control when the window switches to "Allow end users to modify the UI" mode.
  • WEBDEV - Server code In a page (server code):
    AliasThe Alias property is used to:
    • get or change the alias of a window (WINDEV and WINDEV Mobile).
    • get or change the alias of a dynamic tab (WINDEV).
    • get the internal HTML/JavaScript name of a control (WEBDEV).
    CollapsedThe Collapsed property is used to:
    • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
    • find out or modify the collapsed/expanded status for:
      • the breaks of a Table control,
      • the breaks of a Looper control,
      • the break headers and footers of Table and Looper controls,
      • a Drawer control,
      • a Ribbon control,
      • a Navigation Bar control.
      • a Pivot Table control in a report.
    FullNameThe FullName property is used to find out the full name:
    • of a control.
    • of a window.
    • of a menu option.
    • of a table column.
    HeightThe Height property is used to get and change the height:
    • of a control or block in a report.
    • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
    • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
    • of a break cell in a Table or Looper control.
    InitialVisibleThe InitialVisible property is used to determine if:
    • a control was visible during the first display of the associated window or page.
    • a window was visible during its first display.
    MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
    NameThe Name property is used to get:
    • the name of the font associated with a Font variable.
    • the name of a control, report or report block.
    • the name of a control, group of controls or window.
    • the name of a control, group of controls or page.
    ProcessThe Process property is used to modify the processes to be executed by the events available on a control, window, page, report, etc.
    TypeThe Type property is used to get:
    • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
    • the type of object.
    • the type of data held in a Variant.
    VisibleThe Visible property is used to:
    • Find out whether an element is visible.
    • Make an element visible or invisible.
  • WEBDEV - Browser code In a page (browser code):
    CollapsedThe Collapsed property is used to:
    • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
    • find out or modify the collapsed/expanded status for:
      • the breaks of a Table control,
      • the breaks of a Looper control,
      • the break headers and footers of Table and Looper controls,
      • a Drawer control,
      • a Ribbon control,
      • a Navigation Bar control.
      • a Pivot Table control in a report.
    InitialVisibleThe InitialVisible property is used to determine if:
    • a control was visible during the first display of the associated window or page.
    • a window was visible during its first display.
    TypeThe Type property is used to get:
    • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
    • the type of object.
    • the type of data held in a Variant.
  • PHP In a page (PHP):
    AliasThe Alias property is used to:
    • get or change the alias of a window (WINDEV and WINDEV Mobile).
    • get or change the alias of a dynamic tab (WINDEV).
    • get the internal HTML/JavaScript name of a control (WEBDEV).
    CollapsedThe Collapsed property is used to:
    • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
    • find out or modify the collapsed/expanded status for:
      • the breaks of a Table control,
      • the breaks of a Looper control,
      • the break headers and footers of Table and Looper controls,
      • a Drawer control,
      • a Ribbon control,
      • a Navigation Bar control.
      • a Pivot Table control in a report.
    HeightThe Height property is used to get and change the height:
    • of a control or block in a report.
    • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
    • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
    • of a break cell in a Table or Looper control.
    InitialVisibleThe InitialVisible property is used to determine if:
    • a control was visible during the first display of the associated window or page.
    • a window was visible during its first display.
    NameThe Name property is used to get:
    • the name of the font associated with a Font variable.
    • the name of a control, report or report block.
    • the name of a control, group of controls or window.
    • the name of a control, group of controls or page.
    TypeThe Type property is used to get:
    • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
    • the type of object.
    • the type of data held in a Variant.
    VisibleThe Visible property is used to:
    • Find out whether an element is visible.
    • Make an element visible or invisible.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/05/2024

Send a report | Local help