当使用 RTL 时,列会在调整大小时变得疯狂......
我正在使用 colResizable
。这是一个例子:
$("#nonFixedSample").colResizable({
fixed: false,
liveDrag: true,
gripInnerHtml: "<div class='grip2'></div>",
draggingClass: "dragging"
});
和简单的表格代码
<table dir="RTL" id="nonFixedSample" width="50%" border="0" cellpadding="0" cellspacing="0">
<tr>
<th>header</th>
<th>header</th>
<th>header</th>
</tr>
<tr>
<td class="left">cellaaaaaaaaaaaa</td>
<td>cell</td>
<td class="right">cellaaaaaaaaaa</td>
</tr>
<tr>
<td class="left">celaaaaaaaaaaaal</td>
<td>cell</td>
<td class="right">ceaaaaaall</td>
</tr>
<tr>
<td class="left bottom">celaaaaal</td>
<td class="bottom">celaaaaaaaaaaaaaaaal</td>
<td class="bottom right">celaaaaaaaal</td>
</tr>
</table>
我能做什么? 谢谢
最佳答案
打开库作者的错误。但是他们说他们不会支持
关于javascript - RTL 可调整大小的列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49608147/