承接 xpbl4/yii2-grid 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

xpbl4/yii2-grid

最新稳定版本:v1.0.1

Composer 安装命令:

composer require xpbl4/yii2-grid

包简介

The GridView override for Yii2 framework.

README 文档

README

Latest Version Software License Total Downloads

GridView widget extending features of Yii 2 framework widget.

Install

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist xpbl4/yii2-grid "*"

or add

"xpbl4/yii2-grid": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by:

use xpbl4\grid\GridView;

echo GridView::widget([
    'dataProvider' => $dataProvider,
    'columns' => [
        'id',
        'name',
        'created_at:datetime',
        // ...
    ],
]);

GridView

The following functionalities have been added/enhanced:

Table Filter (Enhanced)

  • Filter/Header position
    • [[FILTER_POS_HEADER]]: the filters will be replace of each column's header cell.
  • Filter error placement
    • [[ERROR_POS_FILTER]]: the errors will be displayed right below each column's filter input.
    • [[ERROR_POS_SUMMARY]]: the errors will be displayed in the filter model {errors} section. See [[renderErrors()]].
    • [[ERROR_POS_TOOLTIP]]: the errors will be displayed in tooltip of each column's filter input.

Contributing

Please see CONTRIBUTING for details.

Credits

License

yii2-grid is released under the BSD-3-Clause License. Please see License File for more information.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2023-08-31