Listen for table events (init, draw, order, search, page, select, deselect).
Usage
observe_dt2_events(input, id, handler)
Arguments
- input
Shiny input object.
- id
Widget ID.
- handler
Function with signature (event, type, indexes, rowData).
Value
No return value, called for side effects. Sets up a Shiny
observer that calls handler whenever the table emits an event.