バージョン

ColumnSelectionChanged プロパティ (SelectionClientEvents)

列の選択が変更された後に発生するイベントです。
シンタックス
'宣言
 
Public Property ColumnSelectionChanged As String
public string ColumnSelectionChanged {get; set;}
使用例
Me.WebDataGrid1.Behaviors.Selection.SelectionClientEvents.ColumnSelectionChanged = "WDG1_ColumnSelectionChanged"
this.WebDataGrid1.Behaviors.Selection.SelectionClientEvents.ColumnSelectionChanged = "WDG1_ColumnSelectionChanged";
// The client event ColumnSelectionChanged takes two parameters sender and e
// sender  is the object which is raising the event
// e is the ColumnSelectionChangedEventArgs

    function WDG1_ColumnSelectionChanged(sender, e) {

        //Returns the collection of selected columns
        var selectedColumns = e.getSelectedColumns();

        var s = prompt("Enter 'Yes' to unselect the columns : ");

        if (s == 'Yes')

        //Unselects the selected columns
            selectedColumns.clear();
    
    }
参照