Excel Table Keyboard Navigation jQuery Tablenav - Free Download Excel-like Interactive Table With Keyboard Navigation - Tablenav

Free Download Excel-like Interactive Table With Keyboard Navigation – Tablenav

Posted on

This time I will share jQuery Plugin and tutorial about Excel-like Interactive Table With Keyboard Navigation – Tablenav, hope it will help you in programming stack.

Excel Table Keyboard Navigation jQuery Tablenav - Free Download Excel-like Interactive Table With Keyboard Navigation - Tablenav
File Size: 13.5 KB
Views Total: 7832
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

tablenav is a very small jQuery plugin for creating spreadsheet-like data table with input fields and keyboard navigation support just like the Microsoft Excel.

How to use it:

1. Create a regular html table with or without input fields:

01 <table class="table" id="demo">
02   <thead>
03     <tr>
04       <th>&nbsp;</th>
05       <th>&nbsp;</th>
06       <th>&nbsp;</th>
07     </tr>
08   </thead>
09   <tbody>
10     <tr>
11       <td><input type="text" /></td>
12       <td><input type="text" /></td>
13       <td><input type="text" /></td>
14     </tr>
15     <tr>
16       <td><input type="text" /></td>
17       <td><input type="text" /></td>
18       <td><input type="text" /></td>
19     </tr>
20   </tbody>
21 </table>

2. Include jQuery JavaScript library and the JavaScript file jquery.tablenav.js at the bottom of the webpage.

1 <script src="//code.jquery.com/jquery.min.js"></script>
2 <script src="jquery.tablenav.js"></script>

3. Call the function on the html table and activate the input fields.

1 $("#demo").tablenav({
2   input:true
3 })

4. Add a custom background color to the table celled when selected.

1 $("#demo").tablenav({
2   input:true,
3   background:'#89AAE6'
4 })

5. More config options with default values.

1 $("#demo").tablenav({
2  
3   // z-index property
4   zindex:12,
5  
6   // default CSS class
7   class:'<a href="https://www.jqueryscript.net/tags.php?/grid/">grid</a>-table-clicked',
8    
9 })

Changelog:

2019-11-16

2018-10-28

  • Imporved performance

2018-02-06

  • JS Update

About Author:

Author: Naveen DA

Website: https://naveenda.github.io/tablenav/


This awesome jQuery plugin is developed by NaveenDA. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net