Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Error on click on no item in grid #164

Closed
rkstro opened this issue Nov 25, 2016 · 0 comments
Closed

Error on click on no item in grid #164

rkstro opened this issue Nov 25, 2016 · 0 comments

Comments

@rkstro
Copy link

rkstro commented Nov 25, 2016

When click or drag or another event fired in space of grid but not over a item, the library fails.

error_handler.js:54 TypeError: Cannot read property 'canResize' of null at NgGrid._onMouseDown (NgGrid.js:397) at _View_AdminGridComponent0._handle_mousedown_0_0 (component.ngfactory.js:171) at view.js:365 at dom_renderer.js:262 at dom_events.js:30 at ZoneDelegate.invoke (zone.js:232) at Object.onInvoke (ng_zone.js:238) at ZoneDelegate.invoke (zone.js:231) at Zone.runGuarded (zone.js:128) at NgZone.runGuarded (ng_zone.js:133)

The error on line 397 of file NgGrid.js is a comment what fail when item is null

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

No branches or pull requests

1 participant