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

Hypergrid goes into a broken state when loaded with an empty table() #264

Closed
texodus opened this issue Oct 5, 2018 · 3 comments
Closed
Labels
bug Concrete, reproducible bugs

Comments

@texodus
Copy link
Member

texodus commented Oct 5, 2018

No description provided.

@texodus texodus added the bug Concrete, reproducible bugs label Oct 8, 2018
@ghost
Copy link

ghost commented Oct 10, 2018

This is the exception we are getting. Data is coming in but not displaying in the view.
index.js:313 Uncaught TypeError: Cannot read property 'columnIndex' of undefined
at Constructor.getGridCellFromMousePoint (index.js:313)
at Constructor.getGridCellFromMousePoint (index.js:1224)
at handleMouseEvent (events.js:441)
at events.js:474
at HTMLCanvasElement.decorator (events.js:36)
at Canvas.dispatchNewEvent (Canvas.js:332)
at Canvas.dispatchNewMouseKeysEvent (Canvas.js:339)
at Canvas.finmousemove (Canvas.js:360)
at HTMLDocument. (Canvas.js:55)

@ghost
Copy link

ghost commented Oct 17, 2018

Not sure if the two issues are related but same effect, nothing is displayed after this exception even though data is coming in to the browser
view.js:663 TypeError: Cannot read property 'length' of undefined
at psp2hypergrid (psp-to-hypergrid.js:27)
at HTMLElement.value (hypergrid.js:145)
at HTMLElement. (hypergrid.js:350)
at tryCatch (runtime.js:62)
at Generator._invoke (runtime.js:296)
at Generator.prototype.(anonymous function) [as next] (https://unpkg.com/@jpmorganchase/perspective-viewer-hypergrid@0.2.2/build/hypergrid.plugin.js:1:149482)
at step (asyncToGenerator.js:17)
at asyncToGenerator.js:28

texodus added a commit that referenced this issue Oct 25, 2018
@texodus
Copy link
Member Author

texodus commented Oct 25, 2018

Thanks for the report! This should be fixed on master and will be in the 0.2.3 release.

@texodus texodus closed this as completed Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

No branches or pull requests

1 participant