     <pre>$('table').trigger('footable_collapse_all').trigger('footable_redraw');</pre>
                </p>
			</div>
		</div>
	</div>
    <script type="text/javascript">
        $(function () {
            $('table').footable();

            $('.toggle').click(function() {
                $('.toggle').toggle();
                $('table').trigger($(this).data('trigger')).trigger('footable_redraw');
            });
        });
    </script>
</body>
</html>
