Forum Discussion

cartercjb's avatar
04-21-2022
Solved

ENABLE SCROLL BAR FOR TEXT WIDGET

IS THERE A SCRIPT TO ENABLE VERTICAL SCROLLING FOR A LONG TEXT WIDGET?

 

  • harikm007's avatar
    harikm007
    04-21-2022

    cartercjb ,

    Here is the updated script:

    widget.on('ready', function(se, ev){
    	$('richtexteditor .r').css('overflow-y', 'scroll')
    
    })

    (You may need to click on widget to get focus on it, so that you can scroll it)

    -Hari

5 Replies

Replies have been turned off for this discussion
  • harikm007's avatar
    harikm007
    Data Warehouse

    cartercjb ,

    Please try this script : 

    widget.on('ready', function(se, ev){
    	$('richtexteditor .r').css('overflow', 'scroll')
    
    })

    -Hari

    • cartercjb's avatar
      cartercjb
      ETL

      Thanks, Hari. That seems to only have enabled it for horizontal scrolling. Is there a wa y to specify vertical scrolling? harikm007 

      • harikm007's avatar
        harikm007
        Data Warehouse

        cartercjb ,

        Here is the updated script:

        widget.on('ready', function(se, ev){
        	$('richtexteditor .r').css('overflow-y', 'scroll')
        
        })

        (You may need to click on widget to get focus on it, so that you can scroll it)

        -Hari

  • Hello,

    when I am adding an image to the text widget, the scroll bar doesn't go until the bottom. The image won't be shown entirely.
    How can I make sure that the entire text widget will be shown?

    by the way: is there a better way to add descriptions to the dashboard. I need to add explanations as my users need to understand how to read the dashboard.