简体   繁体   English

Ag-grid React Multiple Selection with Checkbox 未通过 Api 进行选择更改

[英]Ag-grid React Multiple Selection with Checkbox not getting selection change with Api

I want to basically know if I am having rows selected to activate an input, the thing is "selectionChange" event is not capturing when the selection is being changed I have a small example.我想基本上知道我是否选择了行来激活输入,问题是在更改选择时没有捕获“selectionChange”事件我有一个小例子。

https://codesandbox.io/s/ag-grid-react-redux-events-forked-459v6?file=/index.js https://codesandbox.io/s/ag-grid-react-redux-events-forked-459v6?file=/index.js

What id expect to happen is to get the alert to show when something is selected on this example . id 期望发生的事情是在此示例中选择某些内容时显示警报

结果在 React 中,这个属性是 onSelectionChange,遵循反应模式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM