<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Responsive — DataTables forums</title>
        <link>https://next.datatables.net/forums/</link>
        <pubDate>Wed, 22 Jul 2026 01:32:53 +0000</pubDate>
        <language>en</language>
            <description>Responsive — DataTables forums</description>
    <language>en</language>
    <atom:link href="https://next.datatables.net/forums/categories/responsive/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Buttons resize on Parent Child datatables example</title>
        <link>https://next.datatables.net/forums/discussion/81577/buttons-resize-on-parent-child-datatables-example</link>
        <pubDate>Wed, 17 Dec 2025 17:45:19 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>lowrymel</dc:creator>
        <guid isPermaLink="false">81577@/forums/discussions</guid>
        <description><![CDATA[<p>How would I stop the buttons on a resize in the Parent Child example from using all available space?<br />
Example - this looks great</p>

<p><img src="https://datatables.net/forums/uploads/editor/tg/zapbozot5xnt.png" alt="" title="" /></p>

<p>But this would look better (in my opinion) if the buttons maintained the same size in the previous screen clip and  were displayed centered.</p>

<p><img src="https://datatables.net/forums/uploads/editor/lq/w8gy7sr6us68.png" alt="" title="" /></p>
]]>
        </description>
    </item>
    <item>
        <title>After upgrade from DT version 1.10.15 to version 2.3, Responsive extension does not work correctly</title>
        <link>https://next.datatables.net/forums/discussion/80915/after-upgrade-from-dt-version-1-10-15-to-version-2-3-responsive-extension-does-not-work-correctly</link>
        <pubDate>Sun, 11 May 2025 22:50:02 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>jwaynelee66</dc:creator>
        <guid isPermaLink="false">80915@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Description of problem</strong>:</p>

<p>After I upgraded from DataTables version 1.10.15 to 2.3, the Responsive extension now shows "undefined" instead of the column names of the columns that cannot be shown in the row:</p>

<p><img src="https://datatables.net/forums/uploads/editor/0o/uevindx9dlx0.png" alt="" title="" /></p>
]]>
        </description>
    </item>
    <item>
        <title>My Modal is showing behind my Table</title>
        <link>https://next.datatables.net/forums/discussion/80910/my-modal-is-showing-behind-my-table</link>
        <pubDate>Fri, 09 May 2025 16:06:16 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>Ambient</dc:creator>
        <guid isPermaLink="false">80910@/forums/discussions</guid>
        <description><![CDATA[<p>I have narrowed it down to partly being caused by this CSS When I remove his CSS the click on the row. It will show the modal correctly but only when I open the  DevTools and slide left foes the arrow in the first row appear.</p>

<p>body {<br />
  background: #ffffff;<br />
  font-family: Tahoma, Geneva, sans-serif;<br />
  font-size: 12px;<br />
  position: static !important;<br />
  margin:0;<br />
}</p>

<p>body div#fullContainer {<br />
  height: 100%;<br />
  position: absolute;<br />
  width: 100%;<br />
}</p>

<p>body div#fullContainer <a rel="nofollow" href="https://next.datatables.net/forums/search?Search=%23content-wrap&amp;Mode=like"></a><a rel="nofollow" href="https://next.datatables.net/forums/search?Search=%23content-wrap&amp;Mode=like">#content-wrap</a> {<br />
  background: #ffffff;<br />
  Colour:#000000;<br />
  bottom: 0;<br />
  box-shadow: -5px 0px 8px #ffffff;<br />
  position: absolute;<br />
  top: 0;<br />
  width: 100%;<br />
  z-index: 1250;<br />
}</p>

<p>body div#fullContainer <a rel="nofollow" href="https://next.datatables.net/forums/search?Search=%23content-wrap&amp;Mode=like"></a><a rel="nofollow" href="https://next.datatables.net/forums/search?Search=%23content-wrap&amp;Mode=like">#content-wrap</a> main {<br />
  margin: 5px;<br />
    overflow: auto;<br />
}</p>
]]>
        </description>
    </item>
    <item>
        <title>DT v2 + responsive v3 issue when initialising a hidden table</title>
        <link>https://next.datatables.net/forums/discussion/80336/dt-v2-responsive-v3-issue-when-initialising-a-hidden-table</link>
        <pubDate>Wed, 11 Dec 2024 04:27:52 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>geometry</dc:creator>
        <guid isPermaLink="false">80336@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>:</p>

<p><a rel="nofollow" href="https://codepen.io/adamdilger/pen/JoPKQOE?">https://codepen.io/adamdilger/pen/JoPKQOE?</a></p>

<p><strong>Debugger code (debug.datatables.net)</strong>:</p>

<p>No debugger code</p>

<p><strong>Error messages shown</strong>:</p>

<p>No error message</p>

<p><strong>Description of problem</strong>:</p>

<p>When initialising a hidden table with the responsive plugin, when the table is made visible, the <code>.dt-empty</code> column has the wrong colspan attribute, making it look incorrect.</p>

<p>The issue I believe is in this line of the responsive plugin, which sets the colspan to 1 on init:</p>

<pre><code>// If no records, update the "No records" display element
if (dt.page.info().recordsDisplay === 0) {
   $('td', dt.table().body()).eq(0).attr('colspan', visible); // &lt;-- here
}
</code></pre>

<p>Our use case is we initialise a datatable in a bootstrap 3 tab which is hidden, when the tab is switched to the table looks off.</p>

<p>I did notice that version 2 of this plugin (when used with datatables v1) made the same calculation + attribute modification, but in the older versions the table had an empty body at this point, and thus no attribute change was made.<br />
 I believe <a rel="nofollow" href="https://github.com/DataTables/DataTablesSrc/commit/c7945e67d14e58f4c38c4c500ca77f79a6254671" title="this commit">this commit</a> may have something to do with this, which adds in the empty row before the responsive plugin is initialised.</p>

<p>I suppose the question is, are we initialising the responsive plugin incorrectly, or is this <code>visible</code> count being incorrectly calculated.</p>

<p>Thanks! Let me know if there's anymore information you need me to get for you</p>
]]>
        </description>
    </item>
    <item>
        <title>Responsive with multi-row colspan'ed headers do not line up.</title>
        <link>https://next.datatables.net/forums/discussion/80151/responsive-with-multi-row-colspaned-headers-do-not-line-up</link>
        <pubDate>Wed, 30 Oct 2024 14:10:50 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>lisarush</dc:creator>
        <guid isPermaLink="false">80151@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>:<br />
<a rel="nofollow" href="https://live.datatables.net/bemoregi/5/">https://live.datatables.net/bemoregi/5/</a></p>

<p><strong>Description of problem</strong>:<br />
DataTables 2 and Responsive 3.0.3 -- with multi-row headers are not displayed properly.  If I remove <code>dt-responsive</code> from the <code>&lt;table&gt;</code>, all displays fine.<br />
<img src="https://datatables.net/forums/uploads/editor/ls/iidljw6duy2c.png" alt="" title="" /></p>

<p>NOTE:  We do not use Responsive that much with multi-row headers (only 2 tables) -- for those in question, I would also be ok with just changing them to be single-row headers -- as a workaround.</p>
]]>
        </description>
    </item>
    <item>
        <title>Rails 7 importmap responsive</title>
        <link>https://next.datatables.net/forums/discussion/79662/rails-7-importmap-responsive</link>
        <pubDate>Wed, 14 Aug 2024 06:37:04 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>jbonany</dc:creator>
        <guid isPermaLink="false">79662@/forums/discussions</guid>
        <description><![CDATA[<p>Dear all,<br />
I have been using DataTables with Rails 7 and importmaps. Everything is working fine. However, when I have tried to use the responsive plug-in, after installing the corresponding js and css files, the datatable start loading but it shows a sort of spinning  image and it never finishs to load the datatable. The error that shows is a connection to controller error. Can you provide some clue of why this is happening ?</p>

<p><strong>Link to test case</strong>:<br />
<strong>Debugger code (debug.datatables.net)</strong>:<br />
<strong>Error messages shown</strong>:<br />
<strong>Description of problem</strong>:</p>
]]>
        </description>
    </item>
    <item>
        <title>Animated Row Details</title>
        <link>https://next.datatables.net/forums/discussion/78945/animated-row-details</link>
        <pubDate>Tue, 07 May 2024 23:49:14 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>rpmccormick</dc:creator>
        <guid isPermaLink="false">78945@/forums/discussions</guid>
        <description><![CDATA[<p><a href="https://next.datatables.net/forums/profile/colin" rel="nofollow">@colin</a></p>

<p>I was trying to implement slide-open row details.  I saw you have worked on this before:<br />
<a rel="nofollow" href="https://datatables.net/forums/discussion/52735/datatables-responsive-child-row-sliding-animation">https://datatables.net/forums/discussion/52735/datatables-responsive-child-row-sliding-animation</a></p>

<p>I implemented your code:</p>

<pre><code>function DTformat(api, rowIdx, columns)  
   {var data = $.map(columns, function(col, i) 
                               {return col.hidden ?
                                  '&lt;tr data-dt-row="' + col.rowIndex + '" data-dt-column="' + col.columnIndex + '"&gt;' +
                                    '&lt;td&gt;&lt;b&gt;' + col.title + '&lt;/b&gt;&lt;/td&gt; ' +
                                    '&lt;td&gt;' + col.data + '&lt;/td&gt;' +
                                  '&lt;/tr&gt;' :
                                  '';
                               }
                    ).join('');
    return data ? '&lt;div class="slider"&gt;&lt;table&gt;' + data + '&lt;/table&gt;&lt;/div&gt;' : undefined;
   }

//$dtResponsive   = 'responsive: {orthogonal: \'responsive\'}, deferRender: true, ';
  $dtResponsive   = 'responsive: {details: {renderer: function(api, rowIdx, columns) '
                  .                                   '{var data = DTformat(api, rowIdx, columns); '
                  .                                    'return data ? data : false; '
                  .                                   '}, '
                  .                         'display: function(row, update, render) '
                  .                                   '{if (update) '
                  .                                     '{if ($(row.node()).hasClass(\'parent\')) '
                  .                                       '{row.child(render(), \'child\').show(); '
                  .                                        '$(\'div.slider\', row.child()).slideDown(0); '
                  .                                        'return true; '
                  .                                       '} '
                  .                                     '} '
                  .                                    'else '
                  .                                     '{if (!row.child.isShown()) '
                  .                                       '{row.child(render(), \'child\').show(); '
                  .                                        '$(row.node()).addClass(\'parent shown\'); '
                  .                                        '$(\'div.slider\', row.child()).slideDown(); '
                  .                                        'return true; '
                  .                                       '} '
                  .                                      'else '
                  .                                       '{$(\'div.slider\', row.child()).slideUp(function() '
                  .                                                                              '{row.child(false); '
                  .                                                                               '$(row.node()).removeClass(\'parent shown\'); '
                  .                                                                              '} '
                  .                                                                            '); '
                  .                                        'return false; '
                  .                                   '} } }'
                  .             '}         }, deferRender: true, ';
</code></pre>

<p>There is the slide-closed animation I want, but there is no slide open animation.</p>

<p>Also the detail row contents look totally different with the headers on the left (I kinda like it for desktop, but I would need to re-design, and I need to stick to the vertical layout if the details row is opened on mobile).</p>

<p>What is the current recommended way to slide-open/close a responsive details row (without changing the layout)?  When there are multiple tables with multiple open details rows on a single page, the animation really helps users.</p>
]]>
        </description>
    </item>
    <item>
        <title>How can I reinstate the green plus icon to Responsive?</title>
        <link>https://next.datatables.net/forums/discussion/78701/how-can-i-reinstate-the-green-plus-icon-to-responsive</link>
        <pubDate>Tue, 09 Apr 2024 14:37:08 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>tangerine</dc:creator>
        <guid isPermaLink="false">78701@/forums/discussions</guid>
        <description><![CDATA[<p>I'm struggling with numerous problems following my upgrade to DT 2.0.3.<br />
I thought I'd start by resolving what should be relatively easy ones like this.<br />
How can I reinstate the green plus icon to Responsive?<br />
TIA</p>
]]>
        </description>
    </item>
    <item>
        <title>Can the DOM placement of the responsive modal be changed?</title>
        <link>https://next.datatables.net/forums/discussion/78482/can-the-dom-placement-of-the-responsive-modal-be-changed</link>
        <pubDate>Thu, 14 Mar 2024 02:53:30 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>ButchNZ</dc:creator>
        <guid isPermaLink="false">78482@/forums/discussions</guid>
        <description><![CDATA[<p>Due to the weird and wonderful world of Javascript I have a need to move the Bootstrap modal DOM that the responsive feature of DT places in the DOM.</p>

<p>Currently the DOM for the responsive modal is placed before the closing &lt;/body&gt; tag.<br />
Is it possible to tell it where/what parent element to be inserted into?</p>
]]>
        </description>
    </item>
    <item>
        <title>Responsive Extension 3.0.1 missing</title>
        <link>https://next.datatables.net/forums/discussion/78429/responsive-extension-3-0-1-missing</link>
        <pubDate>Fri, 08 Mar 2024 09:35:44 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>wiredduns</dc:creator>
        <guid isPermaLink="false">78429@/forums/discussions</guid>
        <description><![CDATA[<p>Hi</p>

<p>it seems the Responsive extension is missing version 3.0.1</p>

<p><a rel="nofollow" href="https://cdn.datatables.net/responsive/3.0.1/css/responsive.dataTables.min.css">https://cdn.datatables.net/responsive/3.0.1/css/responsive.dataTables.min.css</a></p>

<p>Regards<br />
Mark Donszelmann</p>
]]>
        </description>
    </item>
    <item>
        <title>Responsive + Row Details</title>
        <link>https://next.datatables.net/forums/discussion/78094/responsive-row-details</link>
        <pubDate>Thu, 01 Feb 2024 15:12:41 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>ServiceSoftware</dc:creator>
        <guid isPermaLink="false">78094@/forums/discussions</guid>
        <description><![CDATA[<p>Reference:  Child rows (show extra / detailed information) from <a rel="nofollow" href="https://datatables.net/examples/api/row_details.html">https://datatables.net/examples/api/row_details.html</a></p>

<p>Mobile-first design demands using Responsive nearly everywhere.</p>

<p>Use of Child Rows per above example to display Row Details is limited. Responsive uses Child Rows, and modal display of Row Details is unacceptable.</p>

<p>What is the best workaround to use both options simultaneously (Responsive and display Row Details)?</p>

<p>I've been working for days on an example ( <a rel="nofollow" href="https://live.datatables.net/fowitaqu/3/">https://live.datatables.net/fowitaqu/3/</a> ) that attempts using responsive.details.renderer in combination with the above referenced example.  It isn't easy, and I did not expect it to be easy :-)</p>

<p>It doesn't help that responsive.details.renderer executes with screen resize and not only when the number of columns hidden is changed.</p>

<p>Responsive would ideally have row-level enable / disable via API, or at least ability to cancel render in responsive.details.renderer (i.e. if cancel then don't touch the child row details).  But this doesn't seem possible.</p>

<p>Has anybody else worked on such a workaround or have a suggested approach?</p>
]]>
        </description>
    </item>
    <item>
        <title>Are hidden columns supposed to be included in Excel export?</title>
        <link>https://next.datatables.net/forums/discussion/77804/are-hidden-columns-supposed-to-be-included-in-excel-export</link>
        <pubDate>Tue, 12 Dec 2023 20:07:31 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>lisarush</dc:creator>
        <guid isPermaLink="false">77804@/forums/discussions</guid>
        <description><![CDATA[<p>Per this discussion:  <a rel="nofollow" href="https://datatables.net/forums/discussion/comment/142777/#Comment_142777">https://datatables.net/forums/discussion/comment/142777/#Comment_142777</a></p>

<p>It sounds like any columns that are currently "hidden", due to the Responsive extension showing them in a child row -- that they should still be included when you do an Excel export.  And, it seems like I remember seeing that being the case in the past (though, that probably doesn't mean anything!  <img src="https://next.datatables.net/forums/resources/emoji/wink.png" title=";)" alt=";)" height="20" /> )</p>

<p>However, that is not what I'm experiencing.  The few tables that we use Responsive with -- when the screen is wide, all columns are included in the Excel export.  But when the screen is narrow, the "collapsed in child row" columns are not exported.  Is this the expected behavior?  And if not, could there be something I'm doing wrong or need to set?</p>
]]>
        </description>
    </item>
    <item>
        <title>How to change response icon</title>
        <link>https://next.datatables.net/forums/discussion/77245/how-to-change-response-icon</link>
        <pubDate>Mon, 25 Sep 2023 21:47:45 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>Mazec</dc:creator>
        <guid isPermaLink="false">77245@/forums/discussions</guid>
        <description><![CDATA[<p>Hi, can i chang icon on responsive table?</p>

<p><a rel="nofollow" href="https://live.datatables.net/hocicoro/1/edit">https://live.datatables.net/hocicoro/1/edit</a></p>

<p><img src="https://datatables.net/forums/uploads/editor/63/p8qn08vh89y8.png" alt="" title="" /></p>

<p>Thanks for tips.</p>
]]>
        </description>
    </item>
    <item>
        <title>Filter by columns broke responsive</title>
        <link>https://next.datatables.net/forums/discussion/77243/filter-by-columns-broke-responsive</link>
        <pubDate>Mon, 25 Sep 2023 16:58:07 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>Mazec</dc:creator>
        <guid isPermaLink="false">77243@/forums/discussions</guid>
        <description><![CDATA[<p>Hello, please help me with this test case: <a rel="nofollow" href="https://live.datatables.net/hocicoro/1/">https://live.datatables.net/hocicoro/1/</a></p>

<p><img src="https://datatables.net/forums/uploads/editor/1e/c6asj1c86pan.png" alt="" title="" /></p>

<p>Thanks for all tips.</p>
]]>
        </description>
    </item>
    <item>
        <title>Wrap Text within responsive details view</title>
        <link>https://next.datatables.net/forums/discussion/76173/wrap-text-within-responsive-details-view</link>
        <pubDate>Thu, 27 Apr 2023 15:44:20 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>x3rt</dc:creator>
        <guid isPermaLink="false">76173@/forums/discussions</guid>
        <description><![CDATA[<p>Same issue <a rel="nofollow" href="https://datatables.net/forums/discussion/35623/how-do-you-wrap-responsive-columns-column-is-running-off-the-table" title="as described here">as described here</a>. Their test case describes the issue I am having</p>

<p>I have tried applying<br />
<code>white-space: normal</code> to the columns via columnDef with no result/change</p>
]]>
        </description>
    </item>
    <item>
        <title>Hide entries in child row</title>
        <link>https://next.datatables.net/forums/discussion/72414/hide-entries-in-child-row</link>
        <pubDate>Thu, 14 Apr 2022 16:23:58 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>rf1234</dc:creator>
        <guid isPermaLink="false">72414@/forums/discussions</guid>
        <description><![CDATA[<p>When using the responsive extension with many columns in the child row I wanted to hide empty cells for the respective child row when it is displayed. So this is not about hiding empty columns but about hiding empty fields in child rows individually for each displayed child row.</p>

<p>This works (class "hidden" is a Bootstrap class; you might want to use somehting else).</p>

<pre><code>table.on( 'responsive-display', function ( e, dt, row, show, update ) {
        var x = row.index();
        $('tbody tr.child td.child ul li[data-dt-row="' + x + '"]').each(function(){
            if ( $(this).find('.dtr-data').text() &lt;= "" ) {
                $(this).addClass("hidden");
            } else {
                $(this).removeClass("hidden");
            }
        })
    })
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>livewire jquery events not working in responsive mode</title>
        <link>https://next.datatables.net/forums/discussion/71745/livewire-jquery-events-not-working-in-responsive-mode</link>
        <pubDate>Fri, 18 Feb 2022 23:49:59 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>julianr9230</dc:creator>
        <guid isPermaLink="false">71745@/forums/discussions</guid>
        <description><![CDATA[<p>Friends I have a problem, I am using a datatatable with laravel-livewire, when I reduce the screen to mobile mode my wire:click buttons stop working, the console does not emit any error, help someone know?</p>

<pre><code>    $('.tablas').DataTable({

        language: {
            sProcessing: "Procesando...",
            sLengthMenu: "Mostrar _MENU_ registros",
            sZeroRecords: "No se encontraron resultados",
            sEmptyTable: "Ningun dato esta disponible",
            sInfo: "Mostrando registros del 0 al 0 de un total de 0",
            sInfoFiltered: "Filtrando un total de _MAX_ registros",
            sSearch: "Buscar:",
            sLoadingRecords: "Cargando...",
            oPaginate: {
                sFirst: "Primero",
                sLast: "Ultimo",
                sNext: 'Siguiente',
                sPrevious: "Anterior",
            },
            oAria: {
            sSortAscending:
                ": Activar para ordenar la columna de manera ascendente",
            sSortDescending:
                ": Activar para ordenar la columna de manera descendente",
        },
        },
        responsive: true,          
      });

    $('#DataTables_Table_0_filter label input').addClass('border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm mb-2 h-8');
    $('#DataTables_Table_0_filter label').addClass('font-bold');
    $('#DataTables_Table_0_length label select').addClass('border-gray-300 focus:border-indigo-300 focus:ring focus:ring-indigo-200 focus:ring-opacity-50 rounded-md shadow-sm h-8 w-12 mr-1 text-xs');
</code></pre>

<p><strong>my table and buttons</strong></p>

<p><img src="https://datatables.net/forums/uploads/editor/qz/2fgg6jn2r8zk.png" alt="" title="" /></p>

<p>**please helpme <img src="https://next.datatables.net/forums/resources/emoji/neutral.png" title=":neutral:" alt=":neutral:" height="20" />  **</p>
]]>
        </description>
    </item>
    <item>
        <title>Responsive together with pageResize</title>
        <link>https://next.datatables.net/forums/discussion/75483/responsive-together-with-pageresize</link>
        <pubDate>Sun, 19 Feb 2023 02:21:34 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>tnaescher</dc:creator>
        <guid isPermaLink="false">75483@/forums/discussions</guid>
        <description><![CDATA[<p>Hey, i have a general question regarding the use of pageResize with responsive (hiding columns and showing the green + instead).<br />
If I open the details of one row, the pageResize script (<a rel="nofollow" href="https://github.com/DataTables/Plugins/blob/master/features/pageResize/dataTables.pageResize.js)">https://github.com/DataTables/Plugins/blob/master/features/pageResize/dataTables.pageResize.js)</a> does not adapt the row count - and then, a vertical scroll bar appears again. It disappears as soon as i close the row details again.<br />
My goal is that opening the responsive-detail-view reduces the numbers of rows on the screen as needed to avoid displaying a scroll bar.<br />
Here is what i tried - didnt work <img src="https://next.datatables.net/forums/resources/emoji/frowning.png" title=":(" alt=":(" height="20" /></p>

<pre><code>table.on( 'responsive-display', function ( e, datatable, row, showHide, update ) {
            var api = new DataTable.Api(settings);
            if ($(api.table().node()).hasClass('pageResize') ||
                settings.oInit.pageResize ||
                DataTable.defaults.pageResize) {
                new PageResize(api, settings.oInit.pageResizeManualDelta);
            }
    });
</code></pre>

<p>Can you point me in the right direction? Which resize function can i call in the event?<br />
Here is a demo: <a rel="nofollow" href="https://live.datatables.net/qagufiti/4/edit">https://live.datatables.net/qagufiti/4/edit</a><br />
Thanks <img src="https://next.datatables.net/forums/resources/emoji/smile.png" title=":)" alt=":)" height="20" /></p>
]]>
        </description>
    </item>
    <item>
        <title>After Adding Responsive Download Script, Requested unknown parameter '0' for row 0, column 0</title>
        <link>https://next.datatables.net/forums/discussion/71427/after-adding-responsive-download-script-requested-unknown-parameter-0-for-row-0-column-0</link>
        <pubDate>Fri, 28 Jan 2022 20:11:56 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>melanieriskbased</dc:creator>
        <guid isPermaLink="false">71427@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>: Can't<br />
<strong>Debugger code (debug.datatables.net)</strong>: <img src="https://datatables.net/forums/uploads/editor/bp/b0glo7axfjxo.png" alt="" title="" /><br />
<img src="https://datatables.net/forums/uploads/editor/rh/4bsq984cc6po.png" alt="" title="" /></p>

<p><strong>Error messages shown</strong>: DataTables warning: table id=data-table - Requested unknown parameter '0' for row 0, column 0. For more information about this error, please see <a rel="nofollow" href="http://datatables.net/tn/4">http://datatables.net/tn/4</a></p>

<p><strong>Description of problem</strong>: After just adding the download script that includes Responsive (no other code changes, it works without errors with just the DataTables download script w/o the responsive ext), I'm now getting the Requested Unknown Parameter issue. I can't link to the code as it's proprietary, but I can include some info-redacted code snippets below. I've read the info on the error, but none of the likely culprits seem to apply to my situation.</p>

<p>JS:<br />
```let dataTable = $('#data-table').DataTable( {<br />
      createdRow: function (row, data, dataIndex) {<br />
        $(row).attr('data-record-id-value', data.id);<br />
      },<br />
      pageLength: 25,<br />
      dom: '&lt;"search-and-length"fl&gt;iptip',<br />
      oLanguage: {"sSearch": ""},<br />
      deferRender: true,<br />
      responsive: true,<br />
      data: dataSet,<br />
      columns: [<br />
          {<br />
            render: function(data, type) {<br />
              return <code>&lt;input type="checkbox" class="bulk-action-checkbox"&gt;&lt;/input&gt;</code><br />
            }<br />
          },<br />
          {<br />
            title: "1",<br />
            data: 'id'<br />
          },<br />
         {<br />
            title: "2",<br />
            data: 'object_type'<br />
          },<br />
          {<br />
            title: "3",<br />
            data: 'object_name',<br />
            render: function(data, type) {<br />
              return <code>&lt;div class="border-container-blue text-gray-800"&gt;${data}&lt;/div&gt;</code><br />
            }<br />
           },<br />
{<br />
            title: '4',<br />
            data: 'weight',<br />
            render: function(data, type) {<br />
              return <code>&lt;div class="text-center"&gt;${data}&lt;/div&gt;</code>;<br />
            }<br />
          },<br />
          {<br />
            title: "",<br />
            data: 'battery',<br />
            render: function(data, type) {<br />
              let batteryValue = data;</p>

<pre><code>          switch(true) {
            case (batteryValue &gt; 95):
              return '&lt;i class="fa fa-battery-full fa-rotate-270 fa-lg" style="color:green;"&gt;&lt;/i&gt;'
              break;
            case (batteryValue &gt; 75):
              return '&lt;i class="fa fa-battery-three-quarters fa-rotate-270 fa-lg" style="color:green;"&gt;&lt;/i&gt;'
              break;
            case (batteryValue &gt; 50):
              return '&lt;i class="fa fa-battery-half fa-rotate-270 fa-lg" style="color:orange;"&gt;&lt;/i&gt;'
              break;
            case (batteryValue &gt; 25):
              return '&lt;i class="fa fa-battery-quarter fa-rotate-270 fa-lg" style="color:red;"&gt;&lt;/i&gt;'
              break;
            default:
              return '&lt;i class="fa fa-battery-empty fa-rotate-270 fa-lg" style="color:red;"&gt;&lt;/i&gt;'
              break;
          }
        }
      },
      {
        title: "4",
        data: 'event_type'
      },
      {
        title: "5",
        data: 'event_message'
      },
      {
        title: '6',
        data: 'message',
        render: function(data, type) {
          return `&lt;div data-searchable-message="true"&gt;${data}&lt;/div&gt;`;
        }
      },
      {
        title: "7",
        data: 'assigned_to',
        render: function(data, type) {
          let select = $(`
            &lt;div class="border-container"&gt;
              &lt;select name="#" id="_" class="select inline w-full py-1 bg-transparent" data-action="change-&gt;event-actions#assignUserToRecord"&gt;
                &lt;option value=""&gt;Unassigned&lt;/option&gt;
                ${userOptions}
              &lt;/select&gt;
            &lt;/div&gt;
          `);
          select.find('option[value="'+data+'"]').attr('selected', 'selected');
          return select[0].outerHTML
        }
      },
      {
        title: "8",
        data: 'created_at'
      },
      {
        title: "9",
        data: 'id',
        render: function(data, type) {
          let html = `
            &lt;div data-controller="modal" data-modal-allow-background-close="true"&gt;
                &lt;div class="relative"&gt;
                  Test
                &lt;/div&gt;
            &lt;/div&gt;
          `
          return html;
        }
     ], 'columnDefs': [
    {
      'targets': [0, 11],
      'orderable': false
    },
    {
      'targets': [8],
      visible: false,
      searchable: true
    },
    {
      orderable: false,
      searchable: false,
      className: 'select-checkbox',
      'targets': [0]
    }
  ],
  language: {searchPlaceholder: "Search"},
  select: {
    style: 'multi',
    selector: 'td:first-child'
  },
  order: [[1, 'asc']]
});```
</code></pre>

<p>HTML:<br />
<code>&lt;table class="grid-table responsive" id="data-table"&gt;</code>
<code>&lt;thead&gt;</code>
<code>&lt;tr&gt;</code>
<code>&lt;th&gt;&lt;input type="checkbox" id="select_all" name="select_alert" /&gt;&lt;/th&gt;</code>
<code>&lt;th&gt;1&lt;/th&gt;</code>
<code>&lt;th&gt;2&lt;/th&gt;</code>
<code>&lt;th&gt;3&lt;/th&gt;</code>
<code>&lt;th class="text-center"&gt;4t&lt;/th&gt;</code>
<code>&lt;th&gt;&lt;/th&gt;</code>
<code>&lt;th&gt;5&lt;/th&gt;</code>
<code>&lt;th&gt;6&lt;/th&gt;</code>
<code>&lt;th&gt;&lt;/th&gt;</code>
<code>&lt;th&gt;7&lt;/th&gt;</code>
<code>&lt;th&gt;8&lt;/th&gt;</code>
<code>&lt;th class="w-1/6"&gt;9&lt;/th&gt;</code>
<code>&lt;/tr&gt;</code>
<code>&lt;/thead&gt;</code>
<code>&lt;/table&gt;</code></p>
]]>
        </description>
    </item>
    <item>
        <title>Wrap Text for One Column</title>
        <link>https://next.datatables.net/forums/discussion/74167/wrap-text-for-one-column</link>
        <pubDate>Sun, 25 Sep 2022 23:27:02 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>vince-carrasco</dc:creator>
        <guid isPermaLink="false">74167@/forums/discussions</guid>
        <description><![CDATA[<p><a rel="nofollow" href="http://live.datatables.net/mumababo/1/">http://live.datatables.net/mumababo/1/</a></p>

<p>I have a long text string, (Description field in the example above), that I want to wrap instead of default nowrap.  All of the other columns should not wrap.</p>

<p>The description field is hidden until we expand (+), then at that point we would like to show the Description text wrapping  instead of a single, long line of text.</p>

<p>is this possible?  Any input is appreciated.</p>
]]>
        </description>
    </item>
    <item>
        <title>Responsive with auto-expand all rows</title>
        <link>https://next.datatables.net/forums/discussion/73563/responsive-with-auto-expand-all-rows</link>
        <pubDate>Mon, 01 Aug 2022 14:12:08 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>Mazec</dc:creator>
        <guid isPermaLink="false">73563@/forums/discussions</guid>
        <description><![CDATA[<p>Hello, please advise if datatables somehow allows to set a responsive table, but the whole one, see my screenshot and URL: <a rel="nofollow" href="https://css-tricks.com/responsive-data-tables/">https://css-tricks.com/responsive-data-tables/</a></p>

<p><img src="https://datatables.net/forums/uploads/editor/12/3stazmcdcih7.jpg" alt="" title="" /></p>

<p>I do NOT want the hybrid I found with the stupid green info expander. See the second screenshot, I don't want that. I need all information to be visible. i.e. expand all.</p>

<p><img src="https://datatables.net/forums/uploads/editor/5t/ez6hp9pwxwtu.jpg" alt="" title="" /></p>

<p>Is it okay please?</p>

<p>Thanks for the information.</p>
]]>
        </description>
    </item>
    <item>
        <title>How do you ignore responsivePriority on desktop sizes?</title>
        <link>https://next.datatables.net/forums/discussion/72798/how-do-you-ignore-responsivepriority-on-desktop-sizes</link>
        <pubDate>Thu, 19 May 2022 17:41:21 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>dgruska</dc:creator>
        <guid isPermaLink="false">72798@/forums/discussions</guid>
        <description><![CDATA[<p>I am working on a server-side DataTables project and have a field targeted as a responsivePriority, but I only want this to be the case for tablet and mobile sizes. When at a desktop size, I'd like it to remove the priority so the field would fall back in line with my initial field ordering, which would have this particular field last.</p>

<p>Thanks.</p>
]]>
        </description>
    </item>
    <item>
        <title>Altering a responsive table value in the mobile experience</title>
        <link>https://next.datatables.net/forums/discussion/72660/altering-a-responsive-table-value-in-the-mobile-experience</link>
        <pubDate>Fri, 06 May 2022 20:14:49 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>northcutt</dc:creator>
        <guid isPermaLink="false">72660@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>:  <a rel="nofollow" href="https://roi.fyi/crypto/">https://roi.fyi/crypto/</a><br />
<strong>Debugger code (debug.datatables.net)</strong>: no errors to debug<br />
<strong>Error messages shown</strong>: no error<br />
<strong>Description of problem</strong>:</p>

<p>Hi all,</p>

<p>I've got a table that's working like a dream, save for one issue.</p>

<p>When I try to run computations on a column of results and put them back using jQuery... it works!  Right up until you collapse the responsive experience. It appears that the collapsed responsive cell stores data in a value named SPAN (dtr-data) beneath a LI and I'm not sure how to access it.</p>

<p>Is there possibly an API call or workaround for changing these cell values (after they go responsive) using some means other than locating it on the DOM and replacing?  Because I'm not seeing a way to do that that's responsive-friendly.</p>

<p>Cheers.</p>
]]>
        </description>
    </item>
    <item>
        <title>responsive.details.renderer</title>
        <link>https://next.datatables.net/forums/discussion/72410/responsive-details-renderer</link>
        <pubDate>Thu, 14 Apr 2022 11:17:57 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>rf1234</dc:creator>
        <guid isPermaLink="false">72410@/forums/discussions</guid>
        <description><![CDATA[<p>I would like to apologize before I start: Normally I don't ask other people to write my code but this time I would be very grateful for a code example doing something similar. So please accept my apologies for asking.</p>

<p>I have a very large data table with very many columns. About one trillion of them never sees the sunlight and is always hidden in a child row. What I would like to have is some kind of heading to group the rows (which are actually table columns) inside the child row into categories. For illustration purposes I inserted those yellow lines in the screen shot below. That could be the place for a heading that could be right above a column name and then one or two line breaks or so. Or nicer ...</p>

<p>Those columns before or after a heading could be identified by class also on th or td level; both is easy to accomplish. I didn't find an example that I could follow but I know "responsive.details.renderer" is probably the correct path to follow.</p>

<p>Any suggestions or - even better - sample code? Many thanks in advance.<br />
<img src="https://datatables.net/forums/uploads/editor/w4/s535ihegsheq.png" alt="" title="" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Why is responsive not reacting to adding a tr by method row.child() ?</title>
        <link>https://next.datatables.net/forums/discussion/72296/why-is-responsive-not-reacting-to-adding-a-tr-by-method-row-child</link>
        <pubDate>Wed, 06 Apr 2022 11:07:28 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>dgolovko</dc:creator>
        <guid isPermaLink="false">72296@/forums/discussions</guid>
        <description><![CDATA[<p>I have a responsive table. I want to add below line method  row.child()  to make it responsive too, but it doesn't work. However, if you use the method row.add(), then everything works, but the line is added to the end table<br />
<img src="https://datatables.net/forums/uploads/editor/80/dxizzhexp9tg.png" alt="" title="" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Error 404 on  the DataTables CDN files</title>
        <link>https://next.datatables.net/forums/discussion/72303/error-404-on-the-datatables-cdn-files</link>
        <pubDate>Wed, 06 Apr 2022 16:09:18 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>arfam</dc:creator>
        <guid isPermaLink="false">72303@/forums/discussions</guid>
        <description><![CDATA[<p>//cdn.datatables.net/responsive/2.2.9/css/dataTables.responsive.css</p>

<p>Not Found<br />
The requested URL was not found on this server.</p>

<p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>
]]>
        </description>
    </item>
    <item>
        <title>DataTables losing child-rows / hidden-details visibility-state on reload</title>
        <link>https://next.datatables.net/forums/discussion/72265/datatables-losing-child-rows-hidden-details-visibility-state-on-reload</link>
        <pubDate>Mon, 04 Apr 2022 10:52:53 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>alexanderdoe</dc:creator>
        <guid isPermaLink="false">72265@/forums/discussions</guid>
        <description><![CDATA[<p>It seems that the behaviour of the responsive-design-extension is under different DataTables-configuration not consistent and possibly faulty.</p>

<p>The following examples use the following DataTables-features:<br />
- Loading data via ajax (Server-side processing)<br />
- Extension "Responsive-Design"<br />
- Row-ID</p>

<p>The first example uses the default setting for responsive-design.<br />
<a rel="nofollow" href="http://live.datatables.net/xumidoqe/1/edit?html,js,output">http://live.datatables.net/xumidoqe/1/edit?html,js,output</a></p>

<p>Steps to reproduce:<br />
1. Shrink the browser-window, so that some of the columns will be hidden and moved to the collapsed child-rows (hidden details)<br />
2. Click the child-rows-toggle-button to display the child-rows<br />
3. Click the button "Reload Table"</p>

<p>The behaviour is that the visibility-state of the child-rows is preserved between the ajax reloads.</p>

<p>The second example uses the responsive-design-setting for the immediate display of the hidden details / child-rows but without use of the row-ID feature (ajax: "/ssp/server_processing.php").<br />
<a rel="nofollow" href="http://live.datatables.net/zizawuti/1/edit?html,js,output">http://live.datatables.net/zizawuti/1/edit?html,js,output</a></p>

<p>Steps to reproduce:<br />
1. Shrink the browser-window, so that some of the columns will be moved to the now direct displayed child-rows.<br />
2. Click the button "Reload Table"</p>

<p>The behaviour is that the visibility-state of the child-rows is preserved between the ajax reloads.</p>

<p>The third example uses the responsive-design-setting for the immediate display of the hidden details / child-rows and the row-ID feature. ("ajax": "/ssp/ids-objects.php")<br />
<a rel="nofollow" href="http://live.datatables.net/qecoziwi/1/edit?html,js,output">http://live.datatables.net/qecoziwi/1/edit?html,js,output</a></p>

<p>Steps to reproduce:<br />
1. Shrink the browser-window, so that some of the columns will be moved to the now direct displayed child-rows.<br />
2. Click the button "Reload Table"</p>

<p>In contrast to the first and second example, the behavior is different now.<br />
The behaviour is that the visibility-state of the child-rows is not continuous preserved between the ajax reloads.<br />
With each click on the button "Reload Table" the visibility-state of the child-rows is toggled.</p>

<p>This is probably an bug.</p>

<p>What changes must be made to the third example to preserve the visibility-state of the child-rows between the table-reloads?</p>
]]>
        </description>
    </item>
    <item>
        <title>DataTables Responsive Extension Hide Bootstrap Modal</title>
        <link>https://next.datatables.net/forums/discussion/72227/datatables-responsive-extension-hide-bootstrap-modal</link>
        <pubDate>Thu, 31 Mar 2022 19:37:10 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>magedhamid</dc:creator>
        <guid isPermaLink="false">72227@/forums/discussions</guid>
        <description><![CDATA[<p>The bootstrap modal show button works fine in the normal datatable, but when the browser is resized and the responsive plugin hide the modal button column, the modal are no longer shown when the modal button clicked in responsive mode.</p>

<p><strong>Link to test case</strong>: <a rel="nofollow" href="https://jsfiddle.net/vn1x72u5/1/">https://jsfiddle.net/vn1x72u5/1/</a></p>
]]>
        </description>
    </item>
    <item>
        <title>How to correctly enter the buttons in the table when using RESPONSIVE</title>
        <link>https://next.datatables.net/forums/discussion/72183/how-to-correctly-enter-the-buttons-in-the-table-when-using-responsive</link>
        <pubDate>Mon, 28 Mar 2022 14:52:42 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>olva</dc:creator>
        <guid isPermaLink="false">72183@/forums/discussions</guid>
        <description><![CDATA[<p>Help solve the huge issue of using responsive. The table has more than ten columns in the last two buttons - delete or edit. When using responsive at low resolutions (smartphone or tablet), they do not work and are not active. When you increase the resolution, when these buttons are on the computer monitor - they work. How to properly solve this problem. I give all the code in an abbreviated version. I would be grateful for any thoughts and ideas.</p>

<pre><code> $(document).ready(function () {
                var table = $('#example').DataTable({
                      responsive: true,

                    "ajax": "layouts/db_array",
                    "order": [[0, "desc"]],
                    "autoWidth": false,
                    "deferRender": true,
                   
                    "columns": [
                        {"data": "pswd"},
                        {"data": "email", "width": "5%"},
                        {"data": "name"},
                        {"data": "last_name"},
                        {"data": "phone"},
                        {"data": "gender"},
{ "data": null,

                            "defaultContent": "
&lt;a href=\"#\" data-toggle=\"modal\" role=\"button\" class=\" delete\" &gt;" 
                                "&lt;span style=\"font-size: 1em; color: Tomato;\" title=\"Delete\"&gt;&lt;/span&gt;&lt;/a&gt;
&lt;a href=\"#\"  role=\"button\" class=\" edit\" &gt;" 
                                "&lt;span style=\"font-size: 1em; color: #0e148e;\" title=\"Edit\"&gt;&lt;/span&gt;&lt;/a&gt;"
},

  $('#example tbody').on('click', '.delete', function () {//click delete
                    var row = $(this).closest('tr');
               
                    $('#myModalBox').modal("show");

                    $('.elem').text('-' + ' ' + ' ' + name);

                    var url = "user_delete/" + data + "";
                    $("#twitter_user_delete").on('click', function () {

                        $(location).attr('href', url);
                    })

                });


                $('#example tbody').on('click', '.edit', function () {//click edit
                    var row = $(this).closest('tr');

                    var data = table.row(row).data().id;
                    var url = "user_edit/" + data + "";
                    $(location).attr('href', url);
                });
});

</code></pre>

<p>html code standard</p>
]]>
        </description>
    </item>
    <item>
        <title>JQuery on Click function does not work when table is expanded from responsive</title>
        <link>https://next.datatables.net/forums/discussion/72146/jquery-on-click-function-does-not-work-when-table-is-expanded-from-responsive</link>
        <pubDate>Thu, 24 Mar 2022 16:59:39 +0000</pubDate>
        <category>Responsive</category>
        <dc:creator>ads32w</dc:creator>
        <guid isPermaLink="false">72146@/forums/discussions</guid>
        <description><![CDATA[<p>When the table is on full screen function below works fine, but if I expand column with grupa_usera_button on small size and click on button  alert does not appear.<br />
<code>$('.grupa_usera_button').on('click', function() {</code>
<code>alert('Test test');</code>
<code>});</code><br />
Any ideas?</p>
]]>
        </description>
    </item>
   </channel>
</rss>
