有没有办法将按钮(例如按钮编辑和删除)插入单元格并单击以获取整行? 我试过了,但这样做不起作用:
{
key: 'dontReading',
name: ' ',
width : 100,
resizable: true,
formatter : <span className = "btn-group btn-group-sm"> <button type = "button" className="btn btn-primary custom-button-crud" onClick = {this.handleDontReading.bind(this) } > Edit page </button></span>
}