PHPackages                             tudouer/larvel-admin-ext-grid-sortable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. tudouer/larvel-admin-ext-grid-sortable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

tudouer/larvel-admin-ext-grid-sortable
======================================

Sort the grid data by drag and drop rows

v1.2(5y ago)151MITPHPPHP &gt;=7.0.0

Since Jun 25Pushed 5y agoCompare

[ Source](https://github.com/todouer/grid-sortable)[ Packagist](https://packagist.org/packages/tudouer/larvel-admin-ext-grid-sortable)[ Docs](https://github.com/laravel-admin-ext/grid-sortable)[ RSS](/packages/tudouer-larvel-admin-ext-grid-sortable/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (4)Used By (0)

laravel-admin grid-sortable
===========================

[](#laravel-admin-grid-sortable)

This extension can help you sort by dragging the rows of the data list, the front end is based on [jQueryUI sortable](https://jqueryui.com/sortable/), and the back end is based on [eloquent-sortable](https://github.com/spatie/eloquent-sortable)

这个插件可以帮助你通过拖动数据列表的行来进行排序，前端基于[jQueryUI sortable](https://jqueryui.com/sortable/), 后端基于[eloquent-sortable](https://github.com/spatie/eloquent-sortable)

[![Kapture 2019-06-25 at 10 14 51](https://user-images.githubusercontent.com/1479100/60064224-50b97080-9732-11e9-8023-431fc6fe81a5.gif)](https://user-images.githubusercontent.com/1479100/60064224-50b97080-9732-11e9-8023-431fc6fe81a5.gif)

Installation
------------

[](#installation)

```
composer require tudouer/larvel-admin-ext-grid-sortable -vvv
```

Publish asserts

```
php artisan vendor:publish --provider="Encore\Admin\GridSortable\GridSortableServiceProvider"
```

Usage
-----

[](#usage)

Define your model

```
