client side Datatable

is it possible to implement client side datatable with table builder? 🤔
6 Replies
tuyz
tuyz13mo ago
can you provide more information? do you mean inside a livewire component? @Punyapal Shah
S. Mert ÖZTÜRK
S. Mert ÖZTÜRK13mo ago
@Punyapal Shah Yes it's possible. Without filament core, you can use tables, forms, infolist's ant other's with install spesific. For example for table; composer require filament/tables:"^3.0-stable" -W install filament/tables to your project and check https://filamentphp.com/docs/3.x/tables/installation Be sure php artisan filament:install --tables npm install tailwindcss @tailwindcss/forms @tailwindcss/typography postcss autoprefixer --save-dev and set tailwind config options
Punyapal Shah
Punyapal ShahOP13mo ago
I'm working with widgets. I have 5 widgets one of which I'm using for filters, it dispatch event with the filters. I have a common function that provides data to all widgets from the cache based on filters. so the case is I already have the data on the client side and if I use table builder then I have to provide a query and all things work with server call even if I have data already. Ttherefore I'm looking client side debatable
Dennis Koch
Dennis Koch13mo ago
It’s how filament and livewire works. If you want a different behavior you need to build your own.
S. Mert ÖZTÜRK
S. Mert ÖZTÜRK13mo ago
+1 to Dennis message, but still want to use filament space, you can use Cache for your query. But it's may cause bug on some features.
Punyapal Shah
Punyapal ShahOP13mo ago
Thanks @Dennis Koch, I was just cross checking if it possible to do so... thanks for your time
Want results from more Discord servers?
Add your server