dream-num / Luckysheet

Luckysheet is an online spreadsheet like excel that is powerful, simple to configure, and completely open source.
https://dream-num.github.io/LuckysheetDocs/
MIT License
15.95k stars 2.38k forks source link

[Question] How to disable right click menu on cell? #1419

Closed KiddoV closed 1 year ago

KiddoV commented 1 year ago

I want to create a read-only sheet, and want to disable completely the right click menu. How can I do that?

Also how to disable work sheet menu as well, because I want to create a fixed size work sheet (only 3 sheet with pre-config).

Thanks,

KiddoV commented 1 year ago

Fingered it out myself!

Have to set "all" value on cellRightClickConfig and sheetRightClickConfig to false. That's one odd way to do. I wish it have something like cellRightClickConfig: false or cellRightClickConfig: {} to disable right click!