ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Table Column control
  • Overview
  • How to?
  • Properties available for the table cells
  • Properties available in a page (server code)
  • Properties available in a page (browser code)
  • Properties available in a page (PHP)
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
Overview
The tables can be handled:
  • by row,
  • by column,
  • by cell.
How to?
To handle the cells of a Table control through programming, use the following syntax:
<Column Name> [ <Row Number>]
Several WLanguage properties can be used on the cells of a Table control via the following syntax:
  • <Column Name>[<Row Number>]..<Property> = <Value>
  • <Table Name>[<Row Number>, <Column Number>]..<Property> = <Value>
Remark: If the cell corresponds to a check box, there is no need to specify the number of the option in the check box.
Properties available for the table cells
WEBDEV - Server code

Properties available in a page (server code)

The following properties are available for the table cells in a page:
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).
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
CaptionHTMLThe CaptionHTML property is used to handle the text of a control as HTML code.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ContentThe Content property is used to read or write the whole content of a control:
  • List Box populated programmatically,
  • Combo Box populated programmatically,
  • Spreadsheet.
DisplayedValueThe DisplayedValue property returns the value currently displayed in the control of a window or page.
FontThe Font property is used to
  • Get the identifier of the font used in a control in a report, page or window.
  • Change the font used in a control in a report, page or window.
FontBoldThe FontBold property is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
FontItalicThe FontItalic property is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
FontNameThe FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
FontSizeThe FontSize property is used to:
  • Identify the size of the font used in a control.
  • Change the size of the font used in a control.
FontUnderlinedThe FontUnderlined property is used to:
  • Determine if the text is underlined.
  • Underline (or not) a text.
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.
HorizontalAlignmentThe HorizontalAlignment property gets and changes the horizontal alignment of a control.
MaxValueThe MaxValue property is used to:
  • get and set the top value of a report based on a data file.
  • get the maximum value of the current filter.
  • get the maximum value of a data series in a chart.
  • get and set the maximum value for some types of controls.
MinValueThe MinValue property is used to:
  • get and set the bottom value of a report based on a data file.
  • get the minimum value of the current filter.
  • get the minimum value of a data series in a chart.
  • get and set the minimum value for some types of controls.
OpacityThe Opacity property is used to get and define the opacity percentage for a window, or for controls in a window or page.
ProgressBarColorThe ProgressBarColor property gets and sets the progress color in the following controls and elements:
  • Progress Bar control,
  • Progress Bar column,
  • Progress Bar cell,
  • infinite Progress Bar control.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VerticalAlignmentThe VerticalAlignment property gets and changes the vertical alignment of a control.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
Remark: The FontXXX properties are available in read-only. You cannot modify the characteristics regarding the font of a table cell.
WEBDEV - Browser code

Properties available in a page (browser code)

The following properties are available for the table cells in a page:
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ProgressBarColorThe ProgressBarColor property gets and sets the progress color in the following controls and elements:
  • Progress Bar control,
  • Progress Bar column,
  • Progress Bar cell,
  • infinite Progress Bar control.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
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.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
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