2017 © Pedro Peláez
 

yii2-extension yii2-handsontable

Yii2 Handsontable widget

image

deesoft/yii2-handsontable

Yii2 Handsontable widget

  • Saturday, March 5, 2016
  • by mdmunir
  • Repository
  • 1 Watchers
  • 0 Stars
  • 178 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 2 % Grown

The README.md

yii2-handsontable

Yii2 Handsontable widget, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require deesoft/yii2-handsontable "~1.0"

or add, (*4)

"deesoft/yii2-handsontable": "~1.0"

to the require section of your composer.json file., (*5)

Usage



= Handsontable::widget([
    'varName' => 'table1', //  [
        'data' => $data,
        'column' => [
            ['data' => 'id'],
            ['data' => 'name.first'],
            ['data' => 'name.last'],
            ['data' => 'address']
        ],
        'afterChange' => new JsExpresion('function(){...}'),
    ],
]);?>

registerJs($this->render('_script.js')); ?>

file _script.js, (*6)

$('mybtn').click(function(){
    tableData = table1.getData();
    // do something with tableData
});

The Versions

05/03 2016

dev-master

9999999-dev

Yii2 Handsontable widget

  Sources   Download

BSD-3-Clause

The Requires

 

by Misbahul Munir

yii2 excel handsontable