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
Afficher le fichier Open project: himiklab/yii2-sortable-grid-view-widget Class Usage Examples

Méthodes publiques

Свойство Type Description
$scope callable
$sortableAttribute database field name for row sorting

Méthodes publiques

Méthode Description
beforeInsert ( )
events ( )
gridSort ( $items )

Method Details

beforeInsert() public méthode

public beforeInsert ( )

events() public méthode

public events ( )

gridSort() public méthode

public gridSort ( $items )

Property Details

$scope public_oe property

public callable $scope
Résultat callable

$sortableAttribute public_oe property

database field name for row sorting
public $sortableAttribute