Limit Filament columns length showing a tooltip when text exceeds
You can install the package via composer:
composer require defstudio/filament-column-length-limiter
After installation, just call ->limitWithTooltip(xx)
in one of your table columns to automatically limit it's length and showing a nice tooltip on hover with full content
TextColumn::make('description') ->label('Post Description') ->limitWithTooltip(40)
if no length is set, the column will try to take all available space, cutting its length in case of overflow, still showing the tooltip only if its content is cut:
TextColumn::make('description') ->label('Post Description') ->limitWithTooltip()
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.
Def Studio is a web and software agency based in Bari, Apulia, south of Italy. It was initially co-created by Fabio Ivona and Daniele Romeo as a group of freelance web developers and then it took the form of a Ltd. Company.
Our mission is to create advanced digital products that are easy to maintain and update, tailor-made digital solutions, and contribute to the open-source world.