FindRowData

<< Click to Display Table of Contents >>

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

FindRowData


 

Searches data row-wise.

 


Syntax 1

FindRowData(

         searchType,

         row,

         data,

         &result

         )

 


Parameters

 

searchType


Type:

character


Search type.

"compare_all" - Matches the specified characters exactly.

"compare_nocase_all" - Matches the specified characters exactly (ignoring case).

"find_all" - Checks whether the specified character is included.

 

row


Type:

Number


Index of the line to search (line number starting from 0).

 

data


Type:

character


The character to search for.

 

&result


Type:

Boolean


If successful, returns an array containing the index of all columns found.

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 

 


Syntax 2

FindRowData (

         searchType,

         row,

         data,

         &result

         [,startCol]

         )

 


Parameters

 

searchType


Type:

character


Search type.

compare - Does the specified characters match exactly?

compare_nocase - Whether the specified characters match exactly (ignoring case).

find - Checks whether the specified character is included.

 

row


Type:

Number


Index of the line to search (line number starting from 0).

 

data


Type:

character


The character to search for.

 

&result


Type:

Boolean


If successful, the index of the found column.

 

startCol


Type:

Number


Index of the column where the search should begin (column number starting from 0).

 

Return Value



Type:

Boolean


FALSE - Failure. TRUE - Success.

 


hmtoggle_plus1Explanation

 


reference