| 875 |
lars |
1 |
# AutoFill
|
|
|
2 |
|
|
|
3 |
AutoFill gives an Excel like option to a DataTable to click and drag over multiple cells, filling in information over the selected cells and incrementing numbers as needed.
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
# Installation
|
|
|
7 |
|
|
|
8 |
To use AutoFill 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/autofill/) for full details.
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
# Basic usage
|
|
|
12 |
|
|
|
13 |
AutoFill is initialised using the `autoFill` option in the DataTables constructor. Further options can be specified using this option as an object - see the documentation for details. For example:
|
|
|
14 |
|
|
|
15 |
```js
|
|
|
16 |
$(document).ready( function () {
|
|
|
17 |
$('#example').DataTable( {
|
|
|
18 |
autoFill: true
|
|
|
19 |
} );
|
|
|
20 |
} );
|
|
|
21 |
```
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
# Documentation / support
|
|
|
25 |
|
|
|
26 |
* [Documentation](https://datatables.net/extensions/autofill/)
|
|
|
27 |
* [DataTables support forums](http://datatables.net/forums)
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
# GitHub
|
|
|
31 |
|
|
|
32 |
If you fancy getting involved with the development of AutoFill and help make it better, please refer to its [GitHub repo](https://github.com/DataTables/AutoFill)
|
|
|
33 |
|