NEW FEATURES
-
Add a new plugin accent-neutralise, which can be used for searching accented characters with their unaccented counterparts. Note, it will only work in the client-side processing mode (#822).
-
addRow()now has a new parameterresetPaging. By setting it toFALSE, we can keep the paging position after adding a row (thanks, @stanstrup, #853).
MINOR CHANGES
-
Upgrade the SearchPanes extension to v1.1.1 so that it can display all the entries properly with the Scroller extension (thanks, @JonasMandel @stla, #820).
-
The
classargument now keeps user-defined classes with bootstrap themes (thanks, @mmuurr, #806). -
Now DT will throw a clear error message if the value of
searchprovided indatatables(..., options=)is illegal (thanks, @realHenningLorenzen, #848).
BUG FIXES
-
Fix the issue that the sorting results may not be expected after formatting functions applied. This is a regression of PR #777 (thanks, @fernandofernandezgonzalez @shrektan, #837).
-
styleColorBar()now displays correctly on Safari, when the data is greater than the upper limit, due to negative css percentage values (thanks, @Seyphaton, #843).
Assets
2
BUG FIXES
Assets
2
NEW FEATURES
-
Now the user is able to control the selection range by
datatable(..., selection = list(selectable = 3:5)), where positive and non-positiveselectablemeans "enable" and "disable", respectively (thanks, @tomasreigl @shrektan, #201 #793). -
Added a function
styleValue()to use column values as CSS values. When the user has a complex CSS rule to apply, storing the CSS values in the columns of the table and call this function is very convenient (thanks, @Mosk915 @shrektan, #801 #802). -
Clicking on a row or cell now always triggers a reactive event in Shiny (
input$tableId_row_last_clickedorinput$tableId_cell_clicked), even if the same row or cell is clicked multiple times (thanks @gadenbuie, #811).
BUG FIXES
-
Fix the issue that formatting functions don't support vectorized arguments any longer. This was a regression of PR #777 (thanks, @pbreheny @shrektan, #790).
-
Fix the issue that
styleEqual()incorrectly uses the column values as the default css values. This was a regression of PR #702 (thanks, @Chr96er @shrektan, #799)
MINOR CHANGES
-
The formatting functions now throw clearer error messages when called on non-datatables objects (thanks, @shrektan, #785).
-
Now the
serverargument inrenderDT()is reactive in Shiny (thanks, @shrektan, #794). -
Incorrect
selectionparam now triggers a clear error message on the R side (thanks, @shrektan, #795).
Assets
2
BUG FIXES
-
Fix a bug that on Windows, rmarkdown can't render a file that contains DT with PDF download button enabled (thanks, @mfherman @shrektan, #774)
-
The formatting function will no longer throw errors for non-existing columns (thanks, @philibe @shrektan, #623).
-
Fix a bug that
renderDT()doesn't react to...arguments (thanks, @AlfTang @shrektan, #152). -
Now DT will always display black text in the RStudio IDE, even under a dark theme like "Cobalt" (thanks, @GegznaV @shrektan, #447 #767).
-
Fix the issue that DT doesn't look well in pkgdown (thanks, @jayhesselberth @shrektan, #563).
NEW FEATURES
Assets
2
NEW FEATURES
-
Support the Select extension on the client-side processing mode (thanks, @shrektan, #744).
-
Support features/scrollResize plug-in (thanks, @andrewkho @shrektan, #467 #754).
-
Upgrade DataTables to 1.10.20 and support the new datatables extension SearchPanes (thanks, @shrektan, #756).
BUG FIXES
-
The server no longer throws warnings when conducting searching (thanks, @bquast @shrektan, #749).
-
Fix a bug that the row generated by the RowGroup extension can't be used as the selector of the DataTables' callback event handlers (thanks, @wiktorowczarz @shrektan, #759).
-
Fix a bug that
addRow()can't add adata.tablerow to the proxy (thanks, @sifodia @shrektan, #760 #761). -
Now DT displays the column alignment and the selection style correctly under the bootstrap4 theme (thanks, @pjvandam @shrektan, #601 #765).
Assets
2
NEW FEATURES
- Support pagination plug-ins (#734).
BUG FIXES
-
Highlighting when searching with regex (i.e., using
options = list(searchHighlight = TRUE, search = list(regex = TRUE))for the table) works now (thanks, @lrasmus, #719). -
Updated the AutoFill extension (thanks, @stla @shrektan, #711).
MINOR CHANGES
-
In the server-side processing mode, filters now use Perl-compatible regular expressions (regexps), such as for lookround and negating assertions, see
help(regex)or https://perldoc.perl.org/perlre.html. This may be most useful in columns (DT::renderDataTable(filter = list(position = "top"), options = list(search = list(regex = TRUE))), but also works in the global search (thanks, @rfhb, #727). -
For a factor column, the choices of the filter now use the factor levels (#728).
Assets
2
BUG FIXES
Assets
2
NEW FEATURES
formatStyle()withstyleEqual()is now chainable by default (thanks, @e-kennedy #632).
BUG FIXES
-
Fix the issue that the first column can't be disabled from editing (thanks, @tsolloway #669, @haozhu233 #694).
-
Fix the issue that the filter boxes are not anchored to the corresponding value columns when there are many columns (thanks, @philibe, #554).
-
Column selection now works in
row+columnselection mode, when one ofscrollXorscrollYis enabled (thanks, @akarslan #705).
MINOR CHANGES
- Upgraded DataTables from 1.10.16 to 1.10.19.
Assets
2
BUG FIXES
-
For
datatable(),options$buttonsnow works as expected when providing a scalar string or a boolean value (thanks, @shrektan, #685 #658). -
Fix the issue that when parameters of the
formatXXX()functions contain single quotes, they may lead to incorrect JavaScript code due to failing to escape the single quotes (thanks, @shrektan #683 #666, @lorenzwalthert #667).
Assets
2
BUG FIXES
- Bulk table editing doesn't work for the client-side processing mode without Shiny (e.g. a DataTable on a static HTML page).