Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
himiklab
sortablegrid
SortableGridBehavior
PHP Class himiklab\sortablegrid\SortableGridBehavior
For example:
php public function behaviors() { return [ 'sort' => [ 'class' => SortableGridBehavior::className(), 'sortableAttribute' => 'sortOrder', 'scopeAttribute' => null ], ]; }
Author:
HimikLab
Inheritance:
extends
yii\base\Behavior
Mostra file
Open project: himiklab/yii2-sortable-grid-view-widget
Class Usage Examples
Public Properties
Property
Type
Description
$scope
callable
$sortableAttribute
database field name for row sorting
Public Methods
Method
Description
beforeInsert
( )
events
( )
gridSort
(
$items
)
Method Details
beforeInsert()
public
method
public
beforeInsert
( )
events()
public
method
public
events
( )
gridSort()
public
method
public
gridSort
(
$items
)
Property Details
$scope
public_oe property
public
callable
$scope
return
callable
$sortableAttribute
public_oe property
database field name for row sorting
public
$sortableAttribute