Skip to content

Commit

Permalink
#1644 set addColumn staticWidth true
Browse files Browse the repository at this point in the history
Signed-off-by: Veena S <[email protected]>
  • Loading branch information
veenas1 committed Jan 4, 2024
1 parent e1b04f3 commit c7a0d97
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ export default class ExpressionSelectFieldOrFunction extends React.Component {
key: "addColumn",
label: formatMessage(this.reactIntl, MESSAGE_KEYS.EXPRESSION_ADD_COLUMN),
width: "50px",
staticWidth: true
},
{
key: "fieldName",
Expand All @@ -435,11 +436,12 @@ export default class ExpressionSelectFieldOrFunction extends React.Component {
key: "addColumn",
label: formatMessage(this.reactIntl, MESSAGE_KEYS.EXPRESSION_ADD_COLUMN),
width: "50px",
staticWidth: true
},
{
key: "values",
label: categoryInfo.field_columns.value_column_info.locLabel,
description: categoryInfo.field_columns.value_column_info.descLabel,
description: categoryInfo.field_columns.value_column_info.descLabel
});
if (categoryInfo.field_columns.additional_column_info) {
for (let i = 0; i < categoryInfo.field_columns.additional_column_info.length; i++) {
Expand Down Expand Up @@ -654,7 +656,7 @@ export default class ExpressionSelectFieldOrFunction extends React.Component {
const addNewColumn = formatMessage(this.reactIntl,
MESSAGE_KEYS.EXPRESSION_ADD_COLUMN);

headers.push({ key: "addColumn", label: addNewColumn, width: "50px", resizable: true });
headers.push({ key: "addColumn", label: addNewColumn, width: "50px", staticWidth: true });
headers.push({ key: "function", label: functionColumn, width: 50, resizable: true });
headers.push({ key: "return", label: returnColumn, width: 30 });
const table = this._buildFunctionTable(this.state.functionCategory);
Expand Down

0 comments on commit c7a0d97

Please sign in to comment.