In addition to the advanced options of the Table
component, I would love to see another field that allows for custom value formatting.
To be clear, I am using dynamic columns, which means I cannot directly control the columns themselves, given how they are dynamic/variable. I would really like to see a field that allows for custom formatting.
One potential solution would be to expand the "Format" options with an additional "Custom" option that toggles a new field to specify a custom format. That way, people are able to decide on how to format the value based on the {{ item }}
variable.
(By the way, I realize there is the option to use the Transform response
and deal with formatting values from there, but I think many would like to use the interface for doing stuff like this, since it would be grouped with related logic.)
To illustrate what I am aiming for, please allow me to demonstrate using a fictional UI screenshot below:
P.s. I think the implementation of such a feature would not be out of reach, given that there is already something similar built in, but this only works for fixed columns. My solution would extend on this built-in solution, but using dynamic columns (and therefore none).