Migrating from 4.x to 5.x?
Last updated
Was this helpful?
Last updated
Was this helpful?
Cell merge support, using rowspan
and colspan
html attributes on table. , , , ,
xlsx
has replaced xls
as the default spreadsheet format.
Two(2) new export formats have been added: xlsm
and xlsb
.
Both csv
and xls
formats now have a the enforceStrictRFC4180
property set to false
.
getFileSize
utility method to quickly of a file export.
getBinaryData
renamed to a more semantically correct getRawData
can now accept either a selector
(e.g. '.tableexport-ignore'
) or selector[]
(e.g. ['.tableexport-ignore', '#ignore']
).
can now accept either a selector
(e.g. '.tableexport-empty'
) or selector[]
(e.g. ['.tableexport-empty', '#empty']
).
defaultCaptionClass
class is now configurable rather than statically set to the .tableexport-caption
class.
storageKey
attribute is now configurable rather than statically set to the tableexport-id
attribute.
defaultNamespace
string is now configurable rather than statically set to the te-
string.
types
renamed to typeConfig
.
xlsx
, xls
, csv
, and txt
prototype properties moved to nested under the formatConfig
namespace.
Improved error logging to the console, including more verbose error descriptions.
Serialized export data is now stored in Session Storage rather than Local Storage to prevent undesirable persistence.
Implement caching by maintaining unique reference to tables by id
. The tableKey
attribute is now used to uniquely identify table elements and hold either the table's id
or a UUID generated from the defaultNamespace
and a unique internal counter. ,