BloX not showing all items
I have a BloX widget that builds a small table of item/value pairs. I want to show the entire table so I have showCarousel set to false. The table builds fine but only the first 10 items are shown in the widget. (There are 16 total.)
This page: https://documentation.sisense.com/l2021-11-x/docs/creating-interactive-dashboards has a note that says that due to performance issues, list items are limited to a total of 100. At 16, I am well below that number.
I figure that either BloX is limiting it to 10 items or there is a missing scroll bar on the widget. I would appreciate any ideas anyone would have as to what may be amiss here.
BTW, if I turn on the carousel, it will cycle through all 16 values.
TIA,
David
Hello CDavidOrr ,
There are 2 solutions to enable scrollbar:
1. Remove titleStyle if it is specified in blox script.
2. Add this dashboard script and update the widgetid variable:
dashboard.on('widgetready', function(se, ev){ widgetid = '61cfdf1a5684784530c44865' widgetelement = $('[widgetid="' + widgetid + '"]') widgetHeight = widgetelement.height() widgetelement.find('blox .content').height(widgetHeight-20) })
-Hari