gpt4 book ai didi

javascript - RTL 可调整大小的列

转载 作者:行者123 更新时间:2023-11-28 01:56:20 25 4
gpt4 key购买 nike

当使用 RTL 时,列会在调整大小时变得疯狂......

我正在使用 colResizable。这是一个例子:

http://jsfiddle.net/r0rfrhb7/

  $("#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>

我能做什么?谢谢

最佳答案

打开库作者的错误。但是他们说他们不会支持

http://github.com/alvaro-prieto/colResizable/issues/69

关于javascript - RTL 可调整大小的列,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49608147/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com