Version

Filtering Class Members

The following tables list the members exposed by Filtering.

Public Constructors
 NameDescription
Public ConstructorFiltering ConstructorConstructor for Filtering beahvior.  
Public Properties
 NameDescription
Public PropertyAlignmentDetermines the location of the filter row.

Top - It will appear in the header of the grid.

Bottom - It will appear in the footer of the grid.

 
Public PropertyAnimationDurationMsThe duration of the animation that the filter rule dropdown will play while its displaying or hiding in milliseconds  
Public PropertyAnimationEnabledDetermines whether the filter rule dropdown will play an animation while it is displaying or hiding  
Public PropertyAnimationTypeThe type of animation that the filter rule dropdown will play when it is displaying or hiding.  
Public PropertyBeforeFilterItemApplyTemplateHandledIndicates whether the BeforeFilterItemApplyTemplate event is handled  
Public PropertyBeforeFilterItemMatchTemplateHandledIndicates whether the BeforeFilterItemMatchTemplate event is handled  
Public PropertyCaseSensitiveControls whether filtering will be case sensitive or not.  
Public PropertyColumnFiltersReturns a ColumnFilters collection.  
Public PropertyColumnSettingsReturns a ColumnFilteringSettings collection.  
Public PropertyEditCellCssClassReturns/sets the css class used to style the editable cell. (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Public PropertyEditModeActionsReturns the action that will cause the cell to enter editmode. (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Public PropertyEnabledOverridden. Determines if the behavior is enabled.  
Public PropertyEnableInheritanceThis property will have an affect only for WebHierarchicalDataGrid and when set to true will enable the behavior for child bands. (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Public PropertyFilterButtonCssClassUsed to set the look and feel of the filter button.  
Public PropertyFilteredIndicated whether the grid data is currently filtered.  
Public PropertyFilteredHeaderButtonThe button object that will be displayed in the grid's column header for showing the filter drop down for when FilterType is ExcelStyleFilter after the column has a filter applied.  
Public PropertyFilterHeaderButtonThe button object that will be displayed in the grid's column header for showing the filter drop down for when FilterType is ExcelStyleFilter before the column has a filter applied.  
Public PropertyFilteringClientEventsList of events which are fired on client side.  
Public PropertyFilteringCssClassUsed to set the look and feel of the filter row  
Public PropertyFilterItemXmlAttributesHandledIndicates whether the FilterItemXmlAttributes event is handled  
Public PropertyFilterRowSelectorImageCssClassThe CSS Class that will be applied to the ImageArea of the RowSelector of the Filter Row.

This class is available for setting the BackgroundImage of the RowSelector.

 
Public PropertyFilterRuleDropDownCssClassUsed to set the look and feel of the filter rule dropdown  
Public PropertyFilterRuleDropDownHoverItemCssClassUsed to set the look and feel of the filter rule dropdown hovered over item  
Public PropertyFilterRuleDropDownItemCssClassUsed to set the look and feel of the filter rule dropdown item  
Public PropertyFilterRuleDropDownListCssClassUsed to set the look and feel of the list elements for excel style filter rule dropdown  
Public PropertyFilterRuleDropDownSelectedItemCssClassUsed to set the look and feel of the filter rule dropdown selected item  
Public PropertyFilterRuleDropdownZIndexSets/Gets the Z-Index of the filter rule dropdown element.  
Public PropertyFilterTypeIndicates what type of filtering will be enabled. RowFilter - allows one filtering condition per column, where you specify a rule (Equals, GreaterThan, ect) and a value. ExcelStyleFilter - in this mode you get a list of unique values in that column which can be (un)selected by checkboxes.  
Public PropertyGridA reference to the grid the behavior belongs to. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyHasDataFilteredHandledIndicates if the data filtered event is handled.  
Public PropertyHasDataFilteringHandledIndicates if the data filtering event is handled.  
Public PropertyHasPopulateUniqueFilterValuesHandledIndicates if the PopulateUniqueFilterValues event is handled.  
Public PropertyIndexIndex of the behavior inside of the behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyIsEmptyChecks if ViewState has any property with not a default value. This property should be overriden by extended class when additional subobjects are supported. IsEmpty will then check each subobject and return a value based on the check of those objects plus itself. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public PropertyNameOverridden. Overriden. Keeps the behavior name.  
Public PropertyNullValueTextThe text in the filter dropdown for null values when FilterType is ExcelStyleFilter.  
Public PropertyOwnerCollectionA reference to the grid behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Public PropertyUniqueDataValuesProperty that stores the UniqueDataValues  
Public PropertyUniqueValueCasingIndicates how the text of the unique value is displayed if filter type is RowFilter and filtering is not case sensitive.  
Public PropertyVisibilityUsed to determine whether the user interface is visible for Filtering behavior.

Hidden - filter row will not be visible

Visible - filter row will be visible

 
Protected Properties
 NameDescription
Protected PropertyAdditionalClientState (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyCollectionData (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyColumnSettingNameReturn ColumnSettingName (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Protected PropertyControlRunBotReturns reference to the Grid's runbot (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyDelayLoadingClientCollectionsCustomizes the client collections loading. If true the collections will be loaded after view state has been loaded. If false the collections will be loaded in RunBot.HandleOnInit. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyHasColumnSettingsReturns true if the private column settings object is not null (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Protected PropertyIsTrackingViewStateThis method returns a boolean value which indicates whether ViewState is being tracked for the object. Once viewstate is being tracked, all property changes are roundtripped from server to client and back within the ViewState hidden field. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyPropCountOverridden. Returns the total number of properties on the object that should go to the client.. This should be calculated by taking the amount of Properties on the base class plus the amount of properties on this class. If you are deriving from this object and need to add additional client properties, you must override this property.  
Protected PropertyRequiresDataBindingIndicates if the behavior requires data binding when added or removed from grid's behavior collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected PropertyTransactionLists (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected PropertyViewStateProperty to return the ViewState bag for the object. If none exist, then one is created. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public Methods
 NameDescription
Public MethodApplyFilterFilters the data in WebDataGrid  
Public MethodClearBehaviorColumnInfoClears the ColumnFilters collection. This method will be called when the grid's datasource is switched from the designer  
Public MethodCloneOverridden. Create clone  
Public MethodCopyToOverridden. Copies properties from the current object into the passed in object  
Public MethodCreateColumnSettingsOverridden. Creates and initializes an instance of the ColumnSettingCollection object  
Public MethodIsDirtyOverloaded. This method determines if the property with the specified Id within the ViewState bag is dirty and needs to be sent to and from the client. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public MethodOnBeforeFilterItemApplyTemplateRaises the BeforeFilterItemApplyTemplate event.  
Public MethodOnBeforeFilterItemMatchTemplateRaises the BeforeFilterItemMatchTemplate event.  
Public MethodOnDataFilteredFires the DataFiltered event. Called by filtering whenever a data has been filtered.  
Public MethodOnDataFilteringFires the DataFiltering event. Called by filtering whenever a data is about to be filtered.

Cancelable envet

 
Public MethodOnFilterItemXmlAttributesRaises the FilterItemXmlAttributes event.  
Public MethodRenderCellValueReturns the value as a string (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Public MethodToStringReturns string representation of the object. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected Methods
 NameDescription
Protected MethodBehaviorEvents_PreRenderOverridden. Handles the PreRender event  
Protected MethodClearSelectionRemoves any selected rows or cells from the SelectedCellCollection and SelectedRows Collection  
Protected MethodCreateClientEventsOverridden. Control which exposes ClientEvents must override that method and return instance of ClientEvents object.  
Protected MethodCreateNewInstanceCreates a new instance of the current type using the default constructor. Derived classes may override the method if there is no parameterless constructor or any other custom logic applies. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodFlushEmpties the positional and occasional property stringBuffers and converts them to a string representation that can be written to the response stream. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodGetClientPropertiesArray (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodGetRoleCountOverridden. The amount of Stylable roles on the behavior.  
Protected MethodGetRoleInfoOverridden. Gets the RoleInfo object at the specified index.  
Protected MethodLoadAdditionalClientStateThis method is called when additional information is passed from the client, via the _saveAdditionalClientState javascript method (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientCollectionsOverridden. Loads the Collections that were sent down to the client, back into the control.  
Protected MethodLoadClientCollectionsTransactionListReads the TransactionList and repopulates the collections of the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientObjectsOverridden. Loads the Objects that were sent down to the client, back into the control.  
Protected MethodLoadClientObjectsTransactionListOverridden. Reads the Transaction List and repopulates the objects of the control.  
Protected MethodLoadClientProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientPropsTransactionListReads the Transaction List and repopulates the properties of the control. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientStateThis method takes the state from the client and loads the control's Properties, Objects, and Collections, that were sent down to the client on the last post. It also stores the TransactionLists for the Properties, Objects, and Collections. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadClientStateFromViewStateChecks to see if ClientState was saved into Viewstate, if so, then it loads. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadCollectionsStateFromViewStateLoads the saved into view state client collections and deserializes the string as it came from the client side. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadOccasionalProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadOccasionalProperty (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadPositionalPropertiesLoads client state properties from the client (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadPositionalPropertyLoad positional property at index (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadTransactionListLoads the transaction list. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodLoadViewStateOverridden. Load data modified at run time.  
Protected MethodMultiInstancesAllowedIndicates whether functionality can be added into the functionality collection multiple times. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnActionOverridden. Overrides base class' method. Handles processing of filtering.  
Protected MethodOnCallbackCreatedOverridden. Overrides base class' method. Called when an asynchronous request is initiated by the filtering  
Protected MethodOnCallbackRenderCalled when the behavior needs to returns its response to an asynchrohous request. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnItemCommandCalled for every behavior to give it a chance to handle the command bubbled from inside of the child controls collection of the grid. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnLoadOverridden. Called when the Filtering behavior is enabled.  
Protected MethodOnPartialClearCalled when the behaviors collection is being partially cleared. This is where the behavior will have to remove any controls it added to the grid's controls collection. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodOnPropertyChangeOverloaded. Virtual method that is called whenever a server state property within the object has been changed. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodOnUnloadOverridden. Called when the Filtering behavior is disabled.  
Protected MethodPreFetchPositionalClientPropertyFetch a positional property from the transaction list before the properties are loaded. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodRegisterScriptsOverridden. The method is called by the framework to register any script references.  
Protected MethodResetClientStateResets the positional and occasional property stringBuffers to initial empty values. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveClientCollectionsSaves all Collections that should go to the client into a javascript array. (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Protected MethodSaveClientObjectsOverridden. Saves all objects that should go to the client into a javascript array.  
Protected MethodSaveClientPropertiesOverloaded. Overridden. Saves any additional properties to be brought to the client.  
Protected MethodSaveClientStateToViewStateIf the control is not visible, we don't want to loose our ClientState during the next postback, so lets store it in ViewState. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveCollectionsStateToViewStateSaves the client collections state as string into the view state. This way we can skip the expensive serialization on the client side and not send them at all. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodSaveViewStateOverridden. Save data modified at run time.  
Protected MethodShouldSerializeColumnFiltersDetermines if ColumnFilters should be persisted  
Protected MethodShouldSerializeColumnSettingsDetermines if the ColumnSettings should be serialized.  
Protected MethodTrackViewStateOverrides base class' method. Enables the view state tracking for the behavior. (Inherited from Infragistics.Web.UI.GridControls.EditableBehaviorBase)
Protected MethodWriteAdditionalClientPropertiesCalled by the framework for the behavior to add its additional client roperties. (Inherited from Infragistics.Web.UI.GridControls.GridBehavior)
Protected MethodWriteClientCollections (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientObjects (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientOnlyPropertyStores the property in hashtable, that will be rendered down to the client. Client only properties only get sent down to the client, they do not get sent back to the server. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientProperties (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWriteClientStateResponsible for rendering javascript array of all client properties, events, objects and collections Calls helper methods to render each in turn. That method is called to render parameter for initialization (constructor) java-script function. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Protected MethodWritePositionalPropertyWrites the passed in property value at the current position of the ClientState serialization. The property is serialized to the positional properties string of the ClientState string. (Inherited from Infragistics.Web.UI.Framework.ObjectBase)
Public Events
 NameDescription
Public EventBeforeFilterItemApplyTemplateEvent that should be raised before Item apply template is rendered.  
Public EventBeforeFilterItemMatchTemplateEvent that should be raised before Item match is rendered.  
Public EventDataFilteredOccurs when a filters have be applied to the grid's data.  
Public EventDataFilteringOccurs when a filters are about to be applied to the grid's data.  
Public EventFilterItemXmlAttributesEvent that should be raised after Fileting has added XmlAttributes to its Item, so other XmlAttributes can be added.  
Public EventPopulateUniqueFilterValuesOccurs when right before filtering behavior goes back to the client. This event needs to be handled when CustomDatabinding is used for the grid to provide the values that filtering needs to display for each column when filteringType is ExcelStyleFiltering.  
See Also