Skip to content

Commit 84ce953

Browse files
authored
#2300 Readonly table row should not have delete icon (#2301)
1 parent 6f6100f commit 84ce953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

canvas_modules/common-canvas/src/common-properties/controls/abstract-table.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ export default class AbstractTable extends React.Component {
744744
const cell = this.buildChildItem(propertyName, rowIndex, tableState);
745745
columns.push(cell);
746746
}
747-
if (this.props.control.rowSelection === ROW_SELECTION.SINGLE) {
747+
if (this.props.control.rowSelection === ROW_SELECTION.SINGLE && !this.isReadonlyTable()) {
748748
const toolTip = PropertyUtils.formatMessage(this.reactIntl, MESSAGE_KEYS.TABLE_DELETEICON_TOOLTIP);
749749
const tooltipId = "tooltip-delete-row";
750750
const deleteOption = (

0 commit comments

Comments
 (0)