定制 ostheneo/responsivetable 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ostheneo/responsivetable

最新稳定版本:1.0.0

Composer 安装命令:

composer require ostheneo/responsivetable

包简介

A Laravel Nova tool for creating responsive tables.

README 文档

README

Laravel Nova ResponsiveTable is a Nova tool that enhances your Nova tables with the ability to hide and show columns in response to screen size changes. This makes your tables responsive and more user-friendly.

Features

  • Responsive Tables: Automatically hide and show columns in your Nova tables based on screen size changes.
  • Column Visibility Toggle: Intuitive column visibility toggle for users.
  • No Dependencies: Lightweight and doesn't rely on external libraries like jQuery DataTable.

Installation

  1. Install the package using Composer:

    composer require ostheneo/responsivetable
  2. Register the tool in your NovaServiceProvider:

    // In app/Providers/NovaServiceProvider.php
    
    // ...
    
    protected function tools()
    {
        return [
            // ...
    
            new \OsTheNeo\ResponsiveTable\ResponsiveTable,
        ];
    }
    
    // ...
  3. Configure your Nova resources to use ResponsiveTable:

    In your Nova resource file, set the $tableStyle property to "responsive" to enable the responsive column visibility:

    public static $tableStyle = "responsive";

That's it! Your Nova resource tables will now be responsive, and users can toggle column visibility based on screen size changes.

Captura de pantalla de la funcionalidad de ResponsiveTable

License

Laravel Nova ResponsiveTable is open-source software licensed under the MIT license.

Support and Contribution

If you have any questions, issues, or feature requests, please create an issue on the GitHub repository. Contributions are also welcome through pull requests.

Credits

Laravel Nova ResponsiveTable is developed and maintained by OsTheNeo.

统计信息

  • 总下载量: 2.95k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 1
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-27