React MaterialTable内联复选框选择事件

属性{selection:true}包括我的MaterialTable复选框,而不是在单独的Table单元格中

我想添加checkchange事件,我尝试在options数组以及外部选项中添加Onchange事件。但这不会绑定事件

<MaterialTable

      title="Contact List"
      columns={columns}
        data={filteredData}
      options={{
        selection: true,actionsColumnIndex: -1
       //onChange ---> not working here
        }}
        onChange= {this.checkchange} ---> not working here either
    />

在检查事件上是否有其他方法可以绑定复选框

zhi_huiyudi 回答:React MaterialTable内联复选框选择事件

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3146101.html

大家都在问