AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Tabla
  • Effect of the function
  • Use conditions
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Enables input in the search area in the column title of the Table or Treeview Table control.
  • WINDEV In WINDEV:
  • Android In Android:
This function has the same effect as when the user clicks the search icon. It can start a search or implement a filter on the control.
To cancel a filter started by <Table>.InputSearch, simply use <Table>.DisableFilter.
Note This function is ignored if the specified Table control uses a non-proportional scrollbar ("Proportional scrollbar" option unchecked in the "Detail" tab of the control description window). For more details on the magnifier, see Characteristics of columns in a Table control.
Ejemplo
// Switches the COL_Name column to edit mode
COL_NAME.InputSearch()
Sintaxis
<Column>.InputSearch([<Type of filter or search> [, <Initial value>]])
<Column>: Nombre del control
Name of column that will be switched to search mode. The function has no effect if this operation cannot be performed on this column (non-key column for example).
The name of the column can be given directly or in the following format: <Table control>.<Column>.
Java The column used must be a "Searchable" column ("General" tab of the column description).
<Type of filter or search>: Constante opcional de tipo Integer
Type of filter to apply or type of search to perform:
filterContainsDisplays the rows whose value for the specified column "Contains" the characters specified in <Initial value>.
filterDifferentDisplays the rows whose value for the specified column "differs" from the characters specified in <Initial value>.
filterDoesNotContainDisplays the rows whose value for the specified column "does not contain" the characters specified in <Initial value>.
filterDoesNotEndWithDisplays the rows whose value for the specified column "does not end with" the characters specified in <Initial value>
filterDoesNotStartWithDisplays the rows whose value for the specified column "Does not start with" the characters specified in <Initial value>.
filterEndsWithDisplays the rows whose value for the specified column "ends with" the characters specified in <Initial value>.
filterEqualDisplays the rows whose value for the specified column "is equal" to the characters specified in <Initial value>.
filterGreaterDisplays the rows whose value for the specified column "is greater" than the characters specified in <Initial value>.
filterGreaterOrEqualDisplays the rows whose value for the specified column "is greater than or equal to" the characters specified in <Initial value>.
filterLessDisplays the rows whose value for the specified column "is less" than the characters specified in <Initial value>.
filterLessOrEqualDisplays the rows whose value for the specified column "is less than or equal to" the characters specified in <Initial value>.
filterStartsWithDisplays the rows whose value for the specified column "Starts with" the characters specified in <Initial value>.
searchDefault
(Default value)
Sorts the table according to the specified column and switches the column to search mode.
searchStartsWithSorts the table according to the specified column, switches the column to search mode and fills the edit control of the column with the characters specified in <Initial value>. Displays the rows from the ones for which the value of the specified column "starts with" the characters specified in <Initial value>.

AndroidiPhone/iPadJava This parameter is not available.
<Initial value>: Cadena de caracteres opcional
Initial value that must be specified in the input area of search mode.
AndroidiPhone/iPadJava This parameter is not available.
Observaciones

Effect of the function

This function will have no effect if the switch to search mode cannot be performed. For example, the search mode will not be enabled:
  • If the column was not defined as column with search (description window of the control).
  • If the column is not associated with a key item.

Use conditions

This function is available on:
  • Table or TreeView Table controls based on a data file.
  • Table or TreeView Table controls populated programmatically.
  • WEBDEV - Código Navegador Table controls in "Browser" mode.
WEBDEV - Código Navegador The TreeView Table control is not available.
Componente: wd300obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 19/09/2024

Señalar un error o enviar una sugerencia | Ayuda local