\TbSortableAction

## TbSortableAction CAction Component

It is a component that works in conjunction of TbExtendedGridView widget with sortableRows true. Just attach to the controller you wish to make the calls to.

Summary

Methods
Properties
Constants
run()
$modelName
No constants found
No protected methods found
No protected properties found
N/A
isValidRequest()
update()
No private properties found
N/A

Properties

$modelName

$modelName : string

Type

string — the name of the model we are going to toggle values to

Methods

run()

run()

Widgets run function

Throws

\CHttpException

isValidRequest()

isValidRequest()

update()

update(mixed $model, mixed $sortableAttribute, mixed $sortOrderData) : string

Parameters

mixed $model
mixed $sortableAttribute
mixed $sortOrderData

Returns

string