Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
148
setLocation of progress indicator
posted

Hi,

 I want to position the progress indicator of the WARP.

I have found the js function "setLocation()" but i don't know how to use it, or what arguments to provide.

Anyone?

Thanks in advance 

  • 85
    posted

    Here is what we can find in the Infragistics Help:

     

    Location of indicator relative to tab-label can be set by oWebTab.getProgressIndicator().setLocation(ig_Location.aMemberConstantOrObjectWith_x_y)

     

    setLocation

    Sets the location that the Progress Indicator should be displayed at, relative to the page.

    Parameters
    location

    ig_Location.TopLeft = 0

    ig_Location.TopCenter = 1

    ig_Location.TopRight = 2

    ig_Location.TopInfront = 3

    ig_Location.TopBehind = 4

    ig_Location.MiddleLeft = 8

    ig_Location.MiddleCenter = 9

    ig_Location.MiddleRight = 10

    ig_Location.MiddleInfront = 11

    ig_Location.MiddleBehind = 12

    ig_Location.BottomLeft = 16

    ig_Location.BottomCenter = 17

    ig_Location.BottomRight = 18

    ig_Location.BottomInfront = 19

    ig_Location.BottomBehind = 20

    ig_Location.AboveLeft = 32

    ig_Location.AboveCenter = 33

    ig_Location.AboveRight = 34

    ig_Location.AboveInfront = 35

    ig_Location.AboveBehind = 36

    ig_Location.BelowLeft = 64

    ig_Location.BelowCenter = 65

    ig_Location.BelowRight = 66

    ig_Location.BelowInfront = 67

    ig_Location.BelowBehind = 68

  • 65
    posted

    Here is the javascript.  Add the function to the InitializePanel event of the WARP

    <script id="igClientScript" type="text/javascript">

    function YourWebAsyncRefreshPanel_InitializePanel(oPanel){

    var pi = oPanel.getProgressIndicator();

    pi.setLocation(ig_Location.BelowCenter);

    }

    </script>