SearchFilter

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > Grid control > Methods >

SearchFilter


 

Set the search filter.

 


syntax

SearchFilter(

         type,

         searchWord

         [,targetField]

         )

 


Parameters

 

type


Type:

character


Filter Types

"col" - for column filters

"row" - for row filters

 

searhcWord


Type:

character


Search string. Search conditions can be specified in the format "Grid search format". Arrays can also be used.

 

targetField


Type:

Numeric Array


An array of field (row for col, column for row) indexes. If omitted, searches all matrix properties for which EnabledSearchFilter is TRUE.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference