Pricing changes are coming in January. Contact our Sales team to secure the current price for your desired license.

Page crashes when expanding all rows when data has more than 15 rows

Closed
Vignesh Punniamoorthy asked on July 10, 2024

Page crashes when expanding all rows when data has more than 15 rows in the table.

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster July 10, 2024

Hello Vignesh,

Thank you for reaching out to us.

Kindly note that the expansion of cells is a heavy operation, requiring many resources. It is expected to be processed slowly when performed over large data sets.

Therefore, we suggest using the following approaches:

  • We recommend defining the expands object of the Slice when setting the report. It allows expanding not all fields but only the necessary ones. For example, you can define expands for the first few rows or columns. This will significantly increase the performance.
  • Also, expanding all the fields is a heavy operation that requires many resources on the machine. We suggest checking if your machine has enough resources to execute the expandAll API call. 

We hope it helps. You are welcome to contact us if other questions arise.

Kind regards,
Nadia

Public
Vignesh Punniamoorthy July 11, 2024

My requirement is to expand all the rows.

Do I need to slice as multiple parts of large data and expand it?

Can you provide any example?

 

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster July 12, 2024

Hello,

Thank you for the response.

We recommend defining all the expanded rows explicitly in the expands object of the Slice. The idea is to avoid using the expandAll or expandAllRows property, but instead use expands.rows array. Please feel free to check the following JSFiddle: https://jsfiddle.net/flexmonster/x9ouy7a8/. Alternatively, users can expand the rows one by one using by clicking on the expand arrow.

We hope it helps.

Kind regards,
Nadia

This question is now closed