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

WebDataRocks Team WebDataRocks August 7, 2020

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?
WebDataRocks team

Raj August 7, 2020

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: [
{tuple: [
tuple: [


WebDataRocks Team WebDataRocks August 18, 2020

Thank you for providing further details about the case.
WebDataRocks does not support the described feature, but we would like to suggest possible workarounds:

  1. generating tuple for every batch 
  2. using expandAll: true without specifying the tuples, so all nodes will be expanded
  3. using setReport API call that will set slices with desired expands

Hope it helps.
WebDataRocks team