Update the selection in an interactive gt table rendered using
render_gt(). The table must be interactive and have selection enabled (see
opt_interactive()).
Usage
gt_update_select(outputId, rows, session = shiny::getDefaultReactiveDomain())Arguments
- outputId
Shiny output ID
scalar<character>// requiredThe id of the
gt_output()element to update.- rows
Row indices
<integer>// requiredThe id of the
gt_output()element to update.- session
Shiny session
scalar<ShinySession>// requiredThe session in which the
gt_output()element can be found. You almost certainly want to leave this as the default value.