SearchPanes 2.3.0

DataTables CDN files for SearchPanes 2.3.0. This software was originally released on 15th February, 2024.

Release notes

This minor release of SearchPanes bring full compatibility with DataTables, while also focusing on addressing a number of issues. It also brings the documentation and examples up to par with the DataTables standard.

SearchPanes 2.3+ is compatible with both DataTables 1 and 2.

New

  • Support for DataTables 2
  • delayInit option for searchPanes button to give control over whether SearchPanes starts up immediately with the table or not.

Updates

  • Custom options can now have an order property to define the order that the options will appear in the table.

Fixes

  • "Clear all" button wasn't clearing pane filters if there were no selections
  • Triggering a search on a page after the first of the main table, could result in incorrect paging
  • Improved styling for search disabled option
  • Remove table-layout: fixed from CSS for pane tables
  • Table width wasn't updating automatically on page resize
  • ESLint errors - no behavioral change
  • Address memory leak with event handlers not being removed
  • Activating a search on a pane should reset the paging of the host table. Otherwise it was possible to end up when incorrect paging.
  • SearchPane tables which have Ajax loaded language information were unclickable as the events weren't being added at the right point.
  • When sending Ajax parameters, the SSP scripts expect the _null array to be the same length as the standard values one.
  • Handle null values for state loading
  • Bootstrap 5.3 has a variable for table background that we should use in the pane

Types

  • new constructor returns instance, not void
  • Plug-in was on the wrong DataTables host object (type)

Docs

  • Split the options and features for DataTables 2
  • Updates to use layout for DataTables 2
  • Consistent code style for examples

Examples

  • All examples now have Vanilla-JS counterparts to the jQuery initialisation
  • Inline Select checkbox updated to use the Select 2 renderer

Files