Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow custom labels for details objects #105

Closed
emmorris opened this issue Feb 12, 2018 · 0 comments
Closed

Allow custom labels for details objects #105

emmorris opened this issue Feb 12, 2018 · 0 comments
Assignees
Milestone

Comments

@emmorris
Copy link

emmorris commented Feb 12, 2018

We tried to use the following settings in RhoMAP, but got [object Object] when we tried to view the details in the data listing view. Our documentation says that we can customize the details objects, so we should update the code to allow that kind of setting.

{
variables: {
details:
[
{
'value_col': 'AESER',
'label': 'Serious Snape'
},
{
'value_col': 'AESEV',
'label': 'Severus Snape'
}
],
filters:
[

{
'value_col': 'AESER',
'label': 'Ser',
'type':'event',
'start':[]
},
{
'value_col': 'AESEV',
'label': 'Sev',
'type':'event',
'start':[]
},
{
'value_col': 'AEREL',
'label': 'Rel',
'type':'event',
'start':[]
}
]
}
}

Note: We should able to get the listing to only show two columns by specifying
details:
[
'AESER',
'AESEV'
],

Test Notes:

  1. Ensure details listing appears as normal before adding anything.
  2. Add a details object, like in the example above, that has columns with and without a label and ensure that they show up by themselves and with the proper label when you view the details listing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants