DataTablesSrc
DataTablesSrc copied to clipboard
Display a more relevant error when no column headers are present
Before: http://plnkr.co/edit/mov49plvZ1LcEXti1fsx?p=preview
Notice the fairly cryptic "Uncaught TypeError: Cannot read property..." javascript error.
After: http://plnkr.co/edit/nOWFB4DjpYCdXkUdwpiF?p=preview
It was a hard decision, but I'm fine if these three lines get released under the MIT license.
Yup - good point. I'm actually working on a rewrite of the column handling at the moment, so I'm not going to pull it in right away, but I'll do so when I've got the rest of my tree sorted out.