private void replaceRow(final ConditionalFormattingRule oldRow,
                            final ConditionalFormattingRule newRow) {
        final int i = currentData.indexOf(oldRow);
        if (i != -1) {
            currentData.set(i, newRow);
            final boolean selected = Objects.equals(selectionModel.getSelected(), oldRow);
            if (selected) {
                selectionModel.setSelected(newRow);
            }

            final int keyboardSelected = dataGrid.getKeyboardSelectedRow();
            refresh();
            dataGrid.setKeyboardSelectedRow(keyboardSelected);
            setDirty(true);
        }
    }
Add the columns to the table.
stroom-core-client/src/main/java/stroom/dashboard/client/table/cf/RuleListPresenter.java