Integration with Cross Talk

Crosstalk Support

Crosstalk is an add-on to the htmlwidgets package. It extends htmlwidgets with a set of classes, functions, and conventions for implementing cross-widget interactions (currently, linked brushing and filtering). (http://rstudio.github.io/crosstalk/index.html)

RagGrid supports crosstalk. Please see the example below which uses leaflet package. You can use any widget which supports crosstalk.

library(crosstalk)
library(leaflet)
library(RagGrid)

# Wrap data frame in SharedData
sd <- SharedData$new(quakes[sample(nrow(quakes), 100),])

# Use SharedData like a dataframe with Crosstalk-enabled widgets
bscols(
  leaflet(sd) %>% addTiles() %>% addMarkers(),
  aggrid(sd)
)