Disable table-responsive class name #193
-
It is possible to configure something to render a data table without Something weird is happening because this data table is rendered inside a form with a HTML parent node Turbo disabled that is hiding completely the table node. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
You can override the Remember that nesting data table in a form can completely break the HTML because the data table renders its own forms like filtration form or the one that handles items-per-page selector. If you encounter more issues, remember that instead of nesting you can define a form outside and refer to its fields using |
Beta Was this translation helpful? Give feedback.
-
I found a Stimulus error related with this thread, so I decided to reopen it here. If you think that is better to open an issue let me know. Where do you think that can be this browser console output error? |
Beta Was this translation helpful? Give feedback.
If you meant the same template you are rendering the data table, then yes:
https://data-table-bundle.swroblewski.pl/docs/features/theming.html#one-off-theme-tweaks
If you're running version older than 0.27, please let me know if it works. This is because in that version theming was changed a little bit, and the order of themes now matters a lot.
The
data_table_theme
simply pushes the given theme to thetheme
variable in data table view. Older versions of the bundle was iterating through themes from first to last to render first match of the block, so if you used two themes with the same block, it would render the first one. Since 0.27 the bundle will render the second one, because each th…