Chi siamo 2

History:
0.8 – first version that actually works on windows and has most of the needed features
0.8a – changed the behaviour of sorting:
– axis=”string” now defaults to case insensitive smartcompare that puts 10 after 9, not after 1
– no axis does normal compare (broken in 0.8)
– axis=”sstring” added – does smartcompare case sensitively
0.8b – corrected a weird error that broke some sorts in ie6
– added the possibility for a nonsortable column via class=”nosort” on the th cell
– added the possibility to ‘regroup’ tbody elements if there’s more than one (for whatever reason)
– added additional hook to put your custom javascript on (onsort)
0.8c – added additional hook to put your custom javascript on (onmove)
0.8d – added the option to allow only single line selects
– corrected compare so that only strings enter compareSmart (error when trying to do split on a DOMElement)
– changed parseInt to parseFloat for axis=number when sorting
– changed compare – title now always overrides the value
– added onselect that happens after onbodyclick
0.8e – corrected a bunch of small issues noticed while writing the documentation
– added return true to selectRange (when it’s actually a range)
– corrected prepHeader (callbacks on hover were broken)
– removed redundant s_table variable from prepBody
– moved onselect to the select method
– added ondeselect
– changed parameters to onsort and onmove
– corrected a few sorting bugs
– on axis=number NaN is now changed to Infinity to place nonnumeric values at the end
– in smartcompare numbers go before text
– corrected an error in the removeBeforeSort code (no nextSibling broke it)
– added checking in prep so it cannot be done twice
– added the option to disallow deselect
0.8f – a quick closure optimization of sort to shave a lot of overhead out of the compare function
*/

// — YOU CAN DELETE THIS PART ON PRODUCTION VERSIONS —


Pubblicato

in

da

Tag: