Readme.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # AutoFill
  2. 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. Key features include:
  3. * Click and drag cell content insertion
  4. * Automatic incrementing of numeric information
  5. * Enable and disable on any column
  6. * Detailed callback functions for customisation
  7. * Support for both DataTables and browser window scrolling
  8. # Installation
  9. To use AutoFill, first download DataTables ( http://datatables.net/download ) and place the unzipped AutoFill package into a `extensions` directory in the DataTables package. This will allow the pages in the examples to operate correctly. To see the examples running, open the `examples` directory in your web-browser.
  10. # Basic usage
  11. AutoFill is initialised using the `$.fn.dataTable.AutoFill` constructor. For example:
  12. ```js
  13. $(document).ready( function () {
  14. var table = $('#example').dataTable();
  15. new $.fn.dataTable.AutoFill( table );
  16. } );
  17. ```
  18. # Documentation / support
  19. * Documentation: http://datatables.net/extensions/autofill/
  20. * DataTables support forums: http://datatables.net/forums
  21. # GitHub
  22. 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