Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 


#Product
#Analytics
#CognosAnalytics
#Analyticstools
#TechXchange Partner
#TechXchange Session
#TechXchange Presenter
#AI
 View Only
  • 1.  Flexible size for Custom Controls

    Posted 06/11/20 01:22 PM
    Hi All

    Is it possible to define width of custom controls to percentage based to be more screen size friendly? 

    Thanks for any inputs!


    ------------------------------
    Buddhi Gupta
    ------------------------------

    #CognosAnalyticswithWatson


  • 2.  RE: Flexible size for Custom Controls

    Posted 06/12/20 05:55 AM
    Edited by System Admin 01/20/23 04:47 PM
    Hi Buddhi,

    as stated in this post a possible solution is to 
    - declare a new classname "MyCustomControlClass" in report > classes
    - surround your custom control with a box ("DIV")
    - give that box the classname "MyCustomControlClass"
    - insert HTML items with "<style> .MyCustomControlClass {width:100%} </style>

    It might be intresting to use flex instead % 

    Hope this helps.

    Ralf
     

    ------------------------------
    Ralf Roeber
    Managing Partner
    Amvara Consulting
    ------------------------------