1金币
最佳答案您好,请参考以下代码:
let spread = new GC.Spread.Sheets.Workbook(
document.getElementById("gc-designer-container"),
{ sheetCount: 1 }
);
function ContextMenu() {}
ContextMenu.prototype = new GC.Spread.Sheets.ContextMenu.ContextMenu(spread);
ContextMenu.prototype.onOpenMenu = function (
menuData,
itemsDataForShown,
hitInfo,
spread
) {
console.log(itemsDataForSh ...
| |
| |
| |
| |
| |
| |
| |
| |