Create blade file for each PowerGrid table component #607
Replies: 5 comments 8 replies
-
You can publish the views using
Then you can edit the views to customize them. |
Beta Was this translation helpful? Give feedback.
-
Publishing views allow to make one customization for all table views at one place, but I want to make different customization for each table view How can I do that? |
Beta Was this translation helpful? Give feedback.
-
Maybe you can define a variable in the table php file, and then look for the variable in the view and base conditionals off of that. |
Beta Was this translation helpful? Give feedback.
-
Good idea ☝ Is it possible to make this feature if I forked this package ? |
Beta Was this translation helpful? Give feedback.
-
You do not need to fork the package. You can define new variables in the php class. Publish the views as stated before. Then change the views as per your needs. |
Beta Was this translation helpful? Give feedback.
-
⚡ PowerGrid ⚡ Feature Request
Summary
First thanks a lot for your efforts in developing this package and make it public. It is fabulous.
When creating new PowerGrid table, What I need is to be able to customize each blade file of PowerGrid table independently
Ex: add new components, change some style, add some logic
It is better to create new blade file for each PowerGrid table with default content from base PowerGrid blade file
Beta Was this translation helpful? Give feedback.
All reactions