Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pceuropa/yii2-ajax-sort
Yii2 sortable listview Ajax Drag and Drop
https://github.com/pceuropa/yii2-ajax-sort
ajax drag-drop listview sort sortable yii2-widgets
Last synced: 2 months ago
JSON representation
Yii2 sortable listview Ajax Drag and Drop
- Host: GitHub
- URL: https://github.com/pceuropa/yii2-ajax-sort
- Owner: pceuropa
- License: mit
- Created: 2016-12-19T10:39:16.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T20:43:05.000Z (almost 7 years ago)
- Last Synced: 2023-03-04T03:17:44.421Z (almost 2 years ago)
- Topics: ajax, drag-drop, listview, sort, sortable, yii2-widgets
- Language: PHP
- Homepage: https://pceuropa.net/yii2-extensions/yii2-menu
- Size: 16.6 KB
- Stars: 10
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yii2-ajax-sort
Sorting items -> Drag Drop -> AJAX -> Save## Instalation
```
composer require pceuropa/yii2-ajax-sort dev-master
```##Configure
```
use pceuropa\sort\SortWidget;echo SortWidget::widget([
'image_url' => Url::to('@web/images/'),
'data' => [
['id' => 1, 'image_name' => 'firefox.jpg', 'title' => 'text alternative'],
['id' => 2, 'image_name' => 'opera.jpg'],
['id' => 6, 'title' => 'text element', 'url' => 'https://'],
],
]);
```
[Yii2 sort list widget Demo and info](http://pceuropa.net/yii2-extensions/yii2-ajax-sort)