var designer = new GC.Spread.Sheets.Designer.Designer(document.getElementById("hostDiv"));
var customConfig = {
ribbon: [
{
id: "home",
text: "ホーム",
buttonGroups: [
{
label: "アンドゥ",
thumbnailClass: "ribbon-thumbnail-undoRedo",
commandGroup: {
children: [
{
direction: "vertical",
commands: [
"undo",
"redo"
]
}
]
}
}
]
}
],
contextMenu: [
"contextMenuCut",
"contextMenuCopy",
],
fileMenu: "fileMenuButton",
sidePanels: [
{
position: "top",
allowResize: true,
command: "formulaBarPanel",
uiTemplate: "formulaBarTemplate"
},
]
};
var customDesigner = new GC.Spread.Sheets.Designer.Designer(document.getElementById("hostDiv2"), customConfig);