バージョン

ActiveCellChanged プロパティ (ActivationClientEvents)

セルがアクティブになった後に発生するイベント。
シンタックス
'宣言
 
Public Property ActiveCellChanged As String
public string ActiveCellChanged {get; set;}
使用例
Me.WebDataGrid1.Behaviors.Activation.ActivationClientEvents.ActiveCellChanged = "WDG1_ActiveCellChanged"
this.WebDataGrid1.Behaviors.Activation.ActivationClientEvents.ActiveCellChanged = "WDG1_ActiveCellChanged";
// The client event ActiveCellChanged takes two parameters sender and e
// sender  is the object which is raising the event
// e is the ActiveCellChangedEventArgs

    function WDG1_ActiveCellChanged(sender, e) {
        
        //Gets the active cell  
        var cell = e.getActiveCell();

        //Gets the column of the selected cell
        var column = cell.get_column();
        
        //Gets the key of the column
        var key = column.get_key();

        //Gets the value in the selected cell
        var value = cell.get_value();
       
        window.status = "The cell with the value '" + value + "' under the column '" + key + "' is activated";         
  }
参照