バージョン

ColumnFilterAdded プロパティ

1 つ以上のフィルターが列フィルター コレクションに追加された後に発生するイベントです。
シンタックス
'宣言
 
Public Property ColumnFilterAdded As String
public string ColumnFilterAdded {get; set;}
使用例
Me.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.ColumnFilterAdded = "WDG1_ColumnFilterAdded"
this.WebDataGrid1.Behaviors.Filtering.FilteringClientEvents.ColumnFilterAdded = "WDG1_ColumnFilterAdded";
// The client event ColumnFilterAdded takes two parameters sender and e
// sender  is the object which is raising the event
// e is the ColumnFilterAddedArgs

    function WDG1_ColumnFilterAdded(sender, e) {

        //Gets the column filter object that need sto be added
        var filter = e.get_columnFilter();

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

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

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

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

    }
参照