appsmithorg / appsmithorg/appsmith

[Enhancement] Custom columns in table widget cannot reference other custom columns from currentRow

Offen
#5,090 6 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Community Reported Enhancement Needs Triaging Table Widget Widgets Product
Vorherrschende Sprache
TypeScript
Sterne
40.9k
Forks
4.8k
Ø Merge
1 T. 22 Std.
Gemergte PRs (30 T.)
45

Beschreibung

## Description

In the table widget, custom column can refer to other column values of the current row using bindings like `{{currentRow.columnName}}`. However, when using this to refer to other custom columns, the value always returns `null`.

![Screenshot 2021-06-13 at 21 00 09](https://user-images.githubusercontent.com/120119/121813605-5ba49d00-cc8a-11eb-9c8d-7bfc779e12d6.png)

If using other computed columns is not supported, then they should be removed from the auto-complete suggestions, or it gives the wrong impression that they can be used.

### Steps to reproduce the behaviour:

1. Drop a new table widget.
2. Add a new column, the `customColumn1`, and set it's computed value to `{{currentRow.step + 'x'}}`. Notice that the values in this column show up correctly.
3. Now add another column, the `customColumn2`, and set it's computed value to `{{currentRow.computedColumn1}}`.
4. Notice that the value in this column is always empty.

### Important Details

- Version: Cloud
- OS: macOS
- Browser: Firefox
- Environment: Production, .

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.