<?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>General — DataTables forums</title>
        <link>https://next.datatables.net/forums/</link>
        <pubDate>Wed, 22 Jul 2026 01:33:41 +0000</pubDate>
        <language>en</language>
            <description>General — DataTables forums</description>
    <language>en</language>
    <atom:link href="https://next.datatables.net/forums/categories/general/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Security concern: uploadMany with Mjoin returning all records on filtered table</title>
        <link>https://next.datatables.net/forums/discussion/81805/security-concern-uploadmany-with-mjoin-returning-all-records-on-filtered-table</link>
        <pubDate>Wed, 17 Jun 2026 14:32:36 +0000</pubDate>
        <category>General</category>
        <dc:creator>maxmedia</dc:creator>
        <guid isPermaLink="false">81805@/forums/discussions</guid>
        <description><![CDATA[<p>I am successfully using uploadMany using Mjoin and reference files table. In some circumstances I am further filtering results returned to client, for example using GET parameter for record id. If that returns non-zero main records, everything is fine, in returned data you have only files associated with main records. But if filtering results in zero main records, you get all existing files on server.</p>

<p><strong>Example</strong><br />
Using modified code from this <a rel="nofollow" href="https://editor.datatables.net/examples/advanced/upload-many.html">https://editor.datatables.net/examples/advanced/upload-many.html</a> example:</p>

<pre><code>Editor::inst( $db, 'users' )
    -&gt;fields(
        Field::inst( 'users.id' ),
        Field::inst( 'users.first_name' ),
        Field::inst( 'users.last_name' ),
    )
    -&gt;join(
        Mjoin::inst( 'files' )
            -&gt;link( 'users.id', 'users_files.user_id' )
            -&gt;link( 'files.id', 'users_files.file_id' )
            -&gt;fields(
                Field::inst( 'id' )
                    -&gt;upload( Upload::inst( $_SERVER['DOCUMENT_ROOT'].'/uploads/__ID__.__EXTN__' )
                        -&gt;db( 'files', 'id', array(
                            'filename'    =&gt; Upload::DB_FILE_NAME,
                            'filesize'    =&gt; Upload::DB_FILE_SIZE,
                            'web_path'    =&gt; Upload::DB_WEB_PATH,
                            'system_path' =&gt; Upload::DB_SYSTEM_PATH
                        ) )
                        -&gt;validator( Validate::fileSize( 500000, 'Files must be smaller that 500K' ) )
                        -&gt;validator( Validate::fileExtensions( array( 'png', 'jpg', 'jpeg', 'gif' ), "Please upload an image" ) )
                    )
            )
    )
    -&gt;where( 'id', $_GET['userId'] )
    -&gt;process( $_POST )
    -&gt;json();
</code></pre>

<p>If there is no user with id requested in <code>$_GET['userId']</code>, you get zero records in <code>data</code> array, but all existing server files in <code>files</code> array.<br />
I guess this is not a bug, but it's how Mjoin works. Any ideas how to filter correctly?<br />
<strong>This might be huge security concern.</strong></p>
]]>
        </description>
    </item>
    <item>
        <title>Getting a 502 Bad Gateway when trying to install via NPM</title>
        <link>https://next.datatables.net/forums/discussion/81321/getting-a-502-bad-gateway-when-trying-to-install-via-npm</link>
        <pubDate>Tue, 02 Sep 2025 21:03:40 +0000</pubDate>
        <category>General</category>
        <dc:creator>hjohnsick</dc:creator>
        <guid isPermaLink="false">81321@/forums/discussions</guid>
        <description><![CDATA[<p>I'm trying to install datatables editor following the documentation here, <a rel="nofollow" href="https://editor.datatables.net/manual/installing/">https://editor.datatables.net/manual/installing/</a> under NPM package manager.  I have included a .npmrc file in my root directory.<br />
It contains the following,</p>

<pre><code>@datatables.net:registry=https://npm.datatables.net/
//npm.datatables.net/:_authToken=${DATATABLES_NPM_TOKEN}
</code></pre>

<p>I stored the authToken in my .env file.  I want to install with bootstrap 5.  I ran this command,</p>

<pre><code>npm install --save @datatables.net/editor-bs5
</code></pre>

<p>I received this error,<br />
npm ERR! code E502<br />
npm ERR! 502 Bad Gateway - GET <a rel="nofollow" href="https://npm.datatables.net/@datatables.net%2feditor-bs5">https://npm.datatables.net/@datatables.net%2feditor-bs5</a></p>

<p>I also tried</p>

<pre><code>npm install --save @datatables.net/editor-dt
</code></pre>

<p>and got this error<br />
npm ERR! code E502<br />
npm ERR! 502 Bad Gateway - GET <a rel="nofollow" href="https://npm.datatables.net/@datatables.net%2feditor-dt">https://npm.datatables.net/@datatables.net%2feditor-dt</a></p>

<p>Any ideas as to what the issue is?</p>
]]>
        </description>
    </item>
    <item>
        <title>Loading and Saving Sates to / from a Mariadb SQL database Take 2</title>
        <link>https://next.datatables.net/forums/discussion/81497/loading-and-saving-sates-to-from-a-mariadb-sql-database-take-2</link>
        <pubDate>Wed, 05 Nov 2025 10:41:44 +0000</pubDate>
        <category>General</category>
        <dc:creator>PaulVickery</dc:creator>
        <guid isPermaLink="false">81497@/forums/discussions</guid>
        <description><![CDATA[<p>Here is another example of saving / loading state data to / from a SQL MariaDb database based on <a rel="nofollow" href="https://datatables.net/extensions/staterestore/examples/initialisation/ajax.html">https://datatables.net/extensions/staterestore/examples/initialisation/ajax.html</a></p>

<p>This example does integrate with Editor as it uses the PHP controller file that the Editor Generator produces to retrieve data. It also works with a Select field getting its data from another table. I have also tried it with "Column Control", colReorder and colvis and all seem to work fine.  You can change the user_id variable in user_data.php so that different users can just see their own states.</p>

<p>To get this to work, I have added another method to the php/lib/Editor.php file. (in my case I added it after the json() method).</p>

<p>To start, log into the DataTables website and generate a basic site from the Editor page (<a rel="nofollow" href="https://editor.datatables.net/">https://editor.datatables.net/</a> ) as the files below rely on the libraries / structure of what the generator produces. You will then need to save the files detailed below in the relevant directories. Make sure you use stateRestore version 1.4.3 or later.</p>

<p>Initially download the package from the generator and get it working and then use / copy the files below.</p>

<p><strong>SQL Scripts</strong><br />
data_table_script.sql. This script creates the main "data" table<br />
state_table_script.sql. Creates the table to store the state information.<br />
10data.sql: Optional file to load 10 example rows of data into the "data" table.</p>

<p><strong>Editor.add.php</strong><br />
Method to be included in the php/lib/Editor.php file.</p>

<p><strong>Save the following in the root directory</strong><br />
* user_data.php<br />
* state_info.php</p>

<p><strong>Save the following in the js directory</strong><br />
* table.user_data.js<br />
* table.state_info.js</p>

<p><strong>Save the following in the PHP directory</strong><br />
* table.state_info.php<br />
* table.user_data.php<br />
* table.user_and_state_data<br />
* stateSave.php<br />
* stateLoad.php</p>

<p>Edit  php/lib/Editor.php and add Editor.add.php</p>

<p>Edit table.user_and_state_data and check that the path for the $stateLoad variable is correct.</p>

<p>Note that I opted for separate controller files for datatables and editor in table.user_data.js so that the statesave info is not sent back to the server after editing.</p>

<hr />

<pre><code>-- Data Table (filename: data_table_script.sql )
DROP TABLE IF EXISTS data;
CREATE TABLE `data` (
  `id` int(10) NOT NULL,
  `first_name` varchar(25) DEFAULT NULL,
  `last_name` varchar(25) DEFAULT NULL,
  `zip_post_code` varchar(25) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

ALTER TABLE `data`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `data`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
</code></pre>

<hr />

<pre><code>  -- State Table (filename: state_table_script.sql )

DROP TABLE IF EXISTS states;
CREATE TABLE `states` (
  `id` int(10) NOT NULL,
  `state_name` varchar(10) NOT NULL,
  `state_info` text DEFAULT NULL,
  `user_id` varchar(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

ALTER TABLE `states` ADD PRIMARY KEY (`id`);
ALTER TABLE `states` MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;
ALTER TABLE `states` ADD UNIQUE `unique_index`(`state_name`, `user_id`);
</code></pre>

<hr />

<pre><code>-- Data for load (filename: 10data.sql)
INSERT INTO data (first_name, last_name,zip_post_code,Country)
VALUES
("Armand","Warren","56045","Taiwan"),
("Xenos","Salas","71090","Liberia"),
("Virginia","Whitaker","62723","Nicaragua"),
("Kato","Patrick","97662","Palau"),
("Penelope","Hensley","76634","Greenland"),
("Georgia","Erickson","81358","Bolivia"),
("Tanisha","Humphrey","93371","Kenya"),
("Claire","Espinoza","I8S 2S8","Panama"),
("Raya","Tucker","O8D 8W7","Botswana"),
("Otto","Briggs","57590","Anguilla")
</code></pre>

<hr />

<pre><code>    /** File: Editor.add to be added to php/lib/Editor.php
     * jsonAddState, echo out json and state information.
     */
        public function jsonAddState($statescript = null)
    {
        include($statescript);
        $json = $this-&gt;_out;
        if ($statedata_array === []) {
            $json = json_encode($json);
            echo $json;
        } else {

            $json["stateRestore"] =  $statedata_array;
            $json = json_encode($json);
            echo $json;
        }
        return $this;
    }
</code></pre>

<hr />

<pre><code>&lt;?php
    // filename user_data.php
    session_start();
    $_SESSION['user_id'] = 2;
    ?&gt;

&lt;!doctype html&gt;
&lt;html&gt;

&lt;head&gt;
    &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
    &lt;meta name="viewport" content="width=device-width,initial-scale=1"&gt;

    &lt;title&gt;User Data&lt;/title&gt;

        &lt;link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/jq-3.7.0/moment-2.29.4/dt-2.3.4/b-3.2.5/b-colvis-3.2.5/cr-2.1.2/cc-1.1.1/date-1.6.1/sl-3.1.3/sr-1.4.3/datatables.min.css"&gt;
        &lt;link rel="stylesheet" type="text/css" href="css/generator-base.css"&gt;
        &lt;link rel="stylesheet" type="text/css" href="css/editor.dataTables.min.css"&gt;

        &lt;script type="text/javascript" charset="utf-8" src="https://cdn.datatables.net/v/dt/jq-3.7.0/moment-2.29.4/dt-2.3.4/b-3.2.5/b-colvis-3.2.5/cr-2.1.2/cc-1.1.1/date-1.6.1/sl-3.1.3/sr-1.4.3/datatables.min.js"&gt;&lt;/script&gt;
        &lt;script type="text/javascript" charset="utf-8" src="js/dataTables.editor.min.js"&gt;&lt;/script&gt;

    &lt;script type="text/javascript" charset="utf-8" src="js/table.user_data.js"&gt;&lt;/script&gt;

    &lt;style&gt;
        div.desktopContainer {
            width: auto;
            margin-left: 200px;
            margin-right: 200px;
        }
    &lt;/style&gt;
&lt;/head&gt;

&lt;body class="dataTables"&gt;
    &lt;div class="desktopContainer"&gt;
        &lt;h2&gt;User Data&lt;/h2&gt;
        &lt;table cellpadding="0" cellspacing="0" border="0" class="display" id="user_data" width="100%"&gt;
            &lt;thead&gt;
                &lt;tr&gt;
                    &lt;th&gt;Id&lt;/th&gt;
                    &lt;th&gt;First Name&lt;/th&gt;
                    &lt;th&gt;Last Name&lt;/th&gt;
                    &lt;th&gt;ZIP / Post code&lt;/th&gt;
                    &lt;th&gt;Country&lt;/th&gt;
                &lt;/tr&gt;
            &lt;/thead&gt;
        &lt;/table&gt;
    &lt;/div&gt;
&lt;/body&gt;

&lt;/html&gt;
</code></pre>

<hr />

<pre><code>&lt;?php
    // Filename state_info.php
    ?&gt;
&lt;!doctype html&gt;
&lt;html&gt;

&lt;head&gt;
    &lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
    &lt;title&gt;State Information&lt;/title&gt;

        &lt;link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/jq-3.7.0/moment-2.29.4/dt-2.3.4/b-3.2.5/b-colvis-3.2.5/cr-2.1.2/cc-1.1.1/date-1.6.1/sl-3.1.3/sr-1.4.3/datatables.min.css"&gt;
        &lt;link rel="stylesheet" type="text/css" href="css/generator-base.css"&gt;
        &lt;link rel="stylesheet" type="text/css" href="css/editor.dataTables.min.css"&gt;

        &lt;script type="text/javascript" charset="utf-8" src="https://cdn.datatables.net/v/dt/jq-3.7.0/moment-2.29.4/dt-2.3.4/b-3.2.5/b-colvis-3.2.5/cr-2.1.2/cc-1.1.1/date-1.6.1/sl-3.1.3/sr-1.4.3/datatables.min.js"&gt;&lt;/script&gt;
        &lt;script type="text/javascript" charset="utf-8" src="js/dataTables.editor.min.js"&gt;&lt;/script&gt;

    &lt;script type="text/javascript" charset="utf-8" src="js/table.state_info.js"&gt;&lt;/script&gt;

    &lt;style&gt;
        div.desktopContainer {
            width: auto;
            margin-left: 90px;
            margin-right: 90px;
        }
    &lt;/style&gt;

&lt;/head&gt;

&lt;body class="dataTables"&gt;
    &lt;div class="desktopContainer"&gt;
        &lt;h2&gt;State Information&lt;/h2&gt;
        &lt;table cellpadding="0" cellspacing="0" border="0" class="display" id="state_info" width="100%"&gt;
            &lt;thead&gt;
                &lt;tr&gt;
                    &lt;th&gt;Id&lt;/th&gt;
                    &lt;th&gt;User Id&lt;/th&gt;
                    &lt;th&gt;State Name&lt;/th&gt;
                    &lt;th&gt;State Information&lt;/th&gt;
                &lt;/tr&gt;
            &lt;/thead&gt;
        &lt;/table&gt;
    &lt;/div&gt;
&lt;/body&gt;

&lt;/html&gt;
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>Export GIF Looks Weird</title>
        <link>https://next.datatables.net/forums/discussion/81266/export-gif-looks-weird</link>
        <pubDate>Mon, 18 Aug 2025 16:37:05 +0000</pubDate>
        <category>General</category>
        <dc:creator>chbocca</dc:creator>
        <guid isPermaLink="false">81266@/forums/discussions</guid>
        <description><![CDATA[<p>Hi again.</p>

<p>Been seeing this weird gif when I export using csv or excel ... looks like broken arrow? Will try and post test case, but in mean time just thought I flow to see if icon is as intended. The export works fine, just the icon/gif that I'm questioning.</p>

<p><img src="https://datatables.net/forums/uploads/editor/av/mfgmelwwcsob.gif" alt="" title="" /></p>

<p>Using css:</p>

<p><a rel="nofollow" href="https://cdn.datatables.net/v/dt/jszip-3.10.1/dt-2.3.2/b-3.2.4/b-colvis-3.2.4/b-html5-3.2.4/b-print-3.2.4/cr-2.1.1/fc-5.0.4/fh-4.0.3/rr-1.5.0/sl-3.0.1/datatables.min.css">https://cdn.datatables.net/v/dt/jszip-3.10.1/dt-2.3.2/b-3.2.4/b-colvis-3.2.4/b-html5-3.2.4/b-print-3.2.4/cr-2.1.1/fc-5.0.4/fh-4.0.3/rr-1.5.0/sl-3.0.1/datatables.min.css</a></p>

<p>Using js:</p>

<p><a rel="nofollow" href="https://cdn.datatables.net/v/dt/jszip-3.10.1/dt-2.3.2/b-3.2.4/b-colvis-3.2.4/b-html5-3.2.4/b-print-3.2.4/cr-2.1.1/fc-5.0.4/fh-4.0.3/rr-1.5.0/sl-3.0.1/datatables.min.js">https://cdn.datatables.net/v/dt/jszip-3.10.1/dt-2.3.2/b-3.2.4/b-colvis-3.2.4/b-html5-3.2.4/b-print-3.2.4/cr-2.1.1/fc-5.0.4/fh-4.0.3/rr-1.5.0/sl-3.0.1/datatables.min.js</a></p>

<p>Thanks, as always, in advance.</p>

<p>c</p>
]]>
        </description>
    </item>
    <item>
        <title>How to add newline to Message?</title>
        <link>https://next.datatables.net/forums/discussion/81287/how-to-add-newline-to-message</link>
        <pubDate>Sat, 23 Aug 2025 16:42:02 +0000</pubDate>
        <category>General</category>
        <dc:creator>tangerine</dc:creator>
        <guid isPermaLink="false">81287@/forums/discussions</guid>
        <description><![CDATA[<p>I have this code under an inline "Delete" button:<br />
        $('#datatable').on('click', 'td.editor-delete button', function (e) {</p>

<pre><code>    // Get the row data.
    var td = $( this ).closest( 'td' );
    var rowdata = oTable.row( td ).data();

    var details = '"' + rowdata.Songs.title_for_display + '"' + " (Id: " +rowdata.Songs.song_id + ")";

    oEditor.remove($(this).closest('tr'), {
        title: 'Delete record',
        message: "Are you sure you want to remove this record?" + "\r\n" + details,
        buttons: 'Delete'
        });
    });    
</code></pre>

<p>The message and details are shown, but the newline is ignored. I have used this newline elsewhere in js with no problem. Is there anything different about "message" in this example?</p>
]]>
        </description>
    </item>
    <item>
        <title>Any support Vuetify</title>
        <link>https://next.datatables.net/forums/discussion/81207/any-support-vuetify</link>
        <pubDate>Tue, 29 Jul 2025 14:35:13 +0000</pubDate>
        <category>General</category>
        <dc:creator>klymov.inekon</dc:creator>
        <guid isPermaLink="false">81207@/forums/discussions</guid>
        <description><![CDATA[<p>Hello. I try datatables on Vuetify - Vue Component Framework (<a rel="nofollow" href="https://vuetifyjs.com/en/).">https://vuetifyjs.com/en/).</a> And I would like to use inner components (v-checkbox in my case) and I've met error<br />
<code>injection "Symbol(vuetify:defaults)" not found. at &lt;VCheckbox model-value=true theme-dark=true &gt;</code></p>

<p>After digging into the code, I realized that this is because datatables renders cells outside the context of Vuetify and the use of vNode. My question is whether it is possible to support third-party components not through render as html but through virtual dom.</p>
]]>
        </description>
    </item>
    <item>
        <title>Editor bulk update</title>
        <link>https://next.datatables.net/forums/discussion/81051/editor-bulk-update</link>
        <pubDate>Tue, 17 Jun 2025 14:41:44 +0000</pubDate>
        <category>General</category>
        <dc:creator>klymov.inekon</dc:creator>
        <guid isPermaLink="false">81051@/forums/discussions</guid>
        <description><![CDATA[<p>Hello, this is not an error, but suggestion for improvement.<br />
I've met a problem, that I can't edit more than 4096 fields at one time (limited in .net by</p>

<pre><code>services.Configure&lt;FormOptions&gt;(options =&gt;
{
    options.ValueCountLimit = 4096; }) 
</code></pre>

<p>).<br />
Resolving this I've create this script that create resubmit of chuncked values (multiset not work for me). This action for button that confirm modify in editor modal.</p>

<pre><code>name: "editYes",
action: function (e, json, data, action) {
    if (processing) return;
    const chunkSize = Math.floor(maxFormSizeLimit / editor.fields().length);
    var chunkCounter = 0;
    var toUpdateValuesChunk = toUpdateValues.slice(chunkCounter, chunkCounter + chunkSize);
    var toUpdateRowIdsChunk = toUpdateRowIds.slice(chunkCounter, chunkCounter + chunkSize);
    editor.on('preClose', function (e) {
        return !processing;
    });
    editor.on('preSubmit', function (e, data, action) {
 //field.multiSet(toUpdateRowIds[j], value) not work if  table page not contain element
        delete data.data.keyless;
        processing = processing;
        chunkCounter = chunkCounter + chunkSize;
         
        for (var i = 0; i &lt; toUpdateValuesChunk.length; i++) {
            data.data[toUpdateRowIdsChunk[i]] = toUpdateValuesChunk[i];
        }
    });
    editor.on("postSubmit", function (e, json, data, action, xhr) {
        if (chunkCounter &gt;= toUpdateValues.length) {
            editor.off('postSubmit').off('preSubmit').off('preClose');
            processing = false;
            if (toCreate.length &gt; 0) {
                createRecords(editorCreate);
            }
            else {

                editor.close()
                resetTable();
            }
        }
        else {
            toUpdateValuesChunk = toUpdateValues.slice(chunkCounter, chunkCounter + chunkSize);
            toUpdateRowIdsChunk = toUpdateRowIds.slice(chunkCounter, chunkCounter + chunkSize);
            //@ts-ignore
            editor.s.processing = false;
            editor.submit(null, null, null, false);
        }
    })
    editor.submit(null, null, null, false);
}
</code></pre>

<p>I might to do same thing for bulk delete and create.</p>
]]>
        </description>
    </item>
    <item>
        <title>How can I render child row to present markdown?</title>
        <link>https://next.datatables.net/forums/discussion/81014/how-can-i-render-child-row-to-present-markdown</link>
        <pubDate>Fri, 06 Jun 2025 10:08:49 +0000</pubDate>
        <category>General</category>
        <dc:creator>koppanm</dc:creator>
        <guid isPermaLink="false">81014@/forums/discussions</guid>
        <description><![CDATA[<p>Hi, I have been using DataTables and Editor more and more extensively. Recently I have installed a Table where I need to show large text data using markdown. The child row functions properly. However, I am unable to format it to render data for markdown. I have read all available sources, but I can not compile a proper script. Please, help!<br />
Many thanks!<br />
Miklos</p>
]]>
        </description>
    </item>
    <item>
        <title>Columns().Visible() Function Terribly Slow with Large Tables</title>
        <link>https://next.datatables.net/forums/discussion/80798/columns-visible-function-terribly-slow-with-large-tables</link>
        <pubDate>Thu, 03 Apr 2025 19:37:56 +0000</pubDate>
        <category>General</category>
        <dc:creator>chbocca</dc:creator>
        <guid isPermaLink="false">80798@/forums/discussions</guid>
        <description><![CDATA[<p>Hi again.</p>

<p>With tables of many columns, the visible() function can become terribly slow, even when redrawCalc option is set to false.</p>

<p>Ref: <a rel="nofollow" href="https://datatables.net/reference/api/columns().visible()" title="columns().visible()">columns().visible()</a>.</p>

<p>This code line hides all columns with header class = 'empty':  table.columns('.empty').visible(false, false);</p>

<p>In the simple example I built, which contains 20 rows, if the table has 60 columns ... no problem. You can toggle the empty class columns in a fraction of a second.</p>

<p>Here is link to <a rel="nofollow" href="https://charlesbalcony.com/demo/visiblewithlargetable_60.php" title="60 Column Example">60 Column Example</a>. Click "Toggle Position Columns" button to demo.</p>

<p>But when the same table has 600 columns, the time to complete the toggle is 50 seconds!</p>

<p>Here is link to <a rel="nofollow" href="https://charlesbalcony.com/demo/visiblewithlargetable_600.php" title="60 Column Example">600 Column Example</a>.</p>

<p>It would actually be faster to rebuild the table from scratch than use the dt visible() function.</p>

<p>Is there better way to implement this function? My tables can reach over 1000 columns. At that point, attempting any ColVis is hopeless.</p>

<p>Thanks in advance, as always.</p>

<p>c</p>
]]>
        </description>
    </item>
    <item>
        <title>Offline Document Request</title>
        <link>https://next.datatables.net/forums/discussion/80479/offline-document-request</link>
        <pubDate>Wed, 22 Jan 2025 13:54:06 +0000</pubDate>
        <category>General</category>
        <dc:creator>guobiao_cn</dc:creator>
        <guid isPermaLink="false">80479@/forums/discussions</guid>
        <description><![CDATA[<p>How to use the documentation, references to download, I have searched for a long time, still can not find, whether there is a PDF document or API retrieval (all the examples);</p>

<p>At present let me have a dilemma is that some development environments do not allow access to the Internet, resulting in a very much time-consuming in datatables. I wish there was a way to have offline documentation and case code for developers to try.</p>

<p>I look forward to your reply, thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>JavaScript not loading/available from CDN</title>
        <link>https://next.datatables.net/forums/discussion/80586/javascript-not-loading-available-from-cdn</link>
        <pubDate>Thu, 13 Feb 2025 21:37:28 +0000</pubDate>
        <category>General</category>
        <dc:creator>Jeffrey Zola</dc:creator>
        <guid isPermaLink="false">80586@/forums/discussions</guid>
        <description><![CDATA[<p>I am using DataTables with the Editor in a legacy ASP.NET MVC 5.2 application. It is loading the DataTables scripts and stylesheets from the CDN. I haven't updated the versions since 2022. The app calls out V1.10.25 of the base script, and several other plug ins with versions of that vintage.</p>

<p>Our application is misbehaving for all users in one of our clients' user pools. The symptom is that content that is supposed to be added and removed from the DOM is not being added at all. I saw a number of errors in the JavaScript console, the first of which was "Editor requires DataTables 1.10.20 or newer". V1.10.25 is newer than that, so I assume that the Editor script is not finding what supposed to be loaded from the CDN.</p>

<p>We have no other reports of this problem from any of our other clients or their users.</p>

<p>Have there been reports of the CDN being blocked/black listed by corporate networks?</p>

<p>A Coworker suggested that maybe corporate networks have mechanisms to block outdated or flagged CDN content. Have any of the DataTables scripts been identified as security risks that would flag them as quarantined?</p>

<p>Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>Currently fully subscrided user  receives:Your trial has now expired. To purchase a license for Edit</title>
        <link>https://next.datatables.net/forums/discussion/80548/currently-fully-subscrided-user-receives-your-trial-has-now-expired-to-purchase-a-license-for-edit</link>
        <pubDate>Tue, 04 Feb 2025 06:50:07 +0000</pubDate>
        <category>General</category>
        <dc:creator>cchintall83</dc:creator>
        <guid isPermaLink="false">80548@/forums/discussions</guid>
        <description><![CDATA[<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>Suggestion "Add Delete Local Storage as default to forum posts"</title>
        <link>https://next.datatables.net/forums/discussion/80496/suggestion-add-delete-local-storage-as-default-to-forum-posts</link>
        <pubDate>Thu, 23 Jan 2025 18:54:11 +0000</pubDate>
        <category>General</category>
        <dc:creator>toomanylogins</dc:creator>
        <guid isPermaLink="false">80496@/forums/discussions</guid>
        <description><![CDATA[<p>I have been developing with DT for a 18months and only today realised I had to delete local storage to get DT to refresh its settings.  I have been hitting ctrl-shit-r to force a refresh and nothing happens. Including default note somewhere obvious would have been a big help to me. If I missed it apologies. Cheers Paul</p>
]]>
        </description>
    </item>
    <item>
        <title>How to add in updated by field with user login id in inline Editor?</title>
        <link>https://next.datatables.net/forums/discussion/80463/how-to-add-in-updated-by-field-with-user-login-id-in-inline-editor</link>
        <pubDate>Fri, 17 Jan 2025 03:47:24 +0000</pubDate>
        <category>General</category>
        <dc:creator>wonglik</dc:creator>
        <guid isPermaLink="false">80463@/forums/discussions</guid>
        <description><![CDATA[<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>Delete my account</title>
        <link>https://next.datatables.net/forums/discussion/80329/delete-my-account</link>
        <pubDate>Mon, 09 Dec 2024 18:06:27 +0000</pubDate>
        <category>General</category>
        <dc:creator>[Deleted User]</dc:creator>
        <guid isPermaLink="false">80329@/forums/discussions</guid>
        <description><![CDATA[<p>Hi Allan,<br />
My time has come (74 years old) and I no longer program.<br />
Please delete my account. Thank you for the excellent software and help over the years.<br />
Best regards<br />
Dirk</p>
]]>
        </description>
    </item>
    <item>
        <title>React + select - extracting row information</title>
        <link>https://next.datatables.net/forums/discussion/80296/react-select-extracting-row-information</link>
        <pubDate>Mon, 02 Dec 2024 08:15:59 +0000</pubDate>
        <category>General</category>
        <dc:creator>fulltonj</dc:creator>
        <guid isPermaLink="false">80296@/forums/discussions</guid>
        <description><![CDATA[<p>I have been working with DataTables for quite a few years and have just started working with the <strong>datatables.net-react</strong> package.  I can create a datatable, make an ajax call and populate the table.  I can also generate a <strong>select</strong> event and log it to the console.  My question - I don't understand how to extract information from the selected row.</p>

<p>I was able to do this readily with JQuery in the pre-React days but am trying to avoid mixing React and JQuery.  I've looked in many places but have found nothing timely, or even relevant.  Any advice gratefully accepted!</p>

<pre><code>&lt;DataTable id="resultSetTable" className="display" onSelect={selectEvent}
                                    options={{
                                        responsive: true,
                                        select: true,

                                        ajax: {
                                            url: 'blah blah',

                                            headers: {
                                                'Content-Type': 'application/json',
                                            }
                                        },

                                        searching: true,
                                        paging: true,
                                        order: [[1, 'desc']],
                                        dom: 'lfrtip', // use B for buttons
                                        pageLength: 5,
                                        lengthMenu: [[5, 10, 20, -1], [5, 10, 20]],
                                        (plenty of column definitions),
                                        fixedColumns: false
                                    }}&gt;
</code></pre>

<p>and the simple logging function:</p>

<pre><code> let selectEvent = (e) =&gt; {
        console.log('Select action', e);
       
      };
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>setup lastupdate field in MySQL on update current_timestamp but doesn't work in JS Datatable row.</title>
        <link>https://next.datatables.net/forums/discussion/80295/setup-lastupdate-field-in-mysql-on-update-current-timestamp-but-doesnt-work-in-js-datatable-row</link>
        <pubDate>Mon, 02 Dec 2024 05:03:06 +0000</pubDate>
        <category>General</category>
        <dc:creator>wonglik</dc:creator>
        <guid isPermaLink="false">80295@/forums/discussions</guid>
        <description><![CDATA[<p>How to setup a last update date field in JS datatable when rows update?</p>
]]>
        </description>
    </item>
    <item>
        <title>How can i search all the meta data</title>
        <link>https://next.datatables.net/forums/discussion/80228/how-can-i-search-all-the-meta-data</link>
        <pubDate>Mon, 18 Nov 2024 15:46:15 +0000</pubDate>
        <category>General</category>
        <dc:creator>Aryan1703</dc:creator>
        <guid isPermaLink="false">80228@/forums/discussions</guid>
        <description><![CDATA[<p>I am formattign all the values in one and sending them as a html content. I have a search for this but it does not search the meta data(all the fields that I have included) except the original value itself(Ol.comment)   on the client side. How can i make it to search everything</p>

<pre><code><br />        $('input', this.footer()).on('keyup change', function () {
              if (that.searchTimer) {
                clearTimeout(that.searchTimer);
              }
              if (that.search() !== this.value) {
                that
                  .search(this.value)
                  .draw();
              }
            });```

```php

Field::inst('OL.comment', 'comment')
-&gt;getFormatter(function ($val, $data, $field) {
$details = [
['key' =&gt; 'U1.username', 'label' =&gt; 'Operator'],
['key' =&gt; 'OM.Mode', 'label' =&gt; 'Mode'],
['key' =&gt; 'EB.EB', 'label' =&gt; 'EB Type'],
['key' =&gt; 'OL.speed', 'label' =&gt; 'Speed'],
['key' =&gt; 'Y2.yesNo', 'label' =&gt; 'Flats'],
['key' =&gt; 'OL.oscRating', 'label' =&gt; 'Rating'],
['key' =&gt; 'OL.vatc', 'label' =&gt; 'VATC Reboot'],
['key' =&gt; 'Y3.yesNo', 'label' =&gt; 'Braking/Propulsion'],
['key' =&gt; 'Y1.yesNo', 'label' =&gt; 'Out of Service'],
['key' =&gt; 'OL.dos', 'label' =&gt; 'Door Operations Switch'],
['key' =&gt; 'Y4.yesNo', 'label' =&gt; 'Are you Properly Berthed?'],
['key' =&gt; 'OL.qfmID', 'label' =&gt; 'QFM #'],
['key' =&gt; 'U4.username', 'label' =&gt; 'Other Operators']
];
$comment = $val; // Starting with the original comment value
$commentReturn = '';
foreach ($details as $detail) {
if (isset ($data[$detail['key']]) &amp;&amp; !empty ($data[$detail['key']])) {
$value = $data[$detail['key']];
$label = $detail['label'];
if ($label == "Door Operations Switch") {
if ($value == 1) {
$value = "Manual";
} else {
$value = "Auto";
}
}
$commentReturn .= '&lt;br&gt;

[' . $label . ': ' . $value . ']
';
}
}
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>Diff of 2 datatables</title>
        <link>https://next.datatables.net/forums/discussion/80181/diff-of-2-datatables</link>
        <pubDate>Wed, 06 Nov 2024 17:50:46 +0000</pubDate>
        <category>General</category>
        <dc:creator>hpegmslicensemgmt</dc:creator>
        <guid isPermaLink="false">80181@/forums/discussions</guid>
        <description><![CDATA[<p>Dear all,<br />
Is there a clever way to get the difference between 2 DataTables ?</p>

<p>2 Tables with the same structure and similar content where Table A can have different entires of Table B ...</p>

<p>Best regards,<br />
David</p>
]]>
        </description>
    </item>
    <item>
        <title>The New Layout Feature - THANK YOU!</title>
        <link>https://next.datatables.net/forums/discussion/79804/the-new-layout-feature-thank-you</link>
        <pubDate>Mon, 09 Sep 2024 06:06:05 +0000</pubDate>
        <category>General</category>
        <dc:creator>minifiredragon</dc:creator>
        <guid isPermaLink="false">79804@/forums/discussions</guid>
        <description><![CDATA[<p>That's all.  Just a big thank you for this feature.  In the past I had to do a bunch of jquery fuggery to move things into place.  The new Layout feature is sooooo nice.  Took me a few minutes to figure out how to get things in a line, but I got it!</p>

<p>And for those scratching your head, here is a quick note on the subject:</p>

<pre><code>top:  Will spread your options across the top of the table, using the pageLength:, info: and search: 
(the old style of the table, atleast from my options) it looks weird.
topStart:  Will put your options nicely together.
topEnd:  Will put everthing to the right side (pretty much opposite of topStart).
div:  Now this is where the fun really is.  Using this, give it an id and append you extra buttons to it.  Sooo nice.
</code></pre>

<p>The piece that got me for a few minutes was how to include the menu options with info and search.  The examples are good, but this one might help the lost:</p>

<pre><code>I put this at the begining outside the DataTable initialize as per the example:
DataTable.defaults.layout =
{
   topStart: null,
   topEnd: null,
   bottomStart: null,
   bottomEnd: null
};


$(#example').DataTable(
{
   layout: {
      topStart:
      {
         pageLength: 
         { 
            menu: [[10, 25, 50, 500, 1000, -1], [10, 25, 50, 500, 1000, "All"]],   
            The only thing I am not sure is if you can set the default selection in here.  
            I did not see it in the pageLength documents, but the pageLength option still worked.
         },
         info: {},
         search : {},
         div: 
            {
               id: 'buttonBox,
            },                      
         },             
         bottom: ['info', 'paging'],
   },
});
</code></pre>

<p>And one last thing to remember, the top and bottom, when you place numbers after them, will count down, ie, top3 is 1st, top2 is next, etc..:</p>

<pre><code>top3: Will be first
top2: Next
top1: Next
top: Bottom

top2Start: Can use the number between as well.
</code></pre>

<p>But anyway.  Thanks for this lovely feature!!</p>
]]>
        </description>
    </item>
    <item>
        <title>Multiple selection. Error with filter</title>
        <link>https://next.datatables.net/forums/discussion/79665/multiple-selection-error-with-filter</link>
        <pubDate>Wed, 14 Aug 2024 12:55:48 +0000</pubDate>
        <category>General</category>
        <dc:creator>comptabilitat</dc:creator>
        <guid isPermaLink="false">79665@/forums/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>I continue trying to adapt the multiple selection example: <a rel="nofollow" href="https://editor.datatables.net/examples/datatables/mJoin.html">https://editor.datatables.net/examples/datatables/mJoin.html</a></p>

<p>All works fine, I can see and modify data amb multiselect values.</p>

<p>The problem is with the filter. When a put a character in the filter, it returns me an error</p>

<p>DataTables warning: table id=pacients_diagnostics_mostra - Unknown field: pacients_diagnostics_view (index 3)</p>

<p>Table pacients_diagnostics_view has the multi selected values.</p>

<p>Datatables column definition is:</p>

<pre><code>        columns: [
            { data: "id"  },
            { data: "npat" , visible: false },
            { data: "data_diagnostic" },
            { data: 'pacients_diagnostics_view', render: '[, ].microorganisme_mecanisme' }
        ],
</code></pre>

<p>Editor is:</p>

<pre><code>    editormostra = new $.fn.dataTable.Editor( {
        "ajax": "ajax/pacientsdiagnosticsmostra/"+npat,
        "table": "#pacients_diagnostics_mostra",
        "fields": [ {   
                label: "NHC:",
                name: "npat",
                type: "readonly",
                def: npat
            },{
                label: "Data del diagnòstic:",
                name:  "data_diagnostic",
                type: "readonly"
            },{
                label: "Microorganismes:",
                name: "pacients_diagnostics_view[].id",
                type: "select",
                multiple: true,
                fieldInfo: 'Amb la tecla CTRL podeu seleccionar més d´un valor'
            }
        ]
</code></pre>

<p>I compare with original exemple, where filter works and i can't see the error.</p>

<p>I use type : select. In original example is datatables, but in my environment this doesn't works. May be old version.</p>

<p>Any help will be welcome. Many thanks !!!</p>
]]>
        </description>
    </item>
    <item>
        <title>Is there any database for examples?</title>
        <link>https://next.datatables.net/forums/discussion/79620/is-there-any-database-for-examples</link>
        <pubDate>Thu, 08 Aug 2024 04:03:55 +0000</pubDate>
        <category>General</category>
        <dc:creator>anders59</dc:creator>
        <guid isPermaLink="false">79620@/forums/discussions</guid>
        <description><![CDATA[<p>Is there a sample database available for download for each example in the Examples section?<br />
I'd like to load it into mysql and test each example.</p>
]]>
        </description>
    </item>
    <item>
        <title>How can i add an extra column value when adding files</title>
        <link>https://next.datatables.net/forums/discussion/79416/how-can-i-add-an-extra-column-value-when-adding-files</link>
        <pubDate>Tue, 16 Jul 2024 16:25:31 +0000</pubDate>
        <category>General</category>
        <dc:creator>Aryan1703</dc:creator>
        <guid isPermaLink="false">79416@/forums/discussions</guid>
        <description><![CDATA[<pre><code><br /> -&gt;join(
        Mjoin::inst('ops_analysisImg')
            -&gt;link('ops_dailyLog.id', 'ops_imglinktable.logID')
            -&gt;link('ops_analysisImg.id', 'ops_imglinktable.imgID')
            -&gt;fields(
                Field::inst('id')
                    -&gt;upload(
                        Upload::inst($_SERVER['DOCUMENT_ROOT'] . '/operations/uploads/__NAME__')
                            -&gt;db(
                                'ops_analysisImg',
                                'id',
                                array(
                                    'filename' =&gt; Upload::DB_FILE_NAME,
                                    'filesize' =&gt; Upload::DB_FILE_SIZE,
                                    'web_path' =&gt; Upload::DB_WEB_PATH,
                                )
                            )
                            -&gt;validator(Validate::fileSize(750000, 'Files must be smaller that 750K'))
                            -&gt;validator(Validate::fileExtensions(array('png', 'jpg', 'jpeg', 'gif'), "Please upload an image"))
                    )
            )
    )

</code></pre>

<p>i have a column in database "upload_date(datetime) where i want to store current timestamp</p>
]]>
        </description>
    </item>
    <item>
        <title>How can I remove file from multiple files</title>
        <link>https://next.datatables.net/forums/discussion/79339/how-can-i-remove-file-from-multiple-files</link>
        <pubDate>Thu, 04 Jul 2024 18:04:24 +0000</pubDate>
        <category>General</category>
        <dc:creator>Aryan1703</dc:creator>
        <guid isPermaLink="false">79339@/forums/discussions</guid>
        <description><![CDATA[<p>This is how I am uploading multiple images through a link table. I have added a clearText but it does not seems to work for multiple.</p>

<pre><code><br />  {
          label: "Upload Image",
          name: 'ops_analysisImg[].id',
          type: 'uploadMany',
          display: (fileId, counter) =&gt;
            `&lt;img src="${editor.file('ops_analysisImg', fileId).web_path}"/&gt;`,
          noImageText: 'No image',
          clearText: "Clear",
        },

</code></pre>

<p>This is my serverside script</p>

<pre><code><br /> -&gt;join(
        Mjoin::inst('ops_analysisImg')
            -&gt;link('ops_dailyLog.id', 'ops_imglinktable.logID')
            -&gt;link('ops_analysisImg.id', 'ops_imglinktable.imgID')
            -&gt;fields(
                Field::inst('id')
                    -&gt;upload(
                        Upload::inst($_SERVER['DOCUMENT_ROOT'] . '/operations/uploads/__NAME__')
                            -&gt;db(
                                'ops_analysisImg',
                                'id',
                                array(
                                    'filename' =&gt; Upload::DB_FILE_NAME,
                                    'filesize' =&gt; Upload::DB_FILE_SIZE,
                                    'web_path' =&gt; Upload::DB_WEB_PATH,
                                )
                            )
                            -&gt;validator(Validate::fileSize(500000, 'Files must be smaller that 500K'))
                            -&gt;validator(Validate::fileExtensions(array('png', 'jpg', 'jpeg', 'gif'), "Please upload an image"))
                    )
            )
    )

</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>Proper way to use Renderers in vue3</title>
        <link>https://next.datatables.net/forums/discussion/79337/proper-way-to-use-renderers-in-vue3</link>
        <pubDate>Thu, 04 Jul 2024 11:32:32 +0000</pubDate>
        <category>General</category>
        <dc:creator>stsdata</dc:creator>
        <guid isPermaLink="false">79337@/forums/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
I'm having difficulties using a built-in data renderer, specifically concerning date formats. I'm using DataTables via a Vue component and need to render columns where I pass a date in ISO8601 format into a more readable format. I've tried using all the methods available on the renderers page (<a rel="nofollow" href="https://datatables.net/manual/data/renderers#Date-and-time-helpers)">https://datatables.net/manual/data/renderers#Date-and-time-helpers)</a> without success.<br />
This is the option object inside a &lt;script setup&gt; inside my vue3 component:</p>

<pre><code>const options = {
  fixedColumns: false,
  columnDefs: {
    targets: [9, 10, 11],
    render: function () {
      return DataTable.render.date();
    }
  },
  scrollX: true,
  select: true,
  info: false,
  language: language
};
</code></pre>

<p>and right now it still displays the date as ISO8601.</p>

<p>If i use the way as it is suggested in this example: <a rel="nofollow" href="https://datatables.net/examples/datetime/auto-locale-moment.html">https://datatables.net/examples/datetime/auto-locale-moment.html</a> i get <code>[Vue warn]: Invalid vnode type when creating vnode: undefined.</code>.</p>
]]>
        </description>
    </item>
    <item>
        <title>Server processing - AJAX get fails</title>
        <link>https://next.datatables.net/forums/discussion/79324/server-processing-ajax-get-fails</link>
        <pubDate>Tue, 02 Jul 2024 22:21:02 +0000</pubDate>
        <category>General</category>
        <dc:creator>dpanscik</dc:creator>
        <guid isPermaLink="false">79324@/forums/discussions</guid>
        <description><![CDATA[<p>I am certainly having a list of technical difficulties that I did not have previously on a previous setup of datatables.</p>

<p>When serverSide is set to false the ajax GET request works.</p>

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

<p><img src="https://datatables.net/forums/uploads/editor/9j/vj4gaw06rz5y.png" alt="" title="" /></p>

<p>When serverSide is set to true, the ajax GET fails.  Any ideas what might be causing this?</p>

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

<p><img src="https://datatables.net/forums/uploads/editor/by/2vtk966woaz0.png" alt="" title="" /></p>
]]>
        </description>
    </item>
    <item>
        <title>Header on child table.</title>
        <link>https://next.datatables.net/forums/discussion/79323/header-on-child-table</link>
        <pubDate>Tue, 02 Jul 2024 19:45:31 +0000</pubDate>
        <category>General</category>
        <dc:creator>dpanscik</dc:creator>
        <guid isPermaLink="false">79323@/forums/discussions</guid>
        <description><![CDATA[<p>Here is a link test case;<br />
<a rel="nofollow" href="https://live.datatables.net/guwafemu/536/edit">https://live.datatables.net/guwafemu/536/edit</a></p>

<p>What is the easiest way to add headers to a child table?  The child table for this test case does not have headers.</p>
]]>
        </description>
    </item>
    <item>
        <title>Init function from serverside html onclick function invalid reference due to scope</title>
        <link>https://next.datatables.net/forums/discussion/79207/init-function-from-serverside-html-onclick-function-invalid-reference-due-to-scope</link>
        <pubDate>Wed, 12 Jun 2024 15:23:33 +0000</pubDate>
        <category>General</category>
        <dc:creator>toomanylogins</dc:creator>
        <guid isPermaLink="false">79207@/forums/discussions</guid>
        <description><![CDATA[<p>I am rendering html serverside</p>

<p>&lt;a href="#" onclick="checkBal('269C9607C92FE045B3A121CEE3F17FD6');"&gt;PINV&lt;/a&gt;</p>

<p>the page is loaded via ajax and includes a script inline with datatable loaded after document ready. I have tried the checkBal function in intiComplete, after $document Ready and before ready in the script tag. The table loads ok with all rows correct inc urls. However onclick error Uncaught ReferenceError: checkBal is not defined  I realise this is something to do with scope so where do I define the function ?</p>

<p>Thanks</p>
]]>
        </description>
    </item>
    <item>
        <title>How can i scroll automatically down to a row in datatable</title>
        <link>https://next.datatables.net/forums/discussion/79204/how-can-i-scroll-automatically-down-to-a-row-in-datatable</link>
        <pubDate>Tue, 11 Jun 2024 17:51:00 +0000</pubDate>
        <category>General</category>
        <dc:creator>Aryan1703</dc:creator>
        <guid isPermaLink="false">79204@/forums/discussions</guid>
        <description><![CDATA[<p>What i want to do is if it finds a row with corresponding it should scroll to that viewport of datatble. Currenlt the row is highlighted but its not scrolled to that place. Also, is there a way to search the value from all the data rather than just the current page data. Thanks in advance!!</p>

<pre><code><br />   function getQueryParameter(name) {
      var urlParams = new URLSearchParams(window.location.search);
      return urlParams.get(name);
    }

    var logId = getQueryParameter('id');

    setTimeout(function () {
      if (logId) {
        $('#assyntCx_Table tbody tr').each(function () {
          var rowId = $(this).find('td:first').text().trim();
          if (rowId === logId) {
            $(this).find('td').css({ 'background-color': 'blue', 'color': '#000' });

            table.scroller.toPosition(this);
          }
        });
      }
    }, 2000);

</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>memory size error from time to time</title>
        <link>https://next.datatables.net/forums/discussion/79170/memory-size-error-from-time-to-time</link>
        <pubDate>Tue, 04 Jun 2024 09:49:37 +0000</pubDate>
        <category>General</category>
        <dc:creator>hzhong</dc:creator>
        <guid isPermaLink="false">79170@/forums/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>I have a datatable editor php script used for server side processing. Sometimes, especially the first time requested by the front end, it reports "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in ......" But after refreshing the page, it successfully responds with json data which is just around 15 kb.</p>

<p>Does anyone have any idea why memory size error reports the first time requested, and then works well?</p>

<p>Thanks.</p>
]]>
        </description>
    </item>
   </channel>
</rss>
