- Issue created by @keshavv
- 🇫🇷France lazzyvn paris
there is another issue, but they confirm that it works
https://www.drupal.org/project/bootstrap_table/issues/3378593 🐛 Sticky headers not working Fixed - Status changed to Closed: won't fix
11 months ago 7:51am 30 January 2024 - 🇮🇳India keshavv India
The solution is to add the hook to your custom theme and add the offset from the top accordingly.
/** * Implements hook_preprocess_views_view_bootstraptable(). */ function template_preprocess_views_view_bootstraptable(&$variables) { $view = $variables['view']; $style = $view->style_plugin; $options = $style->options; if ($options["extension"]['sticky_header'] == 1) { if (\Drupal::currentUser()->hasPermission('access toolbar')) { // Set the Header offset from the top. $variables["attributes"]['data-sticky-header-offset-y'] = 80; } } }