pierluisdj
New member
Bug in bootstrap4 theme that not permit horizontal scroll when we are many columns
TEMP SOLUTION:
mod file lib/xcrud/theme/bootstrap4/xcrud_list_view.php
search
<div class="row" style="margin: 0!important;overflow-x: scroll;">
<div class="xcrud-list-container <?php if($this ->is_edit_side){ echo 'col-sm-7'; } ?>">
replace with
<div class="table-responsive" style="margin:0!important">
<div class="table table-striped table-hover table-bordered<?php if($this ->is_edit_side){ echo 'col-sm-7'; } ?>">
mod file lib/xcrud/theme/bootstrap4/xcrud.ini
search
details_container = "form-row"
details_row = "form-group col-md-6"
replace with
details_container = "col-md-12"
details_row = "form-group col-md-12"
search
details_label_cell = "control-label col-sm-12"
details_field_cell = "col-md-12"
replacce with
details_label_cell = "control-label col-md-4"
details_field_cell = "col-md-8"
TEMP SOLUTION:
mod file lib/xcrud/theme/bootstrap4/xcrud_list_view.php
search
<div class="row" style="margin: 0!important;overflow-x: scroll;">
<div class="xcrud-list-container <?php if($this ->is_edit_side){ echo 'col-sm-7'; } ?>">
replace with
<div class="table-responsive" style="margin:0!important">
<div class="table table-striped table-hover table-bordered<?php if($this ->is_edit_side){ echo 'col-sm-7'; } ?>">
mod file lib/xcrud/theme/bootstrap4/xcrud.ini
search
details_container = "form-row"
details_row = "form-group col-md-6"
replace with
details_container = "col-md-12"
details_row = "form-group col-md-12"
search
details_label_cell = "control-label col-sm-12"
details_field_cell = "col-md-12"
replacce with
details_label_cell = "control-label col-md-4"
details_field_cell = "col-md-8"
Last edited: