|
|
|
@ -428,10 +428,12 @@ export default class Table extends React.Component {
|
|
|
|
|
this.getDefaultSelection().indexOf(rowIndex) >= 0);
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<Radio disabled={props.disabled} onClick={stopPropagation}
|
|
|
|
|
<span onClick={stopPropagation}>
|
|
|
|
|
<Radio disabled={props.disabled}
|
|
|
|
|
onChange={(e) => this.handleRadioSelect(record, rowIndex, e)}
|
|
|
|
|
value={rowIndex} checked={checked}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -449,9 +451,13 @@ export default class Table extends React.Component {
|
|
|
|
|
props = this.props.rowSelection.getCheckboxProps.call(this, record);
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<Checkbox checked={checked} disabled={props.disabled} onClick={stopPropagation}
|
|
|
|
|
<span onClick={stopPropagation}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
checked={checked}
|
|
|
|
|
disabled={props.disabled}
|
|
|
|
|
onChange={(e) => this.handleSelect(record, rowIndex, e)}
|
|
|
|
|
/>
|
|
|
|
|
</span>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|