GridView for ASP.NET Web Forms
pageIndexChanged イベント
jQuery.wijmo.c1gridview 名前空間 > options タイプ : pageIndexChanged イベント
The jQuery.Event object.
The data with this event.
The pageIndexChanged event handler is a function that is called after the page index is changed, such as when you use the numeric buttons to swtich between pages or assign a new value to the pageIndex option.
シンタックス
var options; //タイプ: jQuery.wijmo.c1gridview.options 

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

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

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

パラメータ

e
The jQuery.Event object.
args
The data with this event.
使用例
// Supply a callback function to handle the pageIndexChanged event:
$("#element").wijgrid({
	pageIndexChanged: function (e, args) {
		alert("The new pageIndex is: " + args.newPageIndex);
	}
});
解説
You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ pageIndexChanged: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgridpageindexchanged", function (e, args) { // some code here });
関連トピック

参照

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