[]
        
(Showing Draft Content)

GC.Spread.Sheets.Tables.TableRemoveOptions

枚举: TableRemoveOptions

Sheets.Tables.TableRemoveOptions

删除表时保留哪些数据

代码示例

activeSheet.tables.add("Table1", 0, 0, 3, 3, GC.Spread.Sheets.Tables.TableThemes.dark1);
activeSheet.getCell(0,0).text("Name");
activeSheet.getCell(0,1).text("Value");
activeSheet.getCell(0,2).text("T/F");
activeSheet.getCell(1,0).text("AW");
activeSheet.getCell(1,1).text("5");
activeSheet.getCell(1,2).text("T");
//点击按钮
$("#button1").click(function () {
     var table  = activeSheet.tables.find(0,0);
     activeSheet.tables.remove(table, GC.Spread.Sheets.Tables.TableRemoveOptions.keepData);
});

Table of contents

枚举值成员

枚举值成员

keepData

keepData = 1

保持数据


keepStyle

keepStyle = 2

保持样式


none

none = 0

删除数据和样式