Migrating from 4.x to 5.x?
Changelog
Major Features
Cell merge support, using
rowspan
andcolspan
html attributes on table. v5.0.0-rc.1, v5.0.0-rc.3, v5.0.0-rc.6, v5.0.0-rc.8, v5.0.0-rc.9
Properties
xlsx
has replacedxls
as the default spreadsheet format. v5.0.0-rc.2
Two(2) new export formats have been added:
xlsm
andxlsb
. v5.0.0-rc.4Both
csv
andxls
formats now have a theenforceStrictRFC4180
property set tofalse
. v5.0.0-rc.4
Methods
getFileSize
utility method to quickly calculate the filesize of a file export. v5.0.0-rc.1getBinaryData
renamed to a more semantically correctgetRawData
Settings
ignoreCSS
can now accept either aselector
(e.g.'.tableexport-ignore'
) orselector[]
(e.g.['.tableexport-ignore', '#ignore']
). v5.0.0-rc.7
emptyCSS
can now accept either aselector
(e.g.'.tableexport-empty'
) orselector[]
(e.g.['.tableexport-empty', '#empty']
). v5.0.0-rc.7
defaultCaptionClass
class is now configurable rather than statically set to the.tableexport-caption
class. v5.0.0-rc.10
storageKey
attribute is now configurable rather than statically set to thetableexport-id
attribute. v5.0.0-rc.10
defaultNamespace
string is now configurable rather than statically set to thete-
string. v5.0.0-rc.10
types
renamed totypeConfig
. v5.0.0-rc.1xlsx
,xls
,csv
, andtxt
prototype properties moved to nested under theformatConfig
namespace. v5.0.0-rc.1
Miscellaneous
Improved error logging to the console, including more verbose error descriptions. v5.0.0-rc.4
Serialized export data is now stored in Session Storage rather than Local Storage to prevent undesirable persistence. v5.0.0-rc.10
Implement caching by maintaining unique reference to tables by
id
. ThetableKey
attribute is now used to uniquely identify table elements and hold either the table'sid
or a UUID generated from thedefaultNamespace
and a unique internal counter. v5.0.0-rc.10, v5.0.0-rc.11
Last updated