Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/89.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery 模态表行没有响应时出现问题_Jquery_Twitter Bootstrap_Bootstrap Modal_Responsive - Fatal编程技术网

Jquery 模态表行没有响应时出现问题

Jquery 模态表行没有响应时出现问题,jquery,twitter-bootstrap,bootstrap-modal,responsive,Jquery,Twitter Bootstrap,Bootstrap Modal,Responsive,我的模态响应良好,但我的行要么使用滚动条,要么溢出模态。我无法让他们做出响应,我已经尝试了几种方法,但只是不确定我是否需要将模式中的表设置为datatable,或者是否可以将其保留。我试过两种方法,就像我说的,有DT,没有内部 <div id="dialog-confirm" class="modal fade" tabindex="-1" role="dialog" title="Cancelled Items" aria-labelledby="dialog-confirmLabel"

我的模态响应良好,但我的行要么使用滚动条,要么溢出模态。我无法让他们做出响应,我已经尝试了几种方法,但只是不确定我是否需要将模式中的表设置为datatable,或者是否可以将其保留。我试过两种方法,就像我说的,有DT,没有内部

<div id="dialog-confirm" class="modal fade" tabindex="-1" role="dialog" title="Cancelled Items" aria-labelledby="dialog-confirmLabel">
            <div class="modal-dialog modal-lg modal-sm" role="document" style="overflow:hidden;">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="btn-close close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    </div>
                    <div class="modal-body">
                        <div class="row ">
                            <div class="col-sm-12">
                                <table id="example" class="table table-striped">
                                    <thead>
                                        <tr>

&时代;

您的数据表将保留在

 <div class="modal body"> 
如果有帮助,试试看


谢谢

您的数据表将保留在

 <div class="modal body"> 
如果有帮助,试试看


谢谢

您是否尝试过让您的表格响应课堂表格响应?是的,这是我第一次尝试,因为这似乎是最简单的选择,但它什么也没做。你想查看整个桌子的宽度,不管模态有多小?我不认为这是可能的,根据Bootstrap,
表响应
只是使表
在小型设备(768px以下)上水平滚动。
我认为这与默认设置为300px的
模式sm的情况相同。你有没有试过让你的桌子响应课堂上的桌子响应?是的,这是我第一次尝试,因为这似乎是最简单的选择,但它什么也没做。你想查看整个桌子的宽度,不管模态有多小?我不认为这是可能的,根据Bootstrap,
表响应
只是使表
在小型设备(768px以下)上水平滚动。
我认为这与默认设置为300px的
模式sm的情况相同。仍然得到同样的结果。行只是被切断了,而不是像主数据表那样崩溃。你能把它的快照放进去吗?另外class=“table striped”do溢出:隐藏。否则(溢出:滚动)希望得到最好的结果:-)仍然得到与此相同的结果。行只是被切断了,而不是像主数据表那样崩溃。你能把它的快照放进去吗?另外class=“table striped”do溢出:隐藏。否则(溢出:滚动)希望达到最佳状态:-)
    <div class="row " style="overflow:hidden">
    <div class="col-sm-12" style="overflow:hidden">
   overflow-x:scroll
   overflow-y:scroll