Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Livewire Tables Laravel Package

rappasoft/laravel-livewire-tables

Laravel Livewire Tables provides dynamic, feature-rich data tables for Laravel Livewire with sorting, searching, filtering, pagination, bulk actions, and Bootstrap/Tailwind support. Build reusable table components backed by Eloquent queries.

View on GitHub
Deep Wiki
Context7

title: Loading Placeholder weight: 2

When running complex filters or searches, or displaying larger number of records, you can make use of the built-in Loading Placeholder, this is disabled by default.

setLoadingPlaceholderStatus

You may pass a boolean to this, which will either enable (true) or disable (false) the loading placeholder

    public function configure(): void
    {
        $this->setLoadingPlaceholderStatus(true);
    }

setLoadingPlaceholderEnabled

Use this method to enable the loading placeholder:

    public function configure(): void
    {
        $this->setLoadingPlaceholderEnabled();
    }

setLoadingPlaceholderDisabled

Use this method to disable the loading placeholder:

    public function configure(): void
    {
        $this->setLoadingPlaceholderDisabled();
    }

setLoadingPlaceholderContent

You may use this method to set custom text for the placeholder:

    public function configure(): void
    {
        $this->setLoadingPlaceholderContent('Text To Display');
    }

setLoadingPlaceHolderWrapperAttributes (Deprecated)

This is replaced by setLoadingPlaceHolderRowAttributes, but remains functional.

This method allows you to customise the attributes for the <tr> element used as a Placeholder when the table is loading. Similar to other setAttribute methods, this accepts a range of attributes, and a boolean "default", which will enable/disable the default attributes.

    public function configure(): void
    {
        $this->setLoadingPlaceHolderWrapperAttributes([
            'class' => 'text-bold',
            'default' => false,
        ]);
    }

setLoadingPlaceHolderRowAttributes

Replaces setLoadingPlaceHolderWrapperAttributes This method allows you to customise the attributes for the <tr> element used as a Placeholder when the table is loading. Similar to other setAttribute methods, this accepts a range of attributes, and a boolean "default", which will enable/disable the default attributes.

    public function configure(): void
    {
        $this->setLoadingPlaceHolderRowAttributes([
            'class' => 'text-bold',
            'default' => false,
        ]);
    }

setLoadingPlaceHolderIconAttributes

This method allows you to customise the attributes for the <div> element that is used solely for the PlaceholderIcon. Similar to other setAttribute methods, this accepts a range of attributes, and a boolean "default", which will enable/disable the default attributes.

    public function configure(): void
    {
        $this->setLoadingPlaceHolderIconAttributes([
            'class' => 'lds-hourglass',
            'default' => false,
        ]);
    }

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport