Packagecom.flexicious.nestedtreedatagrid.filter
Classpublic class AdvancedFilter
InheritanceAdvancedFilter Inheritance Filter Inheritance Object

A container object that encapsulates all the individual property filter settings, page settings and the sort state.



Public Properties
 PropertyDefined By
  ALL_ITEM : String = All
[static]
AdvancedFilter
 Inheritedarguments : ArrayCollection
A collection of com.flexicious.grids.filters.FilterExpression objects.
Filter
 InheritedfilterDescrption : String
For the filter dropdown, show the label for the pre built filters.
Filter
  level : FlexDataGridColumnLevel
Size of the page
AdvancedFilter
 InheritedpageCount : int
The number of pages
Filter
 InheritedpageIndex : int
The current page index.
Filter
 InheritedpageSize : int
Size of the page
Filter
  parentObject : Object
Size of the page
AdvancedFilter
 InheritedrecordCount : int
The total number of records
Filter
 Inheritedrecords : Object
Filter
 Inheritedsorts : ArrayCollection
A collection of com.flexicious.grids.filters.FilterSort objects.
Filter
Public Methods
 MethodDefined By
  
Constructor
AdvancedFilter
 Inherited
addCriteria(columnName:String, expression:Object):void
Adds a
Filter
 Inherited
addFilterExpression(filterExpression:FilterExpression):void
Expression to add
Filter
 Inherited
addOperatorCriteria(columnName:String, operation:String, compareValue:Object, wasContains:Boolean = false):void
Adds a com.flexicious.grids.filters.FilterExpression to the current list.
Filter
 Inherited
addSort(sortColumn:String, isAscending:Boolean, sortComparisionType:String = auto, sortCompareFunction:Function = null):void
Adds a com.flexicious.grids.filters.FilterSort object to the list.
Filter
 Inherited
copyFrom(filter:Object):void
Takes a filter and populates the current filter's properties with the provided filter
Filter
  
[static]
AdvancedFilter
 Inherited
getFilterExpression(fld:String):*
Given a filter column, returns the corresponding filter expression.
Filter
 Inherited
getFilterValue(fld:String):*
Given a filter column, returns the corresponding value of the filter expression of that column.
Filter
 Inherited
removeCriteria(searchField:String):void
Removes a previously added com.flexicious.grids.filters.FilterExpression from the current list that matches the specified search field.
Filter
Property Detail
ALL_ITEMproperty
public static var ALL_ITEM:String = All

levelproperty 
level:FlexDataGridColumnLevel

Size of the page


Implementation
    public function get level():FlexDataGridColumnLevel
    public function set level(value:FlexDataGridColumnLevel):void
parentObjectproperty 
parentObject:Object

Size of the page


Implementation
    public function get parentObject():Object
    public function set parentObject(value:Object):void
Constructor Detail
AdvancedFilter()Constructor
public function AdvancedFilter()

Constructor

Method Detail
from()method
public static function from(param:Filter):AdvancedFilter

Parameters

param:Filter

Returns
AdvancedFilter