Forum Discussion

Vlad's avatar
Vlad
Cloud Apps
04-11-2022
Solved

BloX widget height

Hi,

I'm new to BloX and I am currently using the transpose pivot template to create a custom table:

https://support.sisense.com/kb/en/article/transposed-pivot-table-with-blox

I have an issue that the BloX widget is always a fixed height, leaving a lot of white space below the table. I can resize it on the dashboard layout, but every time I edit it, it bounces back to the default height.

How can I set the height manually to what I want it to be, or set it to be dynamic to the table contained inside?

Thanks!

10 Replies

Replies have been turned off for this discussion
  • Oleksandr_K's avatar
    Oleksandr_K
    Sisense Employee

    Vlad, ChrisS , there is indeed only only up and down directives for lazy loading and it is not on the closest roadmap to change it.

    We have added a new boolean property "disableLazyLoading", which enables loading all of the data at once, instead of chunks as user scrolls.  This overcomes 10 column limit, that customers are facing at the moment.

    This capability is included in L2022.6. Check for the updates in the release notes.

     

  • Vlad's avatar
    Vlad
    Cloud Apps

    I have encountered and additional issue with the above BloX widget. It seems it will not show more than 10 items across the top. I need this to show 12 columns (one for each month of the year). Where can I change this setting?

    • ChrisS's avatar
      ChrisS
      Sisense Employee

      Hi Vlad, 

      I reviewed the inline block code in the first TextBlock, and I don't see a setting using the console, so will check the  class details.

      Chris

    • ChrisS's avatar
      ChrisS
      Sisense Employee

      Hi Vlad,

      The issue of only ten transposed Blox-Slides (Columns) seems to result from the way lazy loading the next block of data gets triggered.  There isn't a control exposed for this.  You can see the trigger in the calls that applies to the overflow management:

      class="scroll has-scrollbar" data-listener="{direction: 'down', percent: 75, callback: loadMore}">

      This will need to be addressed by Engineering, either in the design or the trigger.

      Regards,

      Chris

  • ChrisS's avatar
    ChrisS
    Sisense Employee

    Hi Vlad,

    Sorry for the issue with the height.  I can confirm seeing the same behavior from the template definition here.  I'm reviewing JSON code to find the issue...

    Chris

  • ChrisS's avatar
    ChrisS
    Sisense Employee

    Hi Vlad,

    There isn't an issue with the Blox JSON code.  The height issue arises when we transpose the inline block via script.  For some reason, editing the widget reverts the widget height to the height of the Edit Widget window.  If you were to reduce the height of the edit window to say 200px, it would save properly.  It's easier to resize it after saving as work around until it's addressed.  I'm submitting this as a problem associated with the inline-block script.  

    Regards,

     

    Chris

  • Vlad's avatar
    Vlad
    Cloud Apps

    Hi Chris,

    Thank you for taking the time to look into this.

    I will continue using the resize workaround for the height for now, please can you update this thread if you get any news from engineering regarding the column limit.

     

    Regards,

    Vlad