data-jc-controller="Products"></div>
<input type="file" accept="application/json" id="productsimportjson" class="hidden">

<script>
	CONTROLLER('Products', function(ctrl) {

		ctrl.scope = 'products';
		ctrl.limit = 100; // Count of items per page

		var toolbar = ctrl.virtualize({ btnChecked: '.toolbar button[name="checked"]' });
		var filter; // A grid filter

		$('#productsimportjson').on('change', function(e) {
			var reader = new FileReader();
			reader.onload = function() {
				var items = PARSE(reade