Skip to content

[Bug]: Expose raw value for columns with computed value #22156

Open
@bharath31

Description

Is there an existing issue for this?

  • I have searched the existing issues

Description

When a table has a column with computed values, I have no way of referencing back to the raw value. Ideally, I should be able to refer to the raw value using Table1.selectedRow.key.rawValue

Steps To Reproduce

  1. Create a table with some data
  2. Add a computed value to one of the columns. For instance, assuming one of the columns is a UNIX timestamp, write an expression on the column's computed value property to convert the timestamp to a human-readable date {{moment.unix(currentRow.sk).format("MM/DD/YYYY")}}
  3. Open a JSObject and try to get the timestamp for a selected row
  4. Notice that it prints the computed the value and you can't access the raw value

Public Sample App

No response

Environment

Production

Issue video log

https://www.loom.com/share/ebdf1474bced4bc08ebe2bcbbbf42dca

Version

Cloud

Metadata

Assignees

Labels

BugSomething isn't workingMediumIssues that frustrate users due to poor UXNeeds TriagingNeeds attention from maintainers to triageProductionTable WidgetWidgets & Accelerators PodIssues related to widgets & AcceleratorsWidgets ProductThis label groups issues related to widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions