\", { \"data-key\": c.data, class: \"checkbox-row\" }).append(\n $(\"\", { class: \"checkbox checkbox-primary\" }).append(\n $(\"\", {\n type: \"checkbox\",\n name: `${tableName}[table_column_vis][]`,\n checked: !Object.keys(c).includes(\"visible\") || c.visible,\n value: i\n }).on(\"change\", function() {\n const index = api.colReorder.transpose(+$(this).val(), \"toCurrent\");\n api.column(index).visible($(this).is(\":checked\"));\n resize_iframe();\n saveColumns();\n }),\n $(\"