バージョン

CellSelectionChanged プロパティ (SelectionClientEvents)

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

       function WDG1_CellSelectionChanged(sender, e) {
           
           //Returns the collection of selected cells
           var selectedCells = e.getSelectedCells();

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

           if (s == 'Yes')

               //Unselects the selected cells
               selectedCells.clear();
           
       }
参照