} if (!instance.acArrowListener) { instance.acArrowListener = function () { instance.view.wt.getSetting('onCellDblClick'); }; instance.rootElement.on('mousedown', '.htAutocompleteArrow', instance.acArrowListener); //this way we don't bind event listener to each arrow. We rely on propagation instead } }catch(e){ $(td).html(''); } }; $('#dg_wooc').handsontable({ data: [<?php product_render($IDS, $attributes, "json"); ?> ], minSpareRows: 0, colHeaders: true, rowHeaders: true, contextMenu: false, manualColumnResize: true, manualColumnMove: true, columnSorting: true, persistentState: true, variableRowHeights: false, fillHandle: 'vertical', currentRowClassName: 'currentRow', currentColClassName: 'currentCol', fixedColumnsLeft: <?php
if (!instance.acArrowListener) { instance.acArrowListener = function () { instance.view.wt.getSetting('onCellDblClick'); }; instance.rootElement.on('mousedown', '.htAutocompleteArrow', instance.acArrowListener); //this way we don't bind event listener to each arrow. We rely on propagation instead } }catch(e){ $(td).html(''); } }; $('#dg_wpsc').handsontable({ data: [<?php product_render($IDS, "json"); ?> ], minSpareRows: 0, colHeaders: true, rowHeaders: true, contextMenu: false, manualColumnResize: true, manualColumnMove: true, columnSorting: true, persistentState: true, variableRowHeights: false, fillHandle: 'vertical', currentRowClassName: 'currentRow', currentColClassName: 'currentCol', fixedColumnsLeft: <?php