node-datatable
node-datatable copied to clipboard
Fix(order&search): accept column options as boolean
This PR fixes https://github.com/jpravetz/node-datatable/issues/19
It accepts column.orderable
and column.searchable
options as booleans (as passed by DataTables in the requestQuery
), instead of expecting only a string value.
See it in action: https://plnkr.co/edit/t8tUOqHQjGZFhO1ePXHS?p=preview