v0.4.0
v0.4.0
Updated Metadata plugin with cleaner API, extracted filtering functions into their own separate plugin datatables-improved-filters
New API calls:
Metadata
Store column specific metadata in the datatable. This is used by the filtering functions below, but can also be used to store arbitrary data related to the column as required. This data is state saved if state saving is enabled.
.column().meta()
// retrieve meta information for a column.column().meta(key)
// retrieve meta information for a column, under the keykey
.column().meta.replace(data)
// set the entire column meta to the object passed in asdata
.column().meta.clear()
// remove all metadata for this column.column().meta.set(key, data)
// set thekey
property in the column metadata object todata
.column().meta.merge(key, data)
// merge thekey
property in the column metadata object with the object passed in todata
.column().meta.remove(key)
// remove all metadata underkey