我需要从选定行的单元格中获取值
这是我的桌子
<DataTables
height={'auto'}
selectable={true}
showRowHover={true}
filterHintText ={this.props.filtro}
title = {this.props.titulo}
showHeaderToolbar={true}
columns={TABLE_COLUMNS}
data={this.state.data}
showCheckboxes={true}
onRowSelection={this.handleRowSelection}
onFilterValueChange={this.handleFilterValueChange}
onSortOrderChange={this.handleSortOrderChange}
enableSelectAll={true}
page={1}
count={100}
/>);
这是我的方法
^{pr2}$只是得到一个行id,我不知道如何从选中的行获取单元格数据我尝试了这个表单,但结果没有找到
在控制台.log('Valor:'+selectedRows[1])
目前没有回答
相关问题 更多 >
编程相关推荐