How to tuple all components
Can you please let me know is there any way to Tuple all components.
I don’t want to Hardcode tuples names.
3 answers
Hi Raj,
Thank you for your question.
In case you want to expand all nodes, we suggest using the expandAll
property from the Slice Object.
If your use-case is different, could you please share more information on what are you trying to achieve?
Regards,
WebDataRocks team
Thanks you team for your response.
I am using “Classic” mode. (As a client requirement)
Actually I want to expand whole row with multiple columns on a single click. So to achieve it and I did below code and works fine.
But I want to make tuples dynamic or you can say I want to make all my batches inside the tuple.
i.e I don’t want to Hardcode every batch inside the tuple.
expands: {
expandAll: true,
rows: [
{ tuple: [
"batch.R0934"
]
},
{tuple: [
"batch.R0454"
]
},
{
tuple: [
"batch.R0569"
]
}
]
}e
Hello!
Thank you for providing further details about the case.
WebDataRocks does not support the described feature, but we would like to suggest possible workarounds:
- generating tuple for every batch
- using
expandAll: true
without specifying the tuples, so all nodes will be expanded - using setReport API call that will set slices with desired expands
Hope it helps.
Regards,
WebDataRocks team