<?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>KeyTable — DataTables forums</title>
        <link>https://datatables.net/forums/</link>
        <pubDate>Mon, 08 Jun 2026 07:52:46 +0000</pubDate>
        <language>en</language>
            <description>KeyTable — DataTables forums</description>
    <language>en</language>
    <atom:link href="https://datatables.net/forums/categories/keytable/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Copy column from Excel into Editor/Keytable enabled datatable</title>
        <link>https://datatables.net/forums/discussion/81703/copy-column-from-excel-into-editor-keytable-enabled-datatable</link>
        <pubDate>Mon, 02 Mar 2026 11:18:48 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>nhinze</dc:creator>
        <guid isPermaLink="false">81703@/forums/discussions</guid>
        <description><![CDATA[<p>I would like to be able to copy and paste multiple vertical cells from Excel to a Editor/KeyTable enabled datatable. Is there built-in functionality? If yes, is there a good example I could follow?</p>
]]>
        </description>
    </item>
    <item>
        <title>Inline editing and tag fields</title>
        <link>https://datatables.net/forums/discussion/81521/inline-editing-and-tag-fields</link>
        <pubDate>Mon, 17 Nov 2025 14:55:54 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>dte1</dc:creator>
        <guid isPermaLink="false">81521@/forums/discussions</guid>
        <description><![CDATA[<p>Hi Allan,</p>

<p>I'll continue here (from <a rel="nofollow" href="https://datatables.net/forums/discussion/81422/date-picker-with-jquery-ui">https://datatables.net/forums/discussion/81422/date-picker-with-jquery-ui</a><br />
).</p>

<p>When I use inline editing for tag fields and clicking on 'Add' expands the selection list. As soon as I select an entry from the list, the tag editor disappears without saving the new value.</p>

<p>I extended the tags-multiple example with added "keytable".</p>

<p>Here is the code:</p>

<pre><code>var editor = new DataTable.Editor({
    ajax: '../../controllers/joinArray.php',
    fields: [
        {
            label: 'First name:',
            name: 'users.first_name'
        },
        {
            label: 'Last name:',
            name: 'users.last_name'
        },
        {
            label: 'Site:',
            name: 'users.site',
            type: 'select'
        },
        {
            label: 'Permissions:',
            name: 'permission[].id',
            type: 'tags',
            limit: 4
        }
    ],
    table: '#example'
});

$('#example').DataTable({
    ajax: {
        url: '../../controllers/joinArray.php',
        type: 'POST'
    },
    columns: [
        { data: 'users.first_name' },
        { data: 'users.last_name' },
        { data: 'sites.name' },
        { data: 'permission', render: '[, ].name', editField: 'permission[].id'}
    ],
    keys: {
        columns: [0,1,3],
        editor: editor
    },  
    layout: {
        topStart: {
            buttons: [
                { extend: 'create', editor: editor },
                { extend: 'edit', editor: editor },
                { extend: 'remove', editor: editor }
            ]
        }
    },
    select: true
});
</code></pre>

<p>best regards<br />
Ilja</p>
]]>
        </description>
    </item>
    <item>
        <title>Whay can I not disable keys on click evet?</title>
        <link>https://datatables.net/forums/discussion/80392/whay-can-i-not-disable-keys-on-click-evet</link>
        <pubDate>Fri, 27 Dec 2024 19:38:10 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>OnLog</dc:creator>
        <guid isPermaLink="false">80392@/forums/discussions</guid>
        <description><![CDATA[<p>I'm not able to disable keys when click on button.<br />
If I use it outside the click event the keytable is disabled....</p>

<p>See this test case: <a rel="nofollow" href="https://jsfiddle.net/supernova404/jg60we4o/209/" title="https://jsfiddle.net/supernova404/jg60we4o/209/"></a><a rel="nofollow" href="https://jsfiddle.net/supernova404/jg60we4o/209/">https://jsfiddle.net/supernova404/jg60we4o/209/</a></p>

<p>I want to disable keys when a surten button is clicked: <code>.buttons-page-length</code></p>

<pre><code>var table = $('#dynamicTableDetailChild').DataTable({
             keys: true
});
</code></pre>

<pre><code>$('.buttons-page-length').on('click', function(){
          console.log('inside');
          $('#dynamicTableDetailChild').DataTable().keys.disable();
          //table.keys.disable();
});
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>Update broke key columns?</title>
        <link>https://datatables.net/forums/discussion/80161/update-broke-key-columns</link>
        <pubDate>Thu, 31 Oct 2024 16:45:39 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>capeck</dc:creator>
        <guid isPermaLink="false">80161@/forums/discussions</guid>
        <description><![CDATA[<p>This used to allow tabbing to skip over readonly columns in inline editor before I updated to v2 of dataTables,  and 2.12 or keytable:</p>

<pre><code>keys: {
                    columns: ':not(.readonly)',
                    keys: [ 9 ],        /* tab key */
                    editor: vm.editor,
                    editOnFocus: true
                }    ,
</code></pre>

<p>Now the inline editor still lands on those columns when tabbing.</p>

<p>I updated all the extensions as well as css with bootstrap5.</p>

<p>Any advice?<br />
Thanks</p>
]]>
        </description>
    </item>
    <item>
        <title>How to clear contents of selected cell when "Backspace" or "delete" is pressed.</title>
        <link>https://datatables.net/forums/discussion/79386/how-to-clear-contents-of-selected-cell-when-backspace-or-delete-is-pressed</link>
        <pubDate>Fri, 12 Jul 2024 12:16:23 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>Hence|...</dc:creator>
        <guid isPermaLink="false">79386@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Description of problem</strong>:  I have a working spreadsheet like editor instance utilising Keytables extension and inline editor. However, currently when you use the arrow keys or single click on a cell to select it and then press the "backspace" or "delete" key on the keyboard nothing happens. I would ideally like the cell contents to be cleared or set to "" and the submit be triggered as a result of this. Which would be similar to what Google Sheets or Excel does with this behaviour.</p>

<p>Currently the only way to clear the cell is to double click the cell and backspace all the contents or to select the cell, type a single character, press backspace and then press return to submit the change.</p>

<p>Sorry I don't have a test cases available, the project is behind auth.</p>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable download is zero-length</title>
        <link>https://datatables.net/forums/discussion/77550/keytable-download-is-zero-length</link>
        <pubDate>Tue, 07 Nov 2023 00:37:32 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>Mwhite007</dc:creator>
        <guid isPermaLink="false">77550@/forums/discussions</guid>
        <description><![CDATA[<p>when i download datatables using the website, everything is fine except KeyTable which comes down as zero-length files</p>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable acting strange when attached to an Editor with an inline select</title>
        <link>https://datatables.net/forums/discussion/75469/keytable-acting-strange-when-attached-to-an-editor-with-an-inline-select</link>
        <pubDate>Thu, 16 Feb 2023 17:37:19 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>Freund</dc:creator>
        <guid isPermaLink="false">75469@/forums/discussions</guid>
        <description><![CDATA[<p>Not sure if this should go in KeyTable or Editor category.<br />
I have a setup with editor, keytables and inline editing with a selectize.<br />
If I enter hard edit, with a click or enter key, and then don't select anything but instead hit escape. The inline editing then close without submitting, as it default should. But when I then use the down arrow, it looks like inline editing is entered again and the first option from the select is added and editing is closed again, before moving to next row.</p>

<p>I am using latest KeyTable and Editor library.</p>

<p>I can replicate the issue with a regular select, see below. Anything I am misunderstanding here? Thanks</p>

<pre><code>    &lt;table id="example" class="table table-striped" style="width:100%"&gt;
        &lt;thead&gt;
            &lt;tr&gt;
                &lt;th&gt;Name&lt;/th&gt;
                &lt;th&gt;Position&lt;/th&gt;
                &lt;th&gt;Office&lt;/th&gt;
                &lt;th&gt;Age&lt;/th&gt;
                &lt;th&gt;Start date&lt;/th&gt;
                &lt;th&gt;Salary&lt;/th&gt;
            &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody&gt;
            &lt;tr&gt;
                &lt;td&gt;Tiger Nixon&lt;/td&gt;
                &lt;td&gt;System Architect&lt;/td&gt;
                &lt;td&gt;Edinburgh&lt;/td&gt;
                &lt;td&gt;61&lt;/td&gt;
                &lt;td&gt;2011-04-25&lt;/td&gt;
                &lt;td&gt;$320,800&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Garrett Winters&lt;/td&gt;
                &lt;td&gt;Accountant&lt;/td&gt;
                &lt;td&gt;Tokyo&lt;/td&gt;
                &lt;td&gt;63&lt;/td&gt;
                &lt;td&gt;2011-07-25&lt;/td&gt;
                &lt;td&gt;$170,750&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Ashton Cox&lt;/td&gt;
                &lt;td&gt;Junior Technical Author&lt;/td&gt;
                &lt;td&gt;San Francisco&lt;/td&gt;
                &lt;td&gt;66&lt;/td&gt;
                &lt;td&gt;2009-01-12&lt;/td&gt;
                &lt;td&gt;$86,000&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Cedric Kelly&lt;/td&gt;
                &lt;td&gt;Senior Javascript Developer&lt;/td&gt;
                &lt;td&gt;Edinburgh&lt;/td&gt;
                &lt;td&gt;22&lt;/td&gt;
                &lt;td&gt;2012-03-29&lt;/td&gt;
                &lt;td&gt;$433,060&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Airi Satou&lt;/td&gt;
                &lt;td&gt;Accountant&lt;/td&gt;
                &lt;td&gt;Tokyo&lt;/td&gt;
                &lt;td&gt;33&lt;/td&gt;
                &lt;td&gt;2008-11-28&lt;/td&gt;
                &lt;td&gt;$162,700&lt;/td&gt;
            &lt;/tr&gt;
            &lt;tr&gt;
                &lt;td&gt;Brielle Williamson&lt;/td&gt;
                &lt;td&gt;Integration Specialist&lt;/td&gt;
                &lt;td&gt;New York&lt;/td&gt;
                &lt;td&gt;61&lt;/td&gt;
                &lt;td&gt;2012-12-02&lt;/td&gt;
                &lt;td&gt;$372,000&lt;/td&gt;
            &lt;/tr&gt;
        &lt;/tbody&gt;
        &lt;tfoot&gt;
            &lt;tr&gt;
                &lt;th&gt;Name&lt;/th&gt;
                &lt;th&gt;Position&lt;/th&gt;
                &lt;th&gt;Office&lt;/th&gt;
                &lt;th&gt;Age&lt;/th&gt;
                &lt;th&gt;Start date&lt;/th&gt;
                &lt;th&gt;Salary&lt;/th&gt;
            &lt;/tr&gt;
        &lt;/tfoot&gt;
    &lt;/table&gt;

    &lt;script type="text/javascript"&gt;
        $(document).ready(function () {

            var editor, datatable

            editor = new $.fn.dataTable.Editor({
                table: $('#example'),
                fields: [
                    {
                        label: "Name",
                        name: "DT_RowId"
                    },
                    {
                        label: "Position",
                        name: "position"
                    },
                    {
                        label: "Office",
                        name: "office",
                        type: 'select',
                        options: [
                                {label: 1, value: 'Spectrometer'},
                                {label: 2, value: 'Star Chart'},
                                {label: 3, value: 'Electrical Tape'}
                        ],
                    }
                ],
            });

            datatable = $('#example').DataTable({
                pagingType: 'full_numbers',
                columns: [
                    { data: "DT_RowId" },
                    { data: "position" },
                    { data: "office" },
                    { data: "age" },
                    { data: "start_date" },
                    { data: "salary" }
                ],
                keys: {
                    editor: editor,
                    editorKeys: 'navigation-only',
                    columns: [ 2 ],
                },
            });
        });

    &lt;/script&gt;

</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable 2.8.0 broken with inline editing</title>
        <link>https://datatables.net/forums/discussion/75339/keytable-2-8-0-broken-with-inline-editing</link>
        <pubDate>Fri, 03 Feb 2023 17:53:14 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>bg7</dc:creator>
        <guid isPermaLink="false">75339@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>:<br />
<a rel="nofollow" href="http://live.datatables.net/fehuduqa/1/edit">http://live.datatables.net/fehuduqa/1/edit</a></p>

<p><strong>Description of problem</strong>:<br />
The latest version of KeyTable (2.8.0) appears to no longer work with inline editing.  In the test case linked above, if you update the included version of KeyTable from 2.7.0 to 2.8.0 you can no longer move around in the table with the arrow or tab keys.  If you then comment out the editor from the table's key definition here:</p>

<p>keys: {<br />
    editor: editor,<br />
},</p>

<p>then KeyTable starts working again.  Presumably it's a conflict between the two from a change here:</p>

<p><a rel="nofollow" href="https://github.com/DataTables/KeyTable/compare/2.7.0...2.8.0">https://github.com/DataTables/KeyTable/compare/2.7.0...2.8.0</a></p>

<p>For some reason the live editor imports different versions of plugins than you get when you download releases.  In this case the download includes KeyTable 2.8.0 but the live editor pulls in 2.7.0.  Is there a way to keep the live editor synced up with the releases?  This would make it easier to debug any issues we run into.</p>

<p>Thanks.</p>

<p>Ben</p>
]]>
        </description>
    </item>
    <item>
        <title>Keyboard navigation stopped working between KeyTable versions 2.6.4 and 2.8.0 (current version)</title>
        <link>https://datatables.net/forums/discussion/75049/keyboard-navigation-stopped-working-between-keytable-versions-2-6-4-and-2-8-0-current-version</link>
        <pubDate>Thu, 05 Jan 2023 18:22:20 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>supermind</dc:creator>
        <guid isPermaLink="false">75049@/forums/discussions</guid>
        <description><![CDATA[<p>Test case:<br />
<a rel="nofollow" href="https://editor.datatables.net/examples/extensions/keyTable.html">https://editor.datatables.net/examples/extensions/keyTable.html</a></p>

<p>In version 2.6.4 (which I've last used) the navigation worked fine with Editor when used inline editing, but now it does not. This can be seen in example page linked above. If there was a breaking change, how can it be fixed?</p>
]]>
        </description>
    </item>
    <item>
        <title>Focusing a cell, then scrolling to the last row makes the DataTable jumpy</title>
        <link>https://datatables.net/forums/discussion/71831/focusing-a-cell-then-scrolling-to-the-last-row-makes-the-datatable-jumpy</link>
        <pubDate>Fri, 25 Feb 2022 10:12:27 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>fredrikdev</dc:creator>
        <guid isPermaLink="false">71831@/forums/discussions</guid>
        <description><![CDATA[<p>I'm testing out the the KeyTable+Scroller extensions, and if i focus a cell on e.g. the first row, then scroll the table, it goes jumpy. Here's a screen recording (using the sample at <a rel="nofollow" href="https://datatables.net/extensions/keytable/examples/initialisation/scroller.html):">https://datatables.net/extensions/keytable/examples/initialisation/scroller.html):</a></p>

<p><a rel="nofollow" href="https://www.dropbox.com/s/axo8657zavtqwq4/keytable.mov?dl=0">https://www.dropbox.com/s/axo8657zavtqwq4/keytable.mov?dl=0</a></p>

<p>I'm guessing KeyTable tries to set refocus the cell after the scroll.</p>
]]>
        </description>
    </item>
    <item>
        <title>How can I move through my table using up and down keys ?</title>
        <link>https://datatables.net/forums/discussion/71704/how-can-i-move-through-my-table-using-up-and-down-keys</link>
        <pubDate>Thu, 17 Feb 2022 09:00:17 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>gopi.jtech@gmail.com</dc:creator>
        <guid isPermaLink="false">71704@/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>

<p>I have came to know from google search that keyTable is the extension used to make table work like excel sheets. I just copied the css and script to my page and I put key: true in the dataTable. that much I got .. now what to do ? is there any reference or steps example to look through it and make it done ? Please help and thanks in advance.</p>
]]>
        </description>
    </item>
    <item>
        <title>Inline editor,  highlight/select value when tabbing to field</title>
        <link>https://datatables.net/forums/discussion/70726/inline-editor-highlight-select-value-when-tabbing-to-field</link>
        <pubDate>Thu, 25 Nov 2021 00:04:52 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>capeck</dc:creator>
        <guid isPermaLink="false">70726@/forums/discussions</guid>
        <description><![CDATA[<p>I am using inline editor and keyTable.  When tabbing to a new column, I want to highlight (select) the value.  The default action is  putting the cursor at the end of the value, as in your inline editor tab between columns example.  Thanks .</p>
]]>
        </description>
    </item>
    <item>
        <title>Reading DataTable contents with JAWS</title>
        <link>https://datatables.net/forums/discussion/69856/reading-datatable-contents-with-jaws</link>
        <pubDate>Thu, 16 Sep 2021 08:26:22 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>vahidsam</dc:creator>
        <guid isPermaLink="false">69856@/forums/discussions</guid>
        <description><![CDATA[<p>Hello,</p>

<p>I want to use DataTable for the Blind with JAWS as a screen reader application. How can I configure DataTable to use JAWS to read table contents when I use the keyboard to move between rows in table contents? is any example of this issue?</p>

<p>tnx</p>
]]>
        </description>
    </item>
    <item>
        <title>Get all Keys from Key Event even if DataTables already uses them interally</title>
        <link>https://datatables.net/forums/discussion/69661/get-all-keys-from-key-event-even-if-datatables-already-uses-them-interally</link>
        <pubDate>Thu, 02 Sep 2021 10:41:34 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>tobias.pitzer</dc:creator>
        <guid isPermaLink="false">69661@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>:  <a rel="nofollow" href="http://live.datatables.net/gumizoco/3/edit?js,console,output">http://live.datatables.net/gumizoco/3/edit?js,console,output</a><br />
<strong>Debugger code (debug.datatables.net)</strong>: <a rel="nofollow" href="https://debug.datatables.net/ayoxub">https://debug.datatables.net/ayoxub</a><br />
<strong>Error messages shown</strong>: None<br />
<strong>Description of problem</strong>:<br />
The key Event is working fine for every key exept for those keys who are already used by DataTables. For Example: Escape, Arrow Up, Arrow Down, Home, End, ...</p>

<p>This is because KeyTable only emits an event if the switch case doesn't match:</p>

<pre><code>// Line 861
case 27: // esc
        if ( this.c.blurable &amp;&amp; enable === true ) {
                this._blur();
        }
        break;
        
// Line922
default:
        // Everything else - pass through only when fully enabled
        if ( enable === true ) {
                this._emitEvent( 'key', [ dt, e.keyCode, this.s.lastFocus.cell, e ] );
        }
        break;
</code></pre>

<p>What i want to do is (as you can see in my Example Code). I want to use the Escape Key not just to blur but to refocus on the search Input.</p>

<p>Is there any way i can do this?<br />
Could you maybe emit the key Event even if something else is happening?</p>

<p>Thanks.<br />
Best Regards.</p>

<p>Tobi</p>
]]>
        </description>
    </item>
    <item>
        <title>I can't auto focus the first cell (by focus: ':eq(0)' )</title>
        <link>https://datatables.net/forums/discussion/69481/i-cant-auto-focus-the-first-cell-by-focus-eq-0</link>
        <pubDate>Fri, 20 Aug 2021 13:18:16 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>Pryanichkin</dc:creator>
        <guid isPermaLink="false">69481@/forums/discussions</guid>
        <description><![CDATA[<p><strong>Link to test case</strong>: <a rel="nofollow" href="https://obmen1.pbteamstudio.com/opers.html">https://obmen1.pbteamstudio.com/opers.html</a></p>

<p>I can't auto focus the first cell (by focus: ':eq(0)' )</p>

<pre><code>let table = $(TABLE_ID).DataTable({
...
keys: {
   editor: editor,
   focus: ':eq(0)',
   blurable: false,
},
...
});
</code></pre>

<p>Please indicate what I am doing wrong!</p>
]]>
        </description>
    </item>
    <item>
        <title>arrow keys work invers in rtl mode</title>
        <link>https://datatables.net/forums/discussion/69337/arrow-keys-work-invers-in-rtl-mode</link>
        <pubDate>Sun, 08 Aug 2021 16:20:25 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>irasadin@yahoo.com</dc:creator>
        <guid isPermaLink="false">69337@/forums/discussions</guid>
        <description><![CDATA[<p>Hi,<br />
When I'm using KeyTable extension with rtl body, left and right arrow keys work invers. how to solve it?</p>

<p>sample code : <a rel="nofollow" href="http://live.datatables.net/jaxecefo/1/watch?html,css,js,output" title="live.datatables.net/jaxecefo/1/watch?html,css,js,output">live.datatables.net/jaxecefo/1/watch?html,css,js,output</a></p>

<p>to see the problem, just open above sample, select a cell and use right and left arrow keys.</p>
]]>
        </description>
    </item>
    <item>
        <title>Very strange tab index issue</title>
        <link>https://datatables.net/forums/discussion/69000/very-strange-tab-index-issue</link>
        <pubDate>Thu, 08 Jul 2021 21:21:58 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>dougm</dc:creator>
        <guid isPermaLink="false">69000@/forums/discussions</guid>
        <description><![CDATA[<p>First off I do not have the bug reproduced where you can see the problem in action.<br />
The problem :  I have multiple tables that all have one column and the tab action doesn't take me to the next row after clicking in the first row. If I click in the second row and then click in the first row again it then tabs to the the 2 row and 3rd etc.<br />
The examples I have seen all the seem to say add keys: true and include the keyTable.dataTables.min.css and dataTables.keyTable.min.js which I have done. Any help would be greatly appreciated.</p>
]]>
        </description>
    </item>
    <item>
        <title>key-focus event: get row/col number?</title>
        <link>https://datatables.net/forums/discussion/68608/key-focus-event-get-row-col-number</link>
        <pubDate>Tue, 08 Jun 2021 07:45:30 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>opto</dc:creator>
        <guid isPermaLink="false">68608@/forums/discussions</guid>
        <description><![CDATA[<p>maybe I am only stumbling over my debugger:<br />
the event returns cell.<br />
It looks like cell has a property 0 which is an array which somewhere in a deeper level has rowno and columnno?</p>

<p>I don't get it really out of there. So if I have the event, how do I know which cell/row/col-No it comes from?</p>

<p>My workaround is to write col/rowNo into the node (which I get in the event)  as extra attributes, which works, but there must be a better way.</p>

<p>thanks,<br />
Klaus</p>
]]>
        </description>
    </item>
    <item>
        <title>Can you have tab submit edits when using keytable?</title>
        <link>https://datatables.net/forums/discussion/65019/can-you-have-tab-submit-edits-when-using-keytable</link>
        <pubDate>Tue, 20 Oct 2020 19:27:48 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>bfarkas</dc:creator>
        <guid isPermaLink="false">65019@/forums/discussions</guid>
        <description><![CDATA[<p>I have keytable up and working and have editonfocus on, but a common user behavior in this setup would be to type and tab and type and tab, if you do this, the data entered is lost. You must enter the data/update, hit enter, then tab. Is there a way to have the data automatically entered when tab shifts the focus from one cell to the next?</p>
]]>
        </description>
    </item>
    <item>
        <title>Is there a way to bind multiple editors to KeyTable?</title>
        <link>https://datatables.net/forums/discussion/64132/is-there-a-way-to-bind-multiple-editors-to-keytable</link>
        <pubDate>Mon, 31 Aug 2020 11:45:39 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>OnLog</dc:creator>
        <guid isPermaLink="false">64132@/forums/discussions</guid>
        <description><![CDATA[<p>I have one editor that is representing the "edit" button and one editor that is representing the "create" button. I tried to bind both these to the KeyTable, but it did not work. I tried something like this:</p>

<pre><code>keys: {
        editor: [ 
                   {editor1}, 
                   {editor2}
                ]
    }
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable inline editing + submit on blur</title>
        <link>https://datatables.net/forums/discussion/63777/keytable-inline-editing-submit-on-blur</link>
        <pubDate>Fri, 14 Aug 2020 06:53:18 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>rugggger</dc:creator>
        <guid isPermaLink="false">63777@/forums/discussions</guid>
        <description><![CDATA[<p>I have a table which I navigate on using keyTable with inline editing.</p>

<pre><code> editor = new $.fn.dataTable.Editor({
        formOptions: {
            inline: {
               submit: 'allIfChanged'
            }
        },
    ...
    ...
   let table = $('#datatable').DataTable({
       ...
        keys: {
            editor: editor,
          //  editOnFocus: true
        },

</code></pre>

<p>When I activate the 'editOnFocus' option then I enter into inline editing on each cell, but when I blur out, it submits only on the first cell.<br />
When I turn the option off, it will submit on each blur. (but I don't get the inline editing on focus, which I want).</p>

<p>I'm not sure if it's a bug or a bad configuration.</p>
]]>
        </description>
    </item>
    <item>
        <title>KeyTables: User Click On Non-Editable Fields Throws Error</title>
        <link>https://datatables.net/forums/discussion/53749/keytables-user-click-on-non-editable-fields-throws-error</link>
        <pubDate>Fri, 21 Dec 2018 22:19:19 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>paulprrn</dc:creator>
        <guid isPermaLink="false">53749@/forums/discussions</guid>
        <description><![CDATA[<p>I have an editor setup so that all of the fields in a row appear in the editor, but only the last one, the <em>User Login Email</em>, is actually user editable.<br />
The user may open an editor dialog box, or edit the email address in-line.</p>

<p>I did this with:</p>

<pre><code>                keys: {
                        columns:[6],    //UserLoginEmail, The only user editable field
                        editor:  editor,
                    },
</code></pre>

<p>I'm getting the interaction I want, but if the user double clicks on any of the inline non-editable field, I get this error in the console:</p>

<p><strong>dataTables.keyTable.js:469 Uncaught TypeError: Cannot read property 'cell' of null</strong></p>

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

<p>Is there any way to mitigate this?</p>

<p>Here are my key bits of code:</p>

<pre><code>        editor = new $.fn.dataTable.Editor( {
                data: sampleDataStaff,
                table: "#example",
                fields: [ {
                        label: "ID",
                        name:  "id",
                        type: "hidden",
                        attr: {placeholder: 'ID'}
                     }, {
                        label: "UserStatus",
                        name:  "UserStatus"
                    }, {
                        label: "Group",
                        name:  "GroupName"
                    }, {
                        label: "User Name",
                        name:  "UserName",
                        attr:   {placeholder: 'No Name'}
                     },{
                        label: "Role Title",
                        name: "RoleTitle"   
                    }, {
                        label: "User Login Email",
                        name:  "UserLoginEmail",                
                    }, {
                        label: "Date",
                        name:  "Date",
                        type: "hidden",
                        //type:  "datetime"
                    }
                ],
            } );



            table = $('#example').DataTable( {
                dom: "Bfrtip",
                "paging": false,
                data: sampleDataStaff,

                columns: [
                    {
                      data: null,
                      defaultContent: '',
                      className: 'select-checkbox',
                       orderable: false
                    },
                    { name: "id",           data: "id",         orderable: false,   className: "columnDisabled",     visible: false},
                    { name: "UserStatus",   data: "UserStatus",     orderable: false,   className: "columnDisabled"},
                    { name: "GroupName",    data: "GroupName",      orderable: true,     className: "columnDisabled"},
                    { name: "UserName", data: "UserName",       orderable: false,   className: "columnDisabled"},
                    { name: "RoleTitle",        data: "RoleTitle",      orderable: false,   className: "columnDisabled"},
                    { name: "UserLoginEmail",   data: "UserLoginEmail", orderable: false},
                    { name: "Date",     data: "Date",           orderable: false,    className: "columnDisabled"     visible: false}
                ],

                "order": [ 7, 'desc' ],  //Order by Date

                columnDefs: [
                    {targets: 2,
                    fieldName: "UserStatus",
                     render: function (data) {
                         if (data == 'active') {
                             return('&lt;div class="primaryDotBlack"&gt;&lt;/div&gt;');
                         }else {
                             return('&lt;div class="primaryDotGray"&gt;&lt;/div&gt;');
                         }
                     }
                    }
                ],

                keys: {
                    columns:[6],    //UserLoginEmail, The only user editable field
                    editor:  editor,
                },

    ..... Button Stuff........
    ...... }); //End Of DataTable
</code></pre>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable sort of working, but not allowing editing of cells directly</title>
        <link>https://datatables.net/forums/discussion/60716/keytable-sort-of-working-but-not-allowing-editing-of-cells-directly</link>
        <pubDate>Wed, 26 Feb 2020 20:45:14 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>bfarkas</dc:creator>
        <guid isPermaLink="false">60716@/forums/discussions</guid>
        <description><![CDATA[<p>I know I must be missing something very basic, but have tried ll sorts of things and cannot figure out what is wrong. I am trying to get this table to full excel like functionality and so want keys to be able to edit. I think I set it up correctly, have tried all the settings and tried the examples and it just does not work, all the other features work, but it won't let me edit the cells inline.<br />
Here is a current example:<br />
<a rel="nofollow" href="https://newyorklife.acms.com/plnr3zzewp46/">https://newyorklife.acms.com/plnr3zzewp46/</a><br />
Thanks in advance!</p>
]]>
        </description>
    </item>
    <item>
        <title>onKey function stops working on parent table, when child table is destroyed</title>
        <link>https://datatables.net/forums/discussion/56421/onkey-function-stops-working-on-parent-table-when-child-table-is-destroyed</link>
        <pubDate>Wed, 22 May 2019 09:03:41 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>mgi</dc:creator>
        <guid isPermaLink="false">56421@/forums/discussions</guid>
        <description><![CDATA[<p>Hi,</p>

<p>having issue with onKey functions. they work all fine but when I have 2 tables and I destroy one, the other one stops listening for key event .<br />
provided jsfiddle: <a rel="nofollow" href="https://jsfiddle.net/cdk6mxhe/4/">https://jsfiddle.net/cdk6mxhe/4/</a></p>
]]>
        </description>
    </item>
    <item>
        <title>Strange KeyTable problem when using Edge and changing focus</title>
        <link>https://datatables.net/forums/discussion/57012/strange-keytable-problem-when-using-edge-and-changing-focus</link>
        <pubDate>Tue, 02 Jul 2019 15:07:49 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>BingCommander</dc:creator>
        <guid isPermaLink="false">57012@/forums/discussions</guid>
        <description><![CDATA[<p>I'm having a problem with KeyTable in Edge.<br />
Normally, if I select a cell and start typing, the value that I type is correctly entered into the cell.<br />
However, if I focus on another application or click on the desktop, and then click a cell and start typing, the first character is lost.</p>

<p>You can try it on the example page: <a rel="nofollow" href="https://editor.datatables.net/examples/extensions/keyTable.html">https://editor.datatables.net/examples/extensions/keyTable.html</a></p>

<p>I suspect this is more of an Edge problem than a Datatables problem, but I'm just hoping someone has an idea for some kind of workaround.</p>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable - editorKeys not working when inline editor opened with mouse</title>
        <link>https://datatables.net/forums/discussion/56577/keytable-editorkeys-not-working-when-inline-editor-opened-with-mouse</link>
        <pubDate>Mon, 03 Jun 2019 07:57:31 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>Radoslav Konuch</dc:creator>
        <guid isPermaLink="false">56577@/forums/discussions</guid>
        <description><![CDATA[<p>We are using KeyTable extension along with the Editor extension. We would like to disable arrow keys navigation between cells when inline editor is opened, so user can move the cursor withing the text input using arrow keys.<br />
We tried to initialize the KeyTable exntesion with setting: <code>editorKeys: 'tab-only'</code>. The arrow keys are properly disabled, when the inline editor is opened using the 'Enter' key. However, when we open it using a mouse click, arrow key navigation is not disabled. One would expect the same behaviour no matter the way the inline editor was opened, when we use the <code>tab-only</code> setting.</p>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable key-focus event and column name</title>
        <link>https://datatables.net/forums/discussion/41641/keytable-key-focus-event-and-column-name</link>
        <pubDate>Wed, 05 Apr 2017 01:33:51 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>msand01</dc:creator>
        <guid isPermaLink="false">41641@/forums/discussions</guid>
        <description><![CDATA[<p>With the key-focus event, is it possible to determine if a particular column was clicked, via the data name property, as opposed to the index.  I am using Objects as my data source.</p>

<p>For example, in the event body, I can do this<br />
    <code>if (cell.index().column === 1)</code><br />
to get the index of the column, but is it possible to do a comparison with the name instead, something like this?<br />
(I realize this is wrong)<br />
    <code>if (cell.name === 'Age')</code></p>

<p>Thank you in advance.</p>
]]>
        </description>
    </item>
    <item>
        <title>When do I need to include keyTable.bootstrap4.min.js file ?</title>
        <link>https://datatables.net/forums/discussion/56228/when-do-i-need-to-include-keytable-bootstrap4-min-js-file</link>
        <pubDate>Thu, 09 May 2019 07:42:39 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>ronald.wouters</dc:creator>
        <guid isPermaLink="false">56228@/forums/discussions</guid>
        <description><![CDATA[<p>Hi all,</p>

<p>when you look at the <a rel="nofollow" href="https://datatables.net/extensions/keytable/examples/styling/bootstrap.html" title="keytable bootstrap styling page">keytable bootstrap styling page</a> and you look at the "Javascript library files loaded for use in this example" you will notice that only <code>dataTables.keyTable.min.js</code> is mentioned.</p>

<p>In the KeyTable-2.5.0 download package there is also a file <code>keyTable.bootstrap4.min.js</code> present.<br />
This file is not used by the example mentioned above.</p>

<p>So my question is obvious: when do I need to use the <code>keyTable.bootstrap4.min.js</code> file ?</p>

<p>Regards,<br />
Ronald Wouters</p>
]]>
        </description>
    </item>
    <item>
        <title>KeyTable - Cancel Blur with Client Validation</title>
        <link>https://datatables.net/forums/discussion/47912/keytable-cancel-blur-with-client-validation</link>
        <pubDate>Fri, 16 Feb 2018 15:11:29 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>bwalls</dc:creator>
        <guid isPermaLink="false">47912@/forums/discussions</guid>
        <description><![CDATA[<p>First off, great product love datatables &amp; the editor..</p>

<p>I am working on a similar situation to this thread: <a rel="nofollow" href="https://datatables.net/forums/discussion/40248/cancel-key-blur-when-field-contains-errors">https://datatables.net/forums/discussion/40248/cancel-key-blur-when-field-contains-errors</a></p>

<p>I am using inline editing, keytables, and submitting onblur, and am now attempting to add basic client validation using the preSubmit event.</p>

<p>If I edit a field with an invalid value and press enter, the error is shown. However, if I hit the tab key, the field reverts back to the original value and the next field has the focus w/o showing the original error. I tried using keys.disable(), but that does not seem to work.Seems like I need to cancel the keytables action somehow.</p>

<p>Here is the code I am using:</p>

<pre><code>&lt;script type="text/javascript"&gt;
    $(document).ready(function() {

        var editor = new $.fn.dataTable.Editor({
            ajax: {
                url: "/ListView/ListViewAjaxUpdate",
                contentType: 'application/json',
                data: function(d) {
                    d.listId = '1';
                    return JSON.stringify(d);
                }
            },
            table: "#tblData",
            idSrc: 'RowId',
            fields: [
                        {
                            label: 'Test string field',
                            name: 'Id1'
                        },
                        {
                            label: 'Test int field',
                            name: 'Id2'
                        },
                        {
                            label: 'Another string field',
                            name: 'Id3'
                        }
            ]
        });

        // Activate an inline edit on click of a table cell and allow submit on blur.
        $('#tblData').on('click', 'tbody td:not(:first-child)',
            function () {
                editor.inline(this,
                    {
                        submitOnBlur: true
                    });
            }
        );

        var table = $('#tblData').DataTable({
            lengthChange: false,
            processing: false,
            filter: false,
            ordering: true,
            order: [[0, 'asc']],
            serverSide: true,
            dom: 'frtip',
            ajax: {
                url: "/ListView/ListViewAjaxGet",
                type: "POST",
                data: function(d) {
                    d.listId =
                        '1';
                }
            },
            columns: [
                {
                    data: null,
                    defaultContent: '',
                    className: 'select-checkbox',
                    orderable: false
                },
                    {
                        title: 'Test string field',
                        data: 'Id1'
                    },
                    {
                        title: 'Test int field',
                        data: 'Id2'
                    },
                    {
                        title: 'Another string field',
                        data: 'Id3'
                    },
                {
                    title: "RowId",
                    data: "RowId",
                    visible: false
                }
            ],
            select: {
                style: 'os',
                selector: 'td:first-child'
            },
            keys: {
                columns: ':not(:first-child)',
                keys: [9],
                editor: editor,
                editOnFocus: true
            },
            buttons: [
                { extend: 'create', editor: editor, formTitle: 'New list item' },
                { extend: 'edit', editor: editor, formTitle: 'Edit list item' },
                { extend: 'remove', editor: editor, formTitle: 'Delete list item' }
            ],
            initComplete: function(settings, json) {
                $(this).DataTable().buttons().container().appendTo($('#tblDataButtons'));
            }
        });

        // Add basic client validation.
        editor.on('preSubmit',
            function(e, o, action) {
                if (action !== 'remove') {
                    if (!ClientValidationString(this
                            .field('Id1').val(), 256)) {
                            this.field('Id1')
                                .error('Must be less than 256 chars.');
                        }
                    
                    if (!ClientValidationInt(this
                            .field('Id2').val())) {
                            this.error('Id2')
                                .error('Must be an integer value.');
                        }
                    
                    if (!ClientValidationString(this
                            .field('Id3').val(), 256)) {
                            this.field('Id3')
                                .error('Must be less than 256 chars.');
                        }
                }
                // If any error, cancel.
                if (this.inError()) {
                    // This doesn't seem to work.
                    //table.keys.disable();
                    //table.keys.enable();
                    return false;
                }
                return true;
            }
        );
    });
&lt;/script&gt;

</code></pre>

<p>Thanks!</p>
]]>
        </description>
    </item>
    <item>
        <title>presubmite</title>
        <link>https://datatables.net/forums/discussion/52571/presubmite</link>
        <pubDate>Tue, 16 Oct 2018 06:35:08 +0000</pubDate>
        <category>KeyTable</category>
        <dc:creator>THEJASVI</dc:creator>
        <guid isPermaLink="false">52571@/forums/discussions</guid>
        <description><![CDATA[<p>$.ajax({<br />
                            type: "GET",<br />
                            data: {"domain":domain.val()},<br />
                            dataType: "json",<br />
                            url: '/example/',<br />
                            cache: false,<br />
                            timeout:30000,<br />
                            success: function(returnData) {<br />
                                console.log(returnData)<br />
                                console.log("yes")<br />
//                                domain.error( 'Domain must be valid URL' );<br />
                            }<br />
                        });</p>

<p>if ( this.inError() ) {<br />
                    return false;<br />
                }</p>

<p>i m using this in presubmite evevnt but this.inError() execute first before ajax sucess what do ?</p>
]]>
        </description>
    </item>
   </channel>
</rss>
