Closed danielocdh closed 9 years ago
Thanks @danielocdh. We elected to go the route of allowing both types to be customized and specified directly by a data-
attribute on the th
. Hopefully this should solve your issue as well as the many other issues people have had with types. An update to the docs will be coming shortly, but in the meantime, please check out https://github.com/HubSpot/sortable/commit/cab1613b721e7a7512417ded8fb62d163c647777 for more information. Thanks again!
This probably has to do with how browsers are parsing text from dates, for example on chrome Date.parse('something 1'); returns the same as Date.parse(1);
Even if you fix this, maybe it would be nice to have a way to override the column type, so we can override the type of data we want on the columns. An idea, replace "type" declaration on setupClickableTH for this: