You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I currently need to dive into the resultSet.loadResponse.annotation object to grab the formats of each measure or dimension in my result set, in order to properly render any boolean, currency, percent, or date fields. The tableColumns function currently does not include the format of the column.
Describe the solution you'd like
The resultSet.tableColumns function could return format and type properties that is obtained from the corresponding dimension or measure. The same pattern for populating the title and shortTitle could be followed for format, since both measures and dimensions can have a format.
Describe alternatives you've considered
Alternatively, the result.tablePivot function could run through a format processing step before returning the list of rows. This would enable the user to render a table without having to build custom formatting logic.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I currently need to dive into the
resultSet.loadResponse.annotation
object to grab the formats of each measure or dimension in my result set, in order to properly render any boolean, currency, percent, or date fields. ThetableColumns
function currently does not include theformat
of the column.Describe the solution you'd like
The
resultSet.tableColumns
function could returnformat
andtype
properties that is obtained from the corresponding dimension or measure. The same pattern for populating thetitle
andshortTitle
could be followed forformat
, since both measures and dimensions can have aformat
.Describe alternatives you've considered
Alternatively, the
result.tablePivot
function could run through a format processing step before returning the list of rows. This would enable the user to render a table without having to build custom formatting logic.The text was updated successfully, but these errors were encountered: