The control is a realization of mandatory access table using Javascript.
It's absolutely standalone and it doesn't require to include additional libraries.
<script type="text/javascript" src="bin/dymatrix.min.js"></script>and then:
dymatrix.init(selector, data, settings, onCreatedCallback);selector - jQuery selector to append rendered control into
data - init data (see demo source)
settings - {headerPopup: true|false, cellPopup: true|false}
onCreatedCallback - callback when document is loaded and control is created.
https://verych.github.io/dymatrix/
IE11, Edge, Firefox, Chrome, Safari.
Dynamic Matrix Tests
Level 0 (async) - object creating
√ Creating matrix object (without container) (316ms)
Level 1 - structure
√ Number of created groups
√ Number of created columns
√ Number of created rows
√ Number of created group headers
√ Number of created bulk actions
√ Number of created value cells
Level 2 - values
√ Initialization
√ Bulk init state
Level 3 - behaviour
√ Simple click (202ms)
√ Cycle click (587ms)
√ Bulk click
12 passing (1s)
- node.js
- webpack
- babel
- jquery
- mocha
- chai
see all of them in the package file
