Skip to content

拖不动,不知道哪里没用对😫! #1

@warmup413

Description

@warmup413

`
class UserTag extends BaseModel implements Sortable
{
use SortableTrait;

public $sortable = [
    'order_column_name' => 'popular',
    'sort_when_creating' => true,
];

}

return Grid::make(new UserTag(), function (Grid $grid) {
$grid->popular->sortable();
});
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions