Skip to content

OnSearch - cWebPromptList

Performs a search on an automatic data aware list

Type: Event

Parameters

Parameter Type Description
sSearchText String Text to serch for

Syntax

Procedure OnSearch String sSearchText

Description

This is called by the client's JavaScript engine to perform a search on an automatic data aware list (peDbGridType = gtAutomatic and pbDataAware = True).

It performs a lookup search on the passed value based on the current sort column (piSortColumn). It does this by sending RequestColumnLookup to the appropriate column object, which will find the target record and refresh the list.