excelTable(
data = df,
editable = TRUE,
wordWrap = TRUE,
autoWidth = TRUE,
autoFill = FALSE,
lazyLoading = TRUE,
loadingSpin = TRUE,
getSelectedData = FALSE,
columnSorting = FALSE,
columnResize = FALSE,
rowResize = FALSE,
columnDrag = FALSE,
rowDrag = FALSE,
allowInsertRow = FALSE,
allowInsertColumn = FALSE,
allowDeleteRow = FALSE,
allowDeleteColumn = FALSE,
allowRenameColumn = FALSE,
allowComments = FALSE,
columns = columns_df,
# ...
tableOverflow = TRUE,
contextMenu = FALSE,
defaultColAlign = 'left',
onchange = htmlwidgets::JS(onchange)
)
Dear Swechhya,
Can we use the
onchangeevent?I tried the following, but nothing happens when I change the table value.
onchange <- "function(instance, cell, x, y, value) {
alert('test');
}"