【问题标题】:How to use slimscroll for a specific portion in a table?如何将 slimscroll 用于表格中的特定部分?
【发布时间】:2015-10-28 04:42:33
【问题描述】:

详细信息:我在我的应用程序中使用 jquery slimscroll,它工作正常。但我面临的问题是,当我尝试在表格中实现 slimscroll 时,滚动条也与表格标题重叠。我只希望滚动仅在表格正文部分可见。 这是我的html:

  <div class="col-sm-12 col-md-6  col-lg-4">
                    <div  class="table-responsive">
                        <table class="table col-md-12 table-striped table-condensed cf">
                            <thead class="cf">
                                <tr>
                                    <th>Select</th>
                                    <th>Page</th>
                                    <th>Count</th>
                                </tr>
                            </thead>
                            <tbody id="pageDetails-1" class="slimScrollPage">
                            </tbody>
                        </table>
                    </div>
    </div>

这里是“slimScrollPage”类,我用来启动slimscroll。我曾尝试将“slimScrollPage”类的位置更改为各种位置,但徒劳无功。

【问题讨论】:

    标签: jquery slimscroll


    【解决方案1】:

    你可以使用 jscrollpane 供参考,请参阅以下链接 http://jscrollpane.kelvinluck.com/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多