Skip to content

Table customization #169

Closed
Closed

Description

@Augen2203

Hi.
I wanted to customize my table a little, but I noticed that this is not possible, since it is tightly written in the class:
"class Bootstrap5".

Therefore, I cannot, for example, add the class table-sm or remove table-bordered, table-hover if I don't need it.

Is more customization of the tables possible?

Thanks for the great package!

Activity

  1. luanfreitasdev commented on Dec 4, 2021

    @luanfreitasdev
    Member

    Hello @Augen2203 .

    You can copy the \PowerComponents\LivewirePowerGrid\Themes\Bootstrap5::class class and make some modifications.

    To impose on your project, you can do it inside the component

        public function template(): ?string
        {
            return \App\Http\Livewire\MyCustomBs5Template::class;
        }
  2. locked and limited conversation to collaborators on Dec 4, 2021
  3. converted this issue into a discussion #172 on Dec 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions