SpreadJS製品ヘルプ
unbind メソッド
GC.Spread.Sheets.Designer 名前空間 > Designer タイプ : unbind メソッド
イベントタイプ。
連結を解除する関数を指定します。
デザイナへのイベントの連結を解除します。
シンタックス
var instance = new GC.Spread.Sheets.Designer.Designer(host, config, spread, spreadOptions);
var value; // Type: any
value = instance.unbind(type, fn);
function unbind( 
   type : string,
   fn : Function
) : any;

パラメータ

type
イベントタイプ。
fn
連結を解除する関数を指定します。
使用例
designer.bind(GC.Spread.Sheets.Designer.Events.FileLoaded, function(event,data){
    console.log("ファイルが読み込まれました")
});
designer.unbind(GC.Spread.Sheets.Designer.Events.FileLoaded);
関連トピック

参照

Designer タイプ