GridView for ASP.NET Web Forms
afterCellEdit イベント
jQuery.wijmo.c1gridview 名前空間 > options タイプ : afterCellEdit イベント
The jQuery.Event object.
The data with this event.
The afterCellEdit event handler is a function called after cell editing is completed. This function can assist you in completing many tasks, such as in making changes once editing is completed; in tracking changes in cells, columns, or rows; or in integrating custom editing functions on the front end.
シンタックス
var options; //タイプ: jQuery.wijmo.c1gridview.options 

//新しいウィジェットc1gridviewを作成
$(".selector").c1gridview(options);

//以前はc1gridviewで作成されたウィジェットのインスタンスを取得
var widgetInstance; //タイプ: jQuery.wijmo.c1gridview
widgetInstance = $(".selector").data("wijmo-c1gridview");

%JQueryMemberName%イベントハンドラ関数を設定する 
widgetInstance.option("afterCellEdit", function (e, args) { } );
afterCellEdit = function ( 
   e : Object,
   args : wijmo.grid.IAfterCellEditEventArgs
) { };

パラメータ

e
The jQuery.Event object.
args
The data with this event.
使用例
// Once cell editing is complete, the function calls the destroy method to destroy the wijcombobox widget and the wijinputnumber widget which are used as the custom editors.
$("#element").wijgrid({
	afterCellEdit: function(e, args) {
		switch (args.cell.column().dataKey) {
			case "Position":
				args.cell.container().find("input").wijcombobox("destroy");
				break;
			case "Acquired":
				args.cell.container().find("input").wijinputnumber("destroy");
				break;
		}
	}
});
解説
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ afterCellEdit: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridaftercelledit", function (e, args) { // some code here });
関連トピック

参照

options タイプ
c1gridview jQuery ウィジェット