-
-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
command to freeze the current column directly #2660
Comments
|
Many times I want to replace a column with it's frozen version, so it would be useful to me. This would save some steps. I haven't tried the sample code. Would the prefrozen column still exist as hidden? If not, it would be useful to rename it to something different, like with a suffix (uf -- unfrozen, pf - prefrozen, ...) I like that your example makes the frozen version the same name as the original column. It would be nice if this command:
This replace original column feature would be useful with other commands that return a new modified version of another column. |
@frosencrantz It is undoable. But it does not handle the case of freezing a column that is still materializing. I'm not sure that can be done.
Let me know if you have any feedback. |
Often I want to replace the current column with a frozen copy. It would be convenient to have a command that does the equivalent of:
Sheet.addCommand("", 'setcol-freeze', 'i = cursorVisibleColIndex; name = cursorCol.name; fc = freeze_col(cursorCol); fc.name = name; addColumnAtCursor(fc); columns.pop(i)', 'replace current column with a frozen copy, with all cells evaluated')
(right now this command triggers a bug that's already been reported #2607)
I can't think of a good keyboard shortcut that is not yet taken.
Do other people want this feature?
The text was updated successfully, but these errors were encountered: