What's new

Welcome to xCrud Community - Data Management and extended PHP CRUD

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

BUG Table horizontal scrollable

pierluisdj

New member
Joined
Nov 9, 2022
Messages
13
Reaction score
0
Points
1
Location
Italy
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"
 
Last edited:
Top Bottom