PHPackages                             php-panel/ladmin-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. php-panel/ladmin-ext-grid-sortable

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

php-panel/ladmin-ext-grid-sortable
==================================

Sort the grid data by drag and drop rows

011PHP

Since Dec 1Pushed 5mo agoCompare

[ Source](https://github.com/php-panel/ladmin-ext-grid-sortable)[ Packagist](https://packagist.org/packages/php-panel/ladmin-ext-grid-sortable)[ RSS](/packages/php-panel-ladmin-ext-grid-sortable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)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 php-panel/ladmin-ext-grid-sortable -vvv
```

Publish asserts

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

Usage
-----

[](#usage)

Define your model

```
