ce icon indicating copy to clipboard operation
ce copied to clipboard

allowManualInsertRow and allowManualInsertColumns problems

Open ilmistra opened this issue 5 years ago • 3 comments

In Jexcel v4

allowInsertRow: true, allowInsertColumn: true, allowManualInsertRow: false, allowManualInsertColumn: false,

I can insert rows and columns from the code, but even manually right-clicking the table. Is it a bug?

ilmistra avatar Jan 28 '21 11:01 ilmistra

Hi,

I think no:

allowInsertRow it's global authorization to insertRow. allowManualInsertRow it's just automaticaly insertRow when you type Enter in end of file.

But, if you use custom contextMenu, you can insert condition (If) for not authorization insertRow by contextMenu if you allowManualInsertRow : false.

Same behavior for Column

GBonnaire avatar Jan 29 '21 14:01 GBonnaire

To block from code and from the contextMenu. You define everything as false. If you wish to keep from code, you should customize the contextmenu.

hodeware avatar Jan 29 '21 19:01 hodeware

Gotcha! Thank's

ilmistra avatar Jan 30 '21 08:01 ilmistra