himiklab/yii2-handsontable-widget 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

himiklab/yii2-handsontable-widget

最新稳定版本:1.1.1

Composer 安装命令:

composer require himiklab/yii2-handsontable-widget

包简介

A minimalist Excel-like grid widget for Yii2

README 文档

README

A minimalist Excel-like grid widget for Yii2 based on Handsontable.

Packagist Packagist license

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist "himiklab/yii2-handsontable-widget" "*"

or add

"himiklab/yii2-handsontable-widget" : "*"

to the require section of your application's composer.json file.

Usage

use himiklab\handsontable\HandsontableWidget;

<?= HandsontableWidget::widget([
    'settings' => [
        'data' => [
            ['A1', 'B1', 'C1'],
            ['A2', 'B2', 'C2'],
        ],
        'colHeaders' => true,
        'rowHeaders' => true,
    ]
]) ?>

or with ActiveRecord

in view:

use himiklab\handsontable\HandsontableWidget;

<?= HandsontableWidget::widget([
    'requestUrl' => 'hts',
    'isRemoteChange' => true,
]); ?>

in controller:

use app\models\Page;
use himiklab\handsontable\actions\HandsontableActiveAction;

public function actions()
{
    return [
        'hts' => [
            'class' => HandsontableActiveAction::className(),
            'model' => Page::className(),
            'isChangeable' => true,
        ],
    ];
}

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 3
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-10-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固