# Laravel DataTables Html Plugin.
[](https://packagist.org/packages/yajra/laravel-datatables-html)
[](https://packagist.org/packages/yajra/laravel-datatables-html)
[](https://travis-ci.org/yajra/laravel-datatables-html)
[](https://packagist.org/packages/yajra/laravel-datatables-html)
[](https://packagist.org/packages/yajra/laravel-datatables-html)
## CHANGELOG
### v3.13.1 - 07-03-2020
- Fixed @return types, allowing for better type hinting when the Column class is extended [#118]
### v3.13.0 - 11-10-2018
- Add missing visible option setter. [#83]
- Add new fields, fix dateTime field format. [#84]
#### Changed
- Fix field and column computed title.
From `created_at` with title `Created_At`
To `created_at` with title `Created At`
#### Fixed
- Fix DateTime field.
- Set format to `YYYY-MM-DD hh:mm a`.
- Add `military()` setter to set the time to military format.
#### Added New Fields
- Boolean
- Date
- Time
- Text
- Number
### v3.12.7 - 11-03-2018
- Add checker if className is not yet set when adding class.
### v3.12.6 - 11-03-2018
- Fix setting of title.
- Add title option for checkbox column.
### v3.12.5 - 11-03-2018
- Add name arg for computed column.
### v3.12.4 - 11-03-2018
- Fix options: Use 1 and 0 for true or false.
### v3.12.3 - Skipped (My Bad)
### v3.12.2 - 11-03-2018
- Add missing field options setter and add docs link.
### v3.12.1 - 11-03-2018
- Add to method to append a class to the field.
### v3.12.0 - 11-03-2018
- Add editor options collection builder. [#80]
### v3.11.0 - 11-02-2018
- Add option to prepend action column. [#77]
- Enhance column fluent builder. [#78]
### v3.10.0 - 11-02-2018
- Add support for DataTables Editor script generation. [#73]
- Fix script template config key `datatables-html.script`.
- Add method to `getAjaxUrl()`.
### v3.9.0 - 11-02-2018
- Add support for [built-in render helpers](https://datatables.net/manual/data/renderers#Built-in-helpers). [#71], credits to @Razoxane.
### v3.8.1 - 10-30-2018
- Fix the default name of index column to follow DT syntax. [#69], credits to @jaydons.
- Fix missing periods. [#70], credits to @jaydons.
### v3.8.0 - 09-05-2018
- Add support for Laravel 5.7
### v3.7.2 - 07-06-2018
- Fix callback check on empty values. [#62] Credits to @apreiml.
### v3.7.1 - 03-16-2018
- Add parameter in addCheckbox to prepend or append the checkbox column [#55], credits to @karmendra
### v3.7.0 - 02-21-2018
- Adding ajaxParameters to minifiedAjax [#57], credits to @lk77
- Fixes the issue with the missing name attribute default mentioned in [#58]. PR [#59], credits to @Namoshek
### v3.6.0 - 02-11-2018
- Add support for Laravel 5.6. [#56]
### v3.5.2 - 01-11-2018
- Moving callback condition to config [#54], credits to @lk77.
### v3.5.1 - 12-27-2017
- Allow jQuery functions callback. [#52], credits to @OzanKurt.
### v3.5.0 - 12-24-2017
- Improve handling of function callbacks and better editor support. [#49]
### v3.4.0 - 12-18-2017
- Implement buttons support for editor. [#47]
### v3.3.0 - 12-15-2017
- Add postAjax() to Html Builder [#45], credits to @ElfSundae.
- Fix https://github.com/yajra/laravel-datatables-html/pull/13#issuecomment-337947000.
### v3.2.1 - 10-18-2017
- Fix HtmlServiceProvider. [#38], credits to @ElfSundae.
- Fix changelog PR links. [#39]
### v3.2.0 - 10-13-2017
- Review tableAttributes getter and setter [#31]
- Fix CS. [#36]
- Add setTableId() to Html Builder [#35].
- Add addTableClass, removeTableClass to Html Builder [#37]
- All changes credits to @ElfSundae.
### v3.1.0 - 09-14-2017
- Added generateJson to Html/Builder [#29], credits to @lk77.
### v3.0.3 - 09-12-2017
- Fix column attributes removed when generate script. [#28], credits to @as247.
- Fix https://github.com/yajra/laravel-datatables/issues/1380.
### v3.0.2 - 09-09-2017
- Fix Request class doc blocks.
- Fix typo Datatables to DataTables.
### v3.0.1 - 09-09-2017
- Add fnServerParams to validCallbacks [#26]. Credits to @cracki.
### v3.0.0 - 08-31-2017
- v3.0 stable release.
### v2.0.6 - 07-29-2017
- Adding type GET to minifiedAjax in Html/Builder [#21], credits to @lk77.
### v2.0.5 - 06-29-2017
- Fix fetching of default table id from config. [#19]
### v2.0.4 - 06-29-2017
- Fix missing semi-colon.
### v2.0.3 - 06-29-2017
- Script cleanup [#18]
- Clean up extra space and floating ; on generated ajax data script.
- Do not include attributes on generated column scripts.
### v2.0.2 - 06-29-2017
- Fix parsing of column functions. [#17]
### v2.0.1 - 06-29-2017
- Fix parsing of ajax data where function is rendered as string. [#16]
### v2.0.0 - 06-28-2017
- Add support for Laravel 5.5
- Removed unused classes on constructor.
- UrlGenerator
- FormBuilder
- Fix addCheckbox.
- Use HtmlString when generating table and scripts markup.
- Make default table attributes configurable. Fix [#3]
- Use PHPUNIT 6.x, update tests.
- Add macroable trait for builder extension via macro calls.
### v1.4.1 - 06-26-2017
- Set default ajax url to empty string.
### v1.4.0 - 06-26-2017
- Add minifiedAjax method to minify url generated when using get request. [#13]
- Fixes `php artisan serve` and IE issues on long URL.
- Related Issues:
yajra/laravel-datatables#1225
yajra/laravel-datatables#1205
yajra/laravel-datatables#826
yajra/laravel-datatables#671
etc...
### v1.3.0 - 06-24-2017
- Adding addBefore and addColumnBefore in Builder.
- PR [#12], credits to @lk77.
### v1.2.0 - 03-28-2017
- Add method to remove column by names. [#9]
### v1.1.1 - 03-28-2017
- Fix columns setter. [#8]
### v1.1.0 - 02-03-2017
- Configurable header attributes. [#4]
- Credits to @alfa6661.
### v1.0.0 - 01-27-2017
- First release.
[#4]: https://github.com/yajra/laravel-datatables-html/pull/4
[#8]: https://github.com/yajra/laravel-datatables-html/pull/8
[#9]: https://github.com/yajra/laravel-datatables-html/pull/9
[#12]: https://github.com/yajra/laravel-datatables-html/pull/12
[#13]: https://github.com/yajra/laravel-datatables-html/pull/13
[#16]: https://github.com/yajra/laravel-datatables-html/pull/16
[#17]: https://github.com/yajra/laravel-datatables-html/pull/17
[#18]: https://github.com/yajra/laravel-datatables-html/pull/18
[#19]: https://github.com/yajra/laravel-datatables-html/pull/19
[#21]: https://github.com/yajra/laravel-datatables-html/pull/21
[#26]: https://github.com/yajra/laravel-datatables-html/pull/26
[#28]: https://github.com/yajra/laravel-datatables-html/pull/28
[#29]: https://github.com/yajra/laravel-datatables-html/pull/29
[#31]: https://github.com/yajra/laravel-datatables-html/pull/31
[#35]: https://github.com/yajra/laravel-datatables-html/pull/35
[#36]: https://github.com/yajra/laravel-datatables-html/pull/36
[#37]: https://github.com/yajra/laravel-datatables-html/pull/37
[#38]: https://github.com/yajra/laravel-datatables-html/pull/38
[#39]: https://github.com/yajra/laravel-datatables-html/pull/39
[#47]: https://github.com/yajra/laravel-datatables-html/pull/47
[#49]: https://github.com/yajra/laravel-datatables-html/pull/49
[#52]: https://github.com/yajra/laravel-datatables-html/pull/52
[#54]: https://github.com/yajra/laravel-datatables-html/pull/54
[#56]: https://github.com/yajra/laravel-datatables-html/pull/56
[#57]: https://github.com/yajra/laravel-datatables-html/pull/57
[#59]: https://github.com/yajra/laravel-datatables-html/pull/59
[#55]: https://github.com/yajra/laravel-datatables-html/pull/55
[#62]: https://github.com/yajra/laravel-datatables-html/pull/62
[#69]: https://github.com/yajra/laravel-datatables-html/pull/69
[#70]: https://github.com/yajra/laravel-datatables-html/pull/70
[#71]: https://github.com/yajra/laravel-datatables-html/pull/71
[#73]: https://github.com/yajra/laravel-datatables-html/pull/73
[#77]: https://github.com/yajra/laravel-datatables-html/pull/77
[#78]: https://github.com/yajra/laravel-datatables-html/pull/78
[#80]: https://github.com/yajra/laravel-datatables-html/pull/80
[#83]: https://github.com/yajra/laravel-datatables-html/pull/83
[#84]: https://github.com/yajra/laravel-datatables-html/pull/84
[#118]: https://github.com/yajra/laravel-datatables-html/pull/118
[#3]: https://github.com/yajra/laravel-datatables-html/issues/3
[#58]: https://github.com/yajra/laravel-datatables-html/issues/58