【问题标题】:jQuery Library for pagination?用于分页的 jQuery 库?
【发布时间】:2015-05-06 04:10:24
【问题描述】:

实际上我已经搜索过,但我在网络上搜索真的很糟糕。我的要求是我从某个地方听说,当你创建一个表并使用一些 jQuery 库时,它会自动为你做一些喜欢的事情

  • 分页
  • 正在搜索
  • 排序

所以我搜索了这种类型的库,有人知道这种库吗?

需要你的帮助。 谢谢

【问题讨论】:

    标签: jquery pagination


    【解决方案1】:

    数据表是最好的。

    Check here

    DataTables 是 jQuery Javascript 库的插件。它是一个高度灵活的工具,基于渐进增强的基础,可以向任何 HTML 表格添加高级交互控件。

    特点

    Pagination, instant search and multi-column ordering
    Supports almost any data source:
    DOM, Javascript, Ajax and server-side processing
    Easily theme-able: DataTables, jQuery UI, Bootstrap, Foundation
    Wide variety of extensions inc. Editor, TableTools, FixedColumns and more
    Extensive options and a beautiful, expressive API
    Fully internationalisable
    Professional quality: backed by a suite of 2900+ unit tests
    Free open source software (MIT license)! Commercial support available.
    Scrolling options for table viewport
    Smart handling of column widths
    State saving
    Hidden columns
    Dynamic creation of tables
    Ajax auto loading of data
    Custom DOM positioning
    Single column filtering
    Alternative pagination types
    Non-destructive DOM interaction
    Sorting column(s) highlighting
    Advanced data source options
    Commercial support available
    Fully accessible for screenreaders / keyboard access
    Sensible file size: 78K minified, 26K gzip'd
    Extensive plug-in support
    Sorting, type detection, API functions, pagination and filtering
    Solid documentation and interface reference
    130+ pre-built examples
    

    【讨论】:

    • 我想把表格分成三列,那里也可以吗?
    • 当然,它是最灵活的插件。我几乎在每个项目中都使用它。
    【解决方案2】:

    这里我们有两个库的例子,这些库在客户端和服务器端都工作。

    Data Tables

    Jq grid

    您也可以根据需要进行比较。这里是比较的链接。 Data Tables vs JqGrid

    【讨论】:

    • 我猜jQgrid不允许ajax分页,所以最好选择Datatable。由于您永远不会获取完整的 SELECT * ..... 记录,因此您将始终使用 offset 和 limit。
    • @jQuery.PHP.Magento.com 是的,我只是给了他两个例子和区别,以便他可以根据自己的要求进行选择。
    • 罗希特,是她的:)
    猜你喜欢
    • 1970-01-01
    • 2010-11-10
    • 2023-03-25
    • 1970-01-01
    • 1970-01-01
    • 2020-07-18
    • 2015-07-28
    • 2013-12-30
    • 2015-03-28
    相关资源
    最近更新 更多