ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Table functions
  • Use conditions
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
Deselects a row from a Table or TreeView Table control. The selected row corresponds to the current row on which the selection bar is displayed.
Example
// Deselect row #5 i n the Table control "TABLE_Product"
TABLE_Product.SelectMinus(5)
Syntax
<Table control>.SelectMinus([<Index 1> [... [, <Index N>]]])
<Table control>: Control name
Name of the control to be used. This control can correspond to:
  • a Table control.
  • a TreeView Table control.
<Index 1>: Optional integer
Index of the first row to deselect. If this parameter is not specified, all the rows found in the specified control are deselected. <Table>.SelectMinus has no effect if this parameter corresponds to a row that is not selected. You can get the index of the selected row with <Table>.Select.
The function has no effect if this parameter corresponds to -1.
WEBDEV - Server codeWEBDEV - Browser codePHP In "Server" Table controls, only one index can be specified.
<Index N>: Optional integer
Index of the Nth row to deselect. If this parameter is not specified, all the rows found in the specified Table control are deselected. <Table>.SelectMinus has no effect if this parameter corresponds to a row that is not selected. You can get the index of the selected row with <Table>.Select.
WEBDEV - Server codeWEBDEV - Browser codePHP In "Server" Table controls, only one index can be specified.
Remarks

Use conditions

<Table>.SelectMinus can be used on:
  • a Table or TreeView Table control based on a data file.
  • a Table or TreeView Table control populated programmatically.
  • a single-selection or multi-selection control.
    WEBDEV - Server codePHP Reminder: Multi-selection is not available for Table controls in classic mode.
WEBDEV - Server codePHP This function is available for Table controls in "Server" and "Server + AJAX" mode, and for TreeView Table controls.
WEBDEV - Browser code This function is available for Table controls in "Browser" mode only.
WEBDEV - Browser code The TreeView Table control is not available.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/20/2023

Send a report | Local help