canvas-datagrid

Canvas based data grid web component. Capable of displaying millions of contiguous hierarchical rows and columns without paging or loading, on a single canvas element.

BSD-3-CLAUSE License

Downloads
25.2K
Stars
1.4K
Committers
39

Bot releases are hidden (Show)

canvas-datagrid -

Published by TonyGermaneri about 3 years ago

canvas-datagrid -

Published by TonyGermaneri about 3 years ago

This is for NPM version v0.3.5.

canvas-datagrid -

Published by TonyGermaneri about 3 years ago

canvas-datagrid - Experimental

Published by TonyGermaneri over 5 years ago

canvas-datagrid - Experimental

Published by TonyGermaneri over 5 years ago

This fixes a long standing bug that prevented the component working as a web component in safari and other webkit browsers.

canvas-datagrid - Experimental

Published by TonyGermaneri over 5 years ago

canvas-datagrid - Experimental

Published by TonyGermaneri over 5 years ago

canvas-datagrid - Experimental

Published by TonyGermaneri almost 6 years ago

Dispatch a togglecolumn event when column visibility is changed in the context menu.

canvas-datagrid - Experimental

Published by TonyGermaneri almost 6 years ago

canvas-datagrid - Experimental

Published by TonyGermaneri almost 6 years ago

fixed issue #158

canvas-datagrid - Experimental

Published by TonyGermaneri almost 6 years ago

This fixes a long standing bug with the clipboard when ordering columns. Clipboard is complex, partially due to the many MIME types. If you find your implementation does not work please reopen issue #181.

canvas-datagrid - Experimental

Published by TonyGermaneri almost 6 years ago

Fixed another clipboard bug. Fixed drag/drop selection bug. Clipboard should be working entirely now.

canvas-datagrid - Experimental

Published by TonyGermaneri almost 6 years ago

This release fixes a few critical problems with copy/paste.

canvas-datagrid - Experimental

Published by TonyGermaneri about 6 years ago

Fixes a bug in FF/Safari where the grid would not render initially.

canvas-datagrid - Experimental

Published by TonyGermaneri about 6 years ago

Minor version number change means breaking changes:

  • Edit input is by default added to the body again. The different implementations as well as the different browser features supported made it impossible to work for everyone using if conditions and detection. Now a new event appendeditinput will allow implementers to control where the edit input is appended. This should accommodate all situations.

  • Mouse movement and scrolling are now attached to document instead of document.body. Apparently if you attach to document mouse movements outside of the browser window can still be listened to as long as a click is held down. I didn't know this and found it on accident while trying to implement a better scroll function. I'm not sure the internet knows about this. This is ideal for the virtual canvas scroll bar. In future versions mouse scroll capture mode will probably be deprecated as it is no longer useful. I've tested the event in FF, Safari and Chrome. I don't know if it will work in all browsers yet.

  • Calculated styles and inline styles are handled better. More specifically around the web component mode where classes can cascade onto the grid. Inline styles are now handled in a separate object that properly overrides calculated and class styles. This change could cause some unexpected but now correct behavior from existing implementations that do not explicitly define height/width.

Breaking status is based on a bunch of tests breaking and having to have grid.style.height = '100%'; grid.style.width = '100%'; added to them to have them work again. I added the two properties to all tests as inline properties on the helper factory function.

canvas-datagrid - Experimental

Published by TonyGermaneri about 6 years ago

fixed issue #156

canvas-datagrid - Experimental

Published by TonyGermaneri about 6 years ago

canvas-datagrid - Experimental

Published by TonyGermaneri over 6 years ago

Fixes #140 and #138.

canvas-datagrid - Experimental

Published by TonyGermaneri over 6 years ago

added wrapping cell text feature #134. This feature changes the way text behaves generally and may break existing implementations although this isn't expected.

canvas-datagrid - Experimental

Published by TonyGermaneri over 6 years ago

Fixed bug in findColumnScrollLeft introduced in v0.20, caused bad tabbing commands on small grids.

Package Rankings
Top 2.21% on Npmjs.org
Top 8.3% on Bower.io
Badges
Extracted from project README
NPM License Published on webcomponents.org