Live data from Hacker News

DataTables – Table plug-in for jQuery

datatables.net

21–30 of 59 posts

Re: DataTables – Table plug-in for jQuery

#23
Paid support is excellent. I use DataTables in some client projects, and wanted to speed up my use of it.

I paid for support and had the author's full attention the same morning. Works like a charm.

Re: DataTables – Table plug-in for jQuery

#24
post #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.

We finally ended up picking http://dgrid.io/ over SlickGrid and jqGrid. As with every table component, there are some quirks, but we're really happy with it. Feels like the most modern table component to us.

Re: DataTables – Table plug-in for jQuery

#26
Hell yeah, I used DataTables in my iTunes in the browser clone. [0] But it's not super new, not sure why it's up here. It also isn't the greatest for responsive design. That said, it's still great, and my favorite feature is search.

[0] https://github.com/nickdesaulniers/audiostream

Re: DataTables – Table plug-in for jQuery

#29

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

Interestingly enough, this is exactly what we have been working the past week at the office :) but our solutions are more general (not fixed for a table) because we need the pagination feature for many different controls

Re: DataTables – Table plug-in for jQuery

#30

Earlier quoted context omitted.

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.

Here's an example of what you have to do in datatables to get the elements displayed around the table itself styled (such as a search bar, pagination, or table meta information) https://datatables.net/release-datatables/examples/basic_ini... So, in order to adjust the styling of DOM elements around the datatable, you need to understand a very specialized form of syntax that one particular property that controls all D…

I don't find this a problem at all. What's indeed a problem is that it enforces a wrapper div that you cannot control using this syntax. Furthermore, plugins such as ColVis tend to be inflexible due to that wrapper.
Post reply on HN