Learn R Programming

DT (version 0.29)

replaceData: Replace data in an existing table

Description

Replace the data object of a table output and avoid regenerating the full table, in which case the state of the current table will be preserved (sorting, filtering, and pagination) and applied to the table with new data.

Usage

replaceData(proxy, data, ..., resetPaging = TRUE, clearSelection = "all")

updateFilters(proxy, data)

Arguments

proxy

a proxy object created by dataTableProxy()

data

the new data object to be loaded in the table

...

other arguments to be passed to dataTableAjax()

resetPaging, clearSelection

passed to reloadData()