app/Http/Presenters/Asset/AssetPresenter.php
public function table(Asset $asset)
    {
        return $this->table->of('assets', function (TableGrid $table) use ($asset) {
            $table->with($asset)->paginate($this->perPage);

            $table->attributes([
                'class' => 'table table-hover table-striped',
            ]);

            $table->column('tag');

            $table->column('name', function (Column $column) {
                $column->value = function (Asset $asset) {
                    return link_to_route('maintenance.assets.show', $asset->name, [$asset->getKey()]);
                };
            });

            $table->column('category', function (Column $column) {
                $column->value = function (Asset $asset) {
                    return $asset->category->trail;
                };
            });

            $table->column('location', function (Column $column) {
                $column->value = function (Asset $asset) {
                    return $asset->location->trail;
                };
            });

            $table->column('created_at');
        });
    }
public function table(Asset $asset)
    {
        return $this->table->of('assets', function (TableGrid $table) use ($asset) {
            $table->with($asset)->paginate($this->perPage);

            $table->attributes([
                'class' => 'table table-hover table-striped',
            ]);

            $table->column('tag');

            $table->column('name', function (Column $column) {
                $column->value = function (Asset $asset) {
                    return link_to_route('maintenance.assets.show', $asset->name, [$asset->getKey()]);
                };
            });

            $table->column('category', function (Column $column) {
                $column->value = function (Asset $asset) {
                    return $asset->category->trail;
                };
            });

            $table->column('location', function (Column $column) {
                $column->value = function (Asset $asset) {
                    return $asset->location->trail;
                };
            });

            $table->column('created_at');
        });
    }
Returns a new table of all assets.

@param Asset $asset

@return \Orchestra\Contracts\Html\Builder