Skip to content
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

Upgrade HandsOnTable Library #159

Open
quadrophobiac opened this issue Jun 12, 2017 · 1 comment
Open

Upgrade HandsOnTable Library #159

quadrophobiac opened this issue Jun 12, 2017 · 1 comment

Comments

@quadrophobiac
Copy link
Collaborator

We're currently working off v 0.16.x, latest stable is 0.31.x

Features that would be gained include (below is not exhaustive, recommend consulting https://github.com/handsontable/handsontable/releases?after=0.16 especially for breaking changes)

  • Context Menu plugin is now accesible from hot.getPlugin('contextMenu') (was hot.contextMenu)
  • All of Context Menu's actions can now be triggered using the executeCommand method. For example
  • There is now an option to hide a Context Menu entry using a hidden property (defined as a function, analogously to name or callback)
  • Context Menu's SEPARATOR constant is now accessible through Handsontable.plugins.ContextMenu.SEPARATOR (was Handsontable.ContextMenu.SEPARATOR)
  • Submenu's class name changed from htContextSubMenu_{...} to htContextMenuSub_{...}
  • option visibleRows to determine how many dropdown's options should be visible
  • new method getDataType
  • countRows() changed its functionality.
  • getData() method now returns the data after all the transformations
@quadrophobiac
Copy link
Collaborator Author

PR 169 worked around the need for updateSettings related HandsOnTable changes to register an additional call to render() due to the automatic call to render that accompanies an updateSettings() executing before the settings attributes are set to new values. Future versions of HandsOnTable may resolve this workaround

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant