Version

DataFiltered Property

Event fired after filters are applied.
Syntax
'Declaration
 
Public Property DataFiltered As String
public string DataFiltered {get; set;}
Example
Me.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.DataFiltered = "WDG1_DataFiltered"
this.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.DataFiltered = "WDG1_DataFiltered";
// The client event DataFiltered takes two parameters sender and e
// sender  is the object which is raising the event
// e is the DataFilteredArgs

  function WDG1_DataFiltered(sender, e) {

      //Gets the column filter object 
      var filters = e.get_columnFilters();

      //Gets the key of the column that the column filter is tied to
      var columnKey = filters[0].get_columnKey();

      //Rule and value based filtering condition that will apply to the ControlDataField which the ColumnFilter is tied to.
      var condition = filters[0].get_condition();

      //Gets the rule applied on the filter
      var rule = condition.get_rule();

      window.status = "Filtering  is done on the column '" + columnKey + "'";


}
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also