% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dt2_shiny.R
\name{observe_dt2_events}
\alias{observe_dt2_events}
\title{Observe DataTables events published by dt2.js}
\usage{
observe_dt2_events(input, id, handler)
}
\arguments{
\item{input}{Shiny input object.}

\item{id}{Widget ID.}

\item{handler}{Function with signature \verb{(event, type, indexes, rowData)}.}
}
\value{
No return value, called for side effects. Sets up a Shiny
observer that calls \code{handler} whenever the table emits an event.
}
\description{
Listen for table events (init, draw, order, search, page, select, deselect).
}
