GetSortTargetFields

<< Click to Display Table of Contents >>

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

GetSortTargetFields


 

Gets the index of the field that is the target of the sort.

 


syntax

GetSortTargetFields(

         type,

         &targetField

         [, &sortType]

         )

 


Parameters

 

type


Type:

character


Filter Types

"col" - for column filters

"row" - for row filters

 

&targetField


Type:

Numeric Array


The indexes of the fields targeted for sorting are returned in an array in sort priority order.

 

&sortType


Type:

Character Array


The sort status of the field that is the target of sorting is returned as an array in sort priority order.

NONE- No sorting

ASCENDING- Sort in ascending order

DECENDING- Descending sort

 


hmtoggle_plus1Explanation

 


reference