Our blazing fast Grid component built with pure JavaScript
When a column is configured with "readOnly" property, the column can't be renamed. But only the data is read only, but the rename must be allowed, I guess.
Any possibility to change this behavior?
Hello,
I'm not sure, what you're looking for. Could you please explain a bit more? If you want to make a column not editable
You could set editor: false
inside of the column.
If you set the editor to false then I will let you rename the column
Is it what you're looking for?
Sorry by my English, but I'm talking about the column title. I activated the "ColumnRename" feature, and when the column is read only, I can't change the column title, the menu is disabled.
- Image.png (29.3 KiB) Viewed 207 times
Just don't set the column to be readOnly
and all will work fine.
Of course, but the cell edit is enabled, and the user can't change the values from this column, so, this is not good solution.
As Tasnim said, you should configure read only columns as:
So, why exists the "readOnly" property?
It's since a Column is a data model and we support it in the superclass, it's not so relevant in this case and we'll likely hide this docs option to avoid confusion.