For each input event in a tableFilter widget a message is sent via a shiny
input. After input validation confirmEdit
can be used to give visual feedback
to the user.
confirmEdit(session, tbl, row, col, id, value = NULL, color = "green")
Shiny session object.
Name of the table beeing edited.
Row number as received via edit input.
Column number as received via edit input.
Unique identifier of the edit event, received via the edit input
Value to set text to after confirmation. Can be used to format input.
Transient text colour to indicate success
In edit mode the a tableFilter widget creates a shiny input element. The name
of this input is the name of the corresponding output element followed by
"_edit". For each edit event in the html table this input receives a list
giving a unique ID of the edit event ("id"), the row ("row"), the column
("col") and the new value ("val") of the cell. Row and column numbers are in
R coordinates. If showRowNames
is TRUE
, the column number of
the rownames is 0.