我正在使用footable(一个jQuery脚本,使桌子响应手机,平板电脑等),但我有一个问题。触摸 - 点击展开每一行对我的项目来说都是不必要的。如何使用jQuery显示隐藏行?
通常用此代码它的工作原理:
<table class="footable">
<thead>
<tr>
<th data-class="expand">
First Name
</th>
<th>
Last Name
</th>
<th data-hide="phone,tablet">
Job Title
</th>
<th data-hide="phone,tablet">
DOB
</th>
<th data-hide="phone">
Status
</th>
</tr>
</thead>
$(函数(){。 $( '表')footable(); });
但是我怎样才能扩展所有的行为默认?
如果你希望他们所有的扩大,不启用footable ... – Rake36
@ Rake36我建议您检查问题再次。 – motto
我的意思是这样的http://prntscr.com/1fgtp2 不是这样的:http://prntscr.com/1fgu1k – motto