sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

how can i lock (make it read only) a specific column ?

Open ebra100 opened this issue 8 years ago • 3 comments

ebra100 avatar May 31 '18 01:05 ebra100

Any update on this?

tanakorn-mint avatar Oct 16 '18 23:10 tanakorn-mint

I am stuck at this too. Is it possible to lock whole column ? and how ?

ankurgupta325 avatar Sep 27 '19 11:09 ankurgupta325

Like most styling features, we offer this in our Pro builds

For XLSX, the default is all cells locked. To unlock a column, you would have to set a column style as well as styles for each cell in the column. The last step is to protect the worksheet (which you can actually do here by setting the !protect key)

SYLK has the option to default to unprotected but the same principle applies

SheetJSDev avatar Sep 16 '21 21:09 SheetJSDev