Live data from Hacker News

DataTables – Table plug-in for jQuery

datatables.net

1–10 of 59 posts

Re: DataTables – Table plug-in for jQuery

#4
While I have found DataTables to be useful in the past, there are (thankfully) many other alternatives available today with a much saner API.

DataTables might have the worst API I've ever seen in a Javascript library. Powerful, yes, but it has the most insane naming conventions I've ever seen. To this day I do not understand why so many properties are prefixed with random letters.

There was a time when there wasn't anything else out there that was even close to as good, though.

Re: DataTables – Table plug-in for jQuery

#5

While I have found DataTables to be useful in the past, there are (thankfully) many other alternatives available today with a much saner API. DataTables might have the worst API I've ever seen in a Javascript library. Powerful, yes, but it has the most insane naming conventions I've ever seen. To this day I do not understand why so many properties are prefixed with random letters. There was a time when there wasn't a…

I agree with your sentiment. I found datatables initially easy to set up and use, but I soon found the documentation to be sorely lacking. Searches for the most basic customizations led to SO answers outlining ugly workarounds when all I really needed to know was the name of the right flag.

The examples on the site aren't general or plentiful enough, and they assume more prior knowledge of the plugin than would seem reasonable. I couldn't even find a list of initialization options anywhere.

Re: DataTables – Table plug-in for jQuery

#6

While I have found DataTables to be useful in the past, there are (thankfully) many other alternatives available today with a much saner API. DataTables might have the worst API I've ever seen in a Javascript library. Powerful, yes, but it has the most insane naming conventions I've ever seen. To this day I do not understand why so many properties are prefixed with random letters. There was a time when there wasn't a…

Alternatives such as? They use Hungarian Notation[0]; not random, but dated.

[0] http://en.wikipedia.org/wiki/Hungarian_notation

Re: DataTables – Table plug-in for jQuery

#8

While I have found DataTables to be useful in the past, there are (thankfully) many other alternatives available today with a much saner API. DataTables might have the worst API I've ever seen in a Javascript library. Powerful, yes, but it has the most insane naming conventions I've ever seen. To this day I do not understand why so many properties are prefixed with random letters. There was a time when there wasn't a…

What alternatives have you found to be better? I'd be interested in checking them out.

Re: DataTables – Table plug-in for jQuery

#9

While I have found DataTables to be useful in the past, there are (thankfully) many other alternatives available today with a much saner API. DataTables might have the worst API I've ever seen in a Javascript library. Powerful, yes, but it has the most insane naming conventions I've ever seen. To this day I do not understand why so many properties are prefixed with random letters. There was a time when there wasn't a…

Can you name a few of the alternatives you found? The ability to sort on more than one column ruled out a lot of them for us.

Re: DataTables – Table plug-in for jQuery

#10

While I have found DataTables to be useful in the past, there are (thankfully) many other alternatives available today with a much saner API. DataTables might have the worst API I've ever seen in a Javascript library. Powerful, yes, but it has the most insane naming conventions I've ever seen. To this day I do not understand why so many properties are prefixed with random letters. There was a time when there wasn't a…

Can you name a few of the alternatives you found? The ability to sort on more than one column ruled out a lot of them for us.

https://github.com/Mottie/tablesorter has multiple sorting using the shift key. I alternate between this and DataTables. The hungarian notation threw me off at first too. Far from insane though.
Post reply on HN