| 875 |
lars |
1 |
# KeyTable
|
|
|
2 |
|
|
|
3 |
KeyTable provides Excel like cell navigation on any table. Events (focus, blur, action etc) can be assigned to individual cells, columns, rows or all cells.
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
# Installation
|
|
|
7 |
|
|
|
8 |
To use KeyTable the best way to obtain the software is to use the [DataTables downloader](//datatables.net/download). You can also include the individual files from the [DataTables CDN](//cdn.datatables.net). See the [documentation](http://datatables.net/extensions/keytable/) for full details.
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
# Basic usage
|
|
|
12 |
|
|
|
13 |
FixedHeader is initialised using the `keys` option in the DataTables constructor - a simple boolean `true` will enable the feature. Further options can be specified using this option as an object - see the documentation for details.
|
|
|
14 |
|
|
|
15 |
```js
|
|
|
16 |
$(document).ready( function () {
|
|
|
17 |
$('#myTable').DataTable( {
|
|
|
18 |
keys: true
|
|
|
19 |
} );
|
|
|
20 |
} );
|
|
|
21 |
```
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
# Documentation / support
|
|
|
25 |
|
|
|
26 |
* [Documentation](https://datatables.net/extensions/fixedheader/)
|
|
|
27 |
* [DataTables support forums](http://datatables.net/forums)
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
# GitHub
|
|
|
31 |
|
|
|
32 |
If you fancy getting involved with the development of KeyTable and help make it better, please refer to its [GitHub repo](https://github.com/DataTables/KeyTable).
|
|
|
33 |
|