のように onclick イベントを追加して内部ステートをアップデートするようにします! checkboxRenderer = JsCode( """ function(params) { var input = document.createElement('input'); input.type="checkbox"; input.checked=params.value; input.addEventListener('click', function (event) { params.va...
This is one of the most interesting features of streamlit-aggrid. You can capture any event (e.g. sorting a column, check-boxing a line or multiple lines, manually changing a value, etc) that happens on the grid and make it change the global layout of the Streamlit app. The way...