PHPackages                             tsvetann/sortablegridview - 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. tsvetann/sortablegridview

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

tsvetann/sortablegridview
=========================

A sortable grid view for Yii2

31.1k[1 issues](https://github.com/tsvetann/SortableGridview/issues)PHP

Since Nov 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/tsvetann/SortableGridview)[ Packagist](https://packagist.org/packages/tsvetann/sortablegridview)[ RSS](/packages/tsvetann-sortablegridview/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

This repo is outdated and unmaintained
======================================

[](#this-repo-is-outdated-and-unmaintained)

SortableGridview
================

[](#sortablegridview)

Yii2 Sortable Gridview

What is sortable gridview
-------------------------

[](#what-is-sortable-gridview)

Sometimes one needs a more complex jquery sortable element such that you can filter the elements in a bigger database and then be able to sort the results. Sortable Gridview fulfills this gap

Usage
-----

[](#usage)

There is an additional attribute available `sortOptions = []`. It takes options from the [jquery ui sortable](http://api.jqueryui.com/sortable/)

```
echo SortableGridview::widget([
            'dataProvider' => $dataProvider,
            'filterModel' => $filterModel,
            'options' => [
                'id' => 'targetTable',
                'class' => 'grid-view'
            ],
            'sortOptions' => [
                'placeholder' => 'ui-state-highlight',
                'cursor' => 'move',
                'receive' => new JsExpression("function(event, ui) {
                    console.log('receive');
                }"),
                'change' => new JsExpression("function(event, ui) {
                    console.log('change');
                }"),
            ],
            'columns' => [

                'id',
                'title',
            ],
        ]);

```

Installation via composer
-------------------------

[](#installation-via-composer)

require: "tsvetann/sortablegridview": "dev-master"

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f40d2201e9d4802ec14962d622a1f997c539ca4b4da4eb720071dd890c0701e3?d=identicon)[bettor](/maintainers/bettor)

---

Top Contributors

[![tsvetann](https://avatars.githubusercontent.com/u/2565891?v=4)](https://github.com/tsvetann "tsvetann (5 commits)")

### Embed Badge

![Health badge](/badges/tsvetann-sortablegridview/health.svg)

```
[![Health](https://phpackages.com/badges/tsvetann-sortablegridview/health.svg)](https://phpackages.com/packages/tsvetann-sortablegridview)
```

###  Alternatives

[frowhy/mini-program-aes

PHP 7.1 微信小程序加密解密算法

1020.9k](/packages/frowhy-mini-program-aes)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
