Changeset - 0b6d23dc330e
[Not reviewed]
0 1 0
James Polley - 6 years ago 2018-08-01 02:33:14
jamezpolley@gmail.com
Add a container for buttons
1 file changed with 14 insertions and 15 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/symposion/reviews/base.html
Show inline comments
...
 
@@ -67,20 +67,19 @@
 
        "pageLength": 100,
 
        "colReorder": true,
 
        "buttons": [{
 
            extend: 'collection',
 
            text: 'Export',
 
            buttons: ["copy", "csv", "print"]
 
        },
 
        { extend: 'collection',
 
        text: 'Columns',
 
        buttons: [
 
        { extend: 'columnsToggle',
 
        columns: '.toggle' },
 
        { extend: 'columnToggle',
 
        text: 'Vote details',
 
        columns: '.votes'
 
    }
 
    ]
 
}]});
 
              extend: 'collection',
 
              text: 'Export',
 
              buttons: ["copy", "csv", "print"]
 
            },
 
            { extend: 'collection',
 
              text: 'Columns',
 
              buttons: [
 
                { extend: 'columnsToggle',
 
                  columns: '.toggle' },
 
                { extend: 'columnToggle',
 
                  text: 'Vote details',
 
                  columns: '.votes'
 
    }]}]});
 
    table.buttons().container().appendTo( $('.col-sm-6:eq(0)', table.table().container() ) );
 
</script>
 
{% endblock %}
0 comments (0 inline, 0 general)