Forum Discussion

CDavidOrr's avatar
CDavidOrr
Cloud Apps
01-18-2022
Solved

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 ...
  • harikm007's avatar
    01-19-2022

    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