| 1 | |
| 2 | (function($, DataTables){ |
| 3 | |
| 4 | $.extend( true, DataTables.Buttons.defaults, { |
| 5 | dom: { |
| 6 | container: { |
| 7 | tag: 'ul', |
| 8 | className: 'dt-buttons button-group' |
| 9 | }, |
| 10 | buttonContainer: { |
| 11 | tag: 'li', |
| 12 | className: '' |
| 13 | }, |
| 14 | button: { |
| 15 | tag: 'a', |
| 16 | className: 'button small' |
| 17 | }, |
| 18 | buttonLiner: { |
| 19 | tag: null |
| 20 | }, |
| 21 | collection: { |
| 22 | tag: 'ul', |
| 23 | className: 'dt-button-collection f-dropdown open', |
| 24 | button: { |
| 25 | tag: 'a', |
| 26 | className: 'small' |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 | } ); |
| 31 | |
| 32 | DataTables.ext.buttons.collection.className = 'buttons-collection dropdown'; |
| 33 | |
| 34 | })(jQuery, jQuery.fn.dataTable); |