我使用footable(http://fooplugins.com/footable-demos/)并且我想在屏幕调整为移动屏幕尺寸时自动展开所有行。任何想法如何实现这一目标?
答案 0 :(得分:3)
$('table').trigger('footable_expand_all');
$('table').bind('footable_breakpoint', function(){
$('table').trigger('footable_expand_all');
});
诀窍。