GC.Spread.Sheets 名前空間 > Worksheet タイプ : hasPendingChanges メソッド |
Javascript (Usage) | |
---|---|
var instance = new GC.Spread.Sheets.Worksheet(name); var value; // Type: boolean value = instance.hasPendingChanges(); |
Javascript (Specification) | |
---|---|
function hasPendingChanges() : boolean; |
true
、それ以外の場合はfalse
。var customers = [ { ID: 0, Name: 'A', Info1: 'Info0' }, { ID: 1, Name: 'B', Info1: 'Info1' }, { ID: 2, Name: 'C', Info1: 'Info2' }, ]; activeSheet.autoGenerateColumns = true; activeSheet.setDataSource(customers); $("#button1").click(function () { alert(activeSheet.hasPendingChanges()); }); // Add button control to page <input type="button" id="button1" value="button1"/>