searchList
content type, with two new options for it and a fix.
orthogonal
option for searchList
, which gives the ability to specify an orthogonal type for the labels to show in the list.hidable
option for searchList
when using Ajax options.td
cells in the header if ColumnControl is not used for a table (would only happen if the table was completely empty).searchList
, correctly handle null dataemptyMessage
default is better as "Empty" to indicate that it represents an empty string, rather than there being no data in the table.ConfigResponsiveDetails.renderer
searchList
to not match selected options.form
wraps the table when clicking on ColumnControl buttonssearchList
were not being updated for an Ajax sourced table which doesn't explicitly give the options.aria-label
for buttonsccSearchClear
definable in a language file (columnControl.buttons.searchClear
).fixedheader-mode
is fired when the fixed header / footer changes state.div
wrapper to the header and moving the overflow to it, allowing the floating div
to provide just location.columnControl.list.empty
.ccSearchClear
button to clear search terms, it should only redraw the table once.select
shouldn't have padding in the search logic options.ext.escape.attributes
option which can be used to escape HTML entities in strings read from data-*
options which are used for initialisation configuration.order.listener()
.ajax
is specified as an object with an empty string url
, an error would be thrown unless ajax.dataSrc
was also specified.dt-control
in the header (was apparent in multi-row headers).searchDateTime
(errors in docs and examples)Fix: Improve performance for searchList
searchList
with Ajax data.
searchList
, when Ajax loading data for the table, and with the ajaxOnly
option disabled, would only read the first page of data for the options.ordering
and then overriding with an HTML5 attribute wasn't working in 2.3.dt-left
or dt-head-left
for a numeric or date column should cause the sort icon to be on the right..draw(false)
).stateLoadCallback
.input
element focus in the header / footer.
colReorder.headerRows
option to limit column reordering activation to specific rows in a multi-row header.titleRow
option can be used to tell DataTables which row to use for column titles.
Other improvements include a new ajax.submitAs
option which tells DataTables if data should be submitted to the server as HTTP parameters or JSON.
Furthermore, there are various fixes and performance improvements. See the release notes below for full details.
on
option which can be used to listen for events during the DataTables initialisation.titleRow
option (replaces orderCellsTop
). This provides the ability to make any row in the header the "title" row.ajax.submitAs
option to control if data should be submitted as HTTP parameters (default), or a JSON string. This replaces ajax.data
being used as a function and returning a string (which is still possible, but not recommended and won't work with SearchPanes and others).ordering.handler
option which can be used to enable/disable the default column header click-to-order listener.ordering.indicator
option which can be used to enable/disable the ordering icons in the table's header cells. Both of these options are useful when working with the new ColumnControl extension to allow maximum flexibility of the UI.language.lengthLabels
option, allowing the options in the page length dropdown to be specified by the language options (including a language file).column().name()
and columns().names()
methods. These are useful if you use columns.name
to help identify columns.order.listener()
can now accept an array of columns to apply multi-column ordering to when activated.columnOrder
option for selector-modifier
to give control of column ordering when using columns()
.div
in the cells.titleRow
(or the legacy orderCellsTop
) columns.title
is written to only the title target row.destroy()
method for updated header / footerspan.dt-column-order
to header rows / cells with data-dt-order=disable
.column().search.fixed()
when getting a search that doesn't exist should return null
.thead > tr > td
cells being unstyledlayout
didn't account for functions, nodes or jQuery.selector-modifier
so the strings are explicit in the values they can take.reduce()
and reduceRight()
this
type to callback functionsargs
optional in trigger()
stateLoadCallback
typecolumn-visibility
Options->include()
method has been renamed Options->inc()
for compatibility reasons.
autocomplete
was closing the dropdown before an option could be selected if used in inline mode.datetime
is specified with wireFormat
and you select a date from the picker, then delete it with the keyboard, the selected date would be submitted.Options
instance, don't attempt to read them twice from the db.Mjoin
apply the main JOIN before any left joinsOptions->include()
to Options->inc()
- this is required for PHP 5 compatibility.Database->insert()
to clarify that only insertId
should be used from the return.Options
instance, don't attempt to read them twice from the db.uniqueidentifier
) columns could throw an error when writing out JSON to the client-side.Options.Add(Dictionary)
method which can be used to add options with the same structure as the database result and allows the options to be passed through the rendering function. Adding using the other Options.Add()
overloads will not be passed through the rendering function.Options
instance, don't attempt to read them twice from the db.remove()
the container would be left.bom
parameter for CSV exportcustomizeData
option in export optionsaction
function signature