lunarphp / livewire-tables

[READ ONLY] Subtree split of the Livewire Datatable component (see lunarphp/lunar)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Livewire Tables

Installation

composer require lunarphp/livewire-tables

Creating a table

<?php

namespace App\Http\Livewire\Tables;

use Lunar\LivewireTables\Components\Table;

class OrdersTable extends Table
{

}

Features

Searching

To enable searching on the table, set the $searchable property to true.

/**
 * Whether this table is searchable.
 *
 * @var bool
 */
public $searchable = true;

This will enable a search box and add the query parameter whenever the search input is used.

About

[READ ONLY] Subtree split of the Livewire Datatable component (see lunarphp/lunar)


Languages

Language:PHP 53.0%Language:Blade 44.8%Language:CSS 1.3%Language:JavaScript 0.8%