PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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"
TableSelectMinus(TABLE_Product, 5)
Syntax
TableSelectMinus(<Table control> [, <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.
If this parameter corresponds to an empty string (""), the control to which the current process belongs will be used.
<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. TableSelectMinus has no effect if this parameter corresponds to a row that is not selected. You can get the index of the selected row with TableSelect.
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. TableSelectMinus has no effect if this parameter corresponds to a row that is not selected. You can get the index of the selected row with TableSelect.
WEBDEV - Server codeWEBDEV - Browser codePHP In "Server" Table controls, only one index can be specified.
Remarks

Use conditions

TableSelectMinus 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: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment