News for hackers. Stuff that matters.
Re:Sort tables fast with Sortable.js by afschwartz on Tuesday December 03, 2013 @01:17PM (#6842022)
Yea, more-or-less.

Here is a short summary of some of the major changes:

– Tables with `data-sortable` attribute are automatically initialized.

– The sort arrows are made with CSS-border triangles instead of special characters.

– The sort arrows are always present but hidden for non-sorted columns so that columns don't resize when sorting.

– `sorttable_`-prefixed class names are now `data-` attributes, so they are valid HTML5.

– The library doesn't attempt to recognize date formats. Instead, it recommends you add `data-value="#{ timeInMillis }"` to your <td> containing a human-readable date string.

I'm sure there are more that I can't think of at the moment, but that's a decent list.

Re:Sort tables fast with Sortable.js by orware on Tuesday December 03, 2013 @01:45PM (#6842197)
Thanks for the replies guys, one additional question I had which I didn't see directly answered would be the type of browsers it should be compatible with or was tested on? The main page shows some browsers listed but I think that was simply demonstration data to show off the script and wasn't actually showing the versions it was supposed to support.
Re:Sort tables fast with Sortable.js by afschwartz on Tuesday December 03, 2013 @01:57PM (#6842283)
Browser support is listed in the documentation (http://github.hubspot.com/sortable): IE8+, Firefox 4+, Current WebKit (Chrome, Safari), Opera.
Re:Sort tables fast with Sortable.js by orware on Tuesday December 03, 2013 @02:06PM (#6842342)
Great, thanks! The Internet Explorer one was the one I was probably most curious about. I'll have to give it a test go and see if I can go ahead and use it to supplant the older sorttable in my script ;-).