GridView for ASP.NET Web Forms
detailCreating イベント
jQuery.wijmo.c1gridview 名前空間 > options タイプ : detailCreating イベント
The jQuery.Event object.
The data with this event.
The detailCreating event handler is called when wijgrid requires to create a new detail wijgrid.
シンタックス
var options; //タイプ: jQuery.wijmo.c1gridview.options 

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

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

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

パラメータ

e
The jQuery.Event object.
args
The data with this event.
解説
Event receives options of a detail grid to create, which were obtained by cloning the detail option of the master grid. User can alter the detail grid options here and provide a specific datasource within the args.options.data option to implement run-time hierarachy.You can bind to the event either by type or by name. Bind to the event by name: $("#element").wijgrid({ detailCreating: function (e, args) { // some code here }}); Bind to the event by type: $("#element").bind("wijgriddetailcreating", function (e, args) { // some code here });
関連トピック

参照

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