How to set width of apex_item.select_list_from_lov?

Hello experts!
Sorry to bother you but I can't find out how to set the width of a select list generated in my query.
I already had a look at the Oracle Express Api docu but and tried the following to no avail.
apex_item.select_list_from_lov(8, a.lng_arbeitsschritt, 'Auftakt_LOV','.style.width = "300px";',
'%', null,null, null, 'class="combobox"')Do you have a better idea?
Many thanks,
Sebastian

I just did some more testing and discovered that the following works:
apex_item.select_list_from_lov(8, a.lng_arbeitsschritt, 'Auftakt_LOV','style="width:500px";',
'%', null,null, null, 'class="combobox"')Maybe this helps others as well!
Thanks for having a look!
BR,
Seb

Similar Messages

  • How to set width for this modal dialog box?

    Hi All,
    How to set width to this modal dialog box:
    <input id="btnVote" onclick="javascript:SP.UI.ModalDialog.showModalDialog({ url: &#39;../Lists/Sports%20Activities%20Voting/NewForm.aspx&#39;, title: &#39;User Survey&#39;}); return false;" type="button" value="Vote"/>
    Thanks in advance!

    set as bellow:
    <input id="btnVote" onclick="javascript:SP.UI.ModalDialog.showModalDialog({ url: &#39;../Lists/Sports%20Activities%20Voting/NewForm.aspx&#39;, title: &#39;User Survey&#39;,width:700,height:350}); return false;" type="button" value="Vote"/>
    yaşamak bir eylemdir

  • How to set width of a vertical scrollbar (such as in a combobox)

    I have a combox. I have successfully figured out how to set the font name and font size for each time, however as I have increased the normal very tiny size of the combobox items (now more legible), the remaining last problem is the measly 16 pixels for the scrollbar. This might be acceptable on a desktop with a precise cursor positioning system, but for mobile apps I need a way larger scrollbar thickness, perhaps 30 pixels. How does one set the scrollbar thickness for a combobox? I am willing to stick with scaled up icons from whatever is being drawn as a default, so if possible I would just like to set some style number. But can't find any documentation on this. The Apple system has a nasty fixed width scrollbar (20 pixels), and so far it seems Adobe Flash is using only 16. Great for when you are cramped but I am trying to UN-CRAMP the user interface!
    any help is greatly appreciated.  A free copy of Discus ($40 value) for whomever helps me solve this vexing problem with the least amount of effort!
    edj

    Edit the item and in the HTML Form Elements Attributes field type the following:
    style="width:120px";adjust the 120 to whatever width you like
    Shunt

  • How to set Width of a JPanel?

    I am overwirting paintComponent(Graphics g) method to
    draw some g2D in a JPanel.
    I want the drawing processing shown on screen (not flashed out after drawn because it is VERY SLOW).
    So that I CAN NOT use setsize() or setBound() because to change JPanle.width because this is NOT what I wanted(the graphics is shown AFTER is drawn).
    Everytime I call paintComponent(), the width of JPanel is changed.
    My question is : How can change JPanel.width without calling method like setsize() or setBound() .
    Thanks a lot!!

    My code too large, I just show some idea here:
    class caller (){
    myPanel p;
    Graphics2D g2 = (Graphics2D)p.getGraphics();
    //I nee to increase the p.width before call my_paint
    //I CAN NOT use setsize() or setBound()
    //because I want show the drawing process
    //on screen( and that is fast)
    p.my_paint(g2); // how to set p.width ??
    public class myPanel extends JPanel
    public void my_paint(Graphics2D g2)
    //Do my drawing here ,
    // I need to draw thousands of Line2D.
    public void paintComponent(Graphics g){
    Graphics2D g2 = (Graphics2D)g;
    my_paint(g2);

  • How to set width of a TextField ?

    Hi all,
    I want to use Polish in my javaME code , so I add //#style style_name before calls of constructor TextField.
    The problem is that when I run the application then the textfield is very small in width ! And when I try to enter a value inside then a big textarea is shown in the screen in which I enter the value ; and after that I click the "Ok" command item and I finally return to my form.
    I use a polish.css file to define the style.
    So how to set a width for a TextField ?
    Thank you very much indeed

    never mind. I forgot a line in my layout manager.

  • How to set width of cfgid in percentage?

    I have to make the cfgrid compatible irrespective of screen size. But it is not taking width in perecntage(giving error : Attribute vallidation error, height/width can not be given in percentage.)
    I put the cfgrid inside a div and set width of the div as 100%, but it has no effect on the cfgrid.
    Can anyone please give me a solution??
    I will be thankfull towards any helpfull suggestion.

    Then you have to find a way to get the browser to send information about screen size to ColdFusion. One way to do it is by means of AJAX. Another, in my opinion much simpler way, is to get Javascript to store the screen size as a cookie, and then to get ColdFusion to read the cookie. I was thinking of something like this
    <script type="text/javascript">
    var browserWidth = screen.width;
    var browserHeight = screen.height;
    var expiryDate=new Date();
    /*set expiry date tomorrow*/
    expiryDate.setDate(expiryDate.getDate()+1);
    document.cookie= 'browserWidth='+browserWidth+',browserHeight='+
                                browserHeight+',expires='+expiryDate;
    </script>
    <cfset percentWidth = 90>
    <cfif isDefined("cookie.browserWidth")>
        <cfset browserWidth = cookie.browserWidth>
    <cfelse>
        <cfset browserWidth = 800>
    </cfif>
    <cfset gridWidth = int(percentWidth*browserWidth/100)>
    <cfform>
    <cfgrid format="html" name = "myGrid" width="#gridWidth#">
    </cfgrid> 
    </cfform>

  • How to set width to be same as screen size?

    Dear all
    I want to set the width of my view elements to be same as that of screen size, so that if a user with low resolution monitor runs it, or if a user with high resolution monitor runs it, both see the same.
    I tried setting the width to 100%. But it is not working.
    My root container layout is Grid layout.
    Any suggestions please?
    Thanks in adv.

    Hi,
    For ROOTUIELEMENTCONTAINER set the stretchedHorizontally,stretchedVertically to true.
    And for the UI element set width as 100%, this will make the UI elem to expand to the complete screen.
    Best regards,
    Suresh
    Message was edited by:
            Suresh Honnappanavar

  • How to set width/height of iPad app in ipa file

    Hello,
    I am developing an app for iPad in Flash Builder 4 and Packager for Iphone.
    I set the width and height node values in the descriptor XML and compile the application. When I run the same in iPad, I am not able to see any effect on the app's width and height.
    Also, in default load, app opens in dimensions as per the iphone view and not specifically for iPad.
    Any help?
    Tanu

    hi,
    How does your application descriptor file look like? I also had the same problem, when I realised that I had a few things missing in my app desc. file. My file looks like this
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.0">
        <id>IPadApp</id>
        <filename>IPadApp</filename>
        <name>IPadApp</name>
        <version>v1</version>
         <initialWindow>
            <content>IPadApp.swf</content>
            <fullScreen>true</fullScreen>
            <autoOrients>true</autoOrients>
            <title>IPadApp</title>
            <aspectRatio>portrait</aspectRatio>
            <systemChrome>none</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <!-- Portrait -->       
            <width>768</width>
            <height>1024</height>       
            <!-- Landscape -->
            <!--
            <width>1024</width>
            <height>768</height>
            -->
            <!--<x>100</x>
            <y>100</y>-->
            </initialWindow>
        <supportedProfiles>desktop mobileDevice</supportedProfiles>
    <iPhone>
      <InfoAdditions>
      <![CDATA[
        <key>UIDeviceFamily</key>
        <array>
        <string>2</string>
        </array>
      ]]>
      </InfoAdditions>
      </iPhone>
    </application>
    Check your desc. file.
    -Vrushali

  • How to set  width of List Box

    Hi,
    How do we set the width of List Box created dynamically. By default it sizes to the maximum length of the value populated in it.
    I need to maintain consistency in the width and trying to set the width.
    Any pointers are appreciated.
    Thanks,
    Naresh

    It seems to to be sized to the length of the largest value in the list, and disrupts formatting. This is the standard HTML behaviour. The only method available to you is to truncate the values being passed to the poplist. Investigation is underway to determine the impact, on UI and Translation issues, of having the framework truncate automatically.

  • How to set width of a select list?

    Hi,
    another newbie question from me :-)
    When I create a select list the default width is 30, no matter what I set this value to the width of the select list stays the same, it gets as wide as the widest element in the list. This messes the design of the page. I f I have three select lists in a column I want them to have the same width. How do I accomplish that?
    /Magnus

    Edit the item and in the HTML Form Elements Attributes field type the following:
    style="width:120px";adjust the 120 to whatever width you like
    Shunt

  • How to set width of a prompt in OBIEE 11g?

    Hi,
    We have recently upgraded to OBIEE 11G.
    In 10g all our prompts were fine. After upgrade, the prompts look distracted. All the prompts are Choice Lists.
    The width of the prompts is varying depending on the width of the values that are coming from the DB.
    Our requirement demands fixed width for the prompts. Is there any way to do it!!
    Thanks!!
    Vasantha.P
    Edited by: Vasantha Payyavula on Dec 23, 2010 12:36 PM

    Hi vasantha,
    Check this out http://www.obinotes.com/2010/12/text-wrapmulti-ine-prompt-caption-in.html and even comment by stijn
    Hope helps you.
    By,
    KK

  • Can't figure out how to set a frame width

    Noob questions I suppose....our instructor has us creating a
    site using only framesets. I realize this isn't the best way to go,
    but we are leading our way up to CSS.
    If you look at my navbar, it needs to be 125 to be able to
    fit my buttons, but I can not for the life of me how to set the
    width of that frame.
    Also, how do I name the site on the index file from "untitled
    document" to what I want. I know how to do it on individual
    pages... or normal index pages, but here, it does not seem I can
    pull up the index file alone without everything being loaded and no
    way to edit the index file.
    Edit: Forgot to provide the link:
    http://www.webrevamps.com/assignment10/index2.html
    And the pages should not scroll. Hopefully I did that right.
    Thanks!

    Your instructor should be relieved of their duties. Nobody
    should be
    mentioning frames nowadays except to note that they are
    antique and should
    only be used on special occasions, and that their use will be
    left up to the
    reader to determine.
    > If you look at my navbar, it needs to be 125 to be able
    to fit my navbar,
    > but
    > I can not for the life of me how to set the width of
    that frame.
    You set the width of a frame the way you'd expect to - in the
    frameset page
    definition. When you create a framed site, you first create a
    frameset page
    that defines the width and height of every frame in the
    frameset, e.g.,
    <frameset rows="80,*" cols="*" frameborder="no" border="0"
    framespacing="0">
    <frame src="UntitledFrame-112" name="topFrame"
    scrolling="No"
    noresize="noresize" id="topFrame" />
    <frameset cols="80,*" frameborder="no" border="0"
    framespacing="0">
    <frame src="UntitledFrame-113" name="leftFrame"
    scrolling="No"
    noresize="noresize" id="leftFrame" />
    <frame src="UntitledFrame-114" name="mm_target"
    id="mm_target" />
    </frameset>
    </frameset>
    This defines a frameset containing two rows, one of which is
    split into two
    columns. The top row is 80px tall, and the bottom row is
    whatever is needed
    to fill the browser's viewport in height. The bottom row
    contains two
    columns, the leftmost of which is 80px wide, and the
    rightmost is whatever
    is needed to fill the browser's viewport.
    As mentioned, if your instructor hasn't given you this
    information they are
    doing a double bad job.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "motleyscrewed" <[email protected]> wrote in
    message
    news:[email protected]...
    > Noob questions I suppose....our instructor has us
    creating a site using
    > only
    > framesets. I realize this isn't the best way to go, but
    we are leading our
    > way
    > up to CSS.
    >
    > If you look at my navbar, it needs to be 125 to be able
    to fit my navbar,
    > but
    > I can not for the life of me how to set the width of
    that frame.
    >
    > Also, how do I name the site on the index file from
    "untitled document" to
    > what I want. I know how to do it on individual pages...
    or normal index
    > pages,
    > but here, it does not seem I can pull up the index file
    alone without
    > everything being loaded and no way to edit the index
    file.
    >
    > Thanks!
    >

  • How to set the width of DataGridColumn dynamically?

    What I want to do is, load data from a text file and put into a DataGrid component, the fields of ech record in the text have fixed length, and are seperated by a space, like this:
    personal.txt
    50 Uvwxyz  Male    123456789
    60 Hijklmn  Male    67890123456789
    30 Abcdefg Male    123456789012345
    40 Opqrst   Female 987654321012345678
    the configuration file is column.xml:
    <dgcolumn>
         <personal>
              <len>20</len>
              <title>Name</title>
         </personal>
         <personal>
              <len>3</len>
              <title>Age</title>
         </personal>
         <personal>
              <len>6</len>
              <title>Sex</title>
         </personal>
         <personal>
              <len>20</len>
              <title>IdNumber</title>
         </personal>
    </dgcolumn>
    First I load the column.xml into an arrColumn, then read the personal.txt and seperate the record by the width( "len" in the xml file ), and put the seperated fields into another arrField, set the arrayFld as the dataProvider of a DataGrid, thus, the title can be showed as the headerText of the DataGrid and the data can be loaded correctly.
    private function handleComplete( event:Event ):void
         var arrField:Array = new Array();
         var arrFile:Array = loader.data.split(/\n/);
         for( var i:int = 0; i < arrColumn.length; i ++ )
              arrField[i] = convIcom( arrFile[i] );
         adgFile.dataProvider = arrField;
         trace( "The data has successfully loaded" );
    private function convIcom( strRecord:String ):Object
         var key:String = null;
         var dataField:String = null;
         var offset:int = 0;
         var obj:Object = new Object();
         if( strRecord.length > 0 )
              for( var i:int = 0; i < arrColumn.length; i ++ )
                   dataField = strRecord.substr( offset, arrColumn[i].len );
                   key = arrColumn[i].title;
                   obj[key] = dataField;
                   offset += arrColumn[i].len + 1;
         return obj;
    <mx:DataGrid x="10" y="100" width="400" id="dgFile" />
    The problem is, the width of the DataGridColumn is average, how to set the column width by the length of each field? I can calculate the rate of each field ( field / fields ), but I don't know how to change the property of the DataGridColumn.width.
    Thanks for helping.

    In the above post, I pasted an old version of personal.txt, so I paste it again:
    personal.txt
    Uvwxyz  50 Male   123456789
    Hijklmn 60 Male   67890123456789
    Opqrst  40 Female 987654321012345678
    Abcdefg 30 Male   123456789012345
    And I have another question, when the data is loaded into the DataGrid, the fields of each record are ordered in alphabetical order ( the "Age" column will appear firstly, then "IdNumber", "Name", "Sex" ), not as the order in column.xml, how to make it keep the sequence of the xml file?
    Thanks again.

  • How to set the width for a selectManyShuttle component

    Hi,
    I'm using selectManyShuttle component from Oracle ADF Core and some of the items in the showing list are long, therefore the width of selectManyShuttle expands the page. How to set the width property for selectManyShuttle component? After that does selectManyShuttle provide horizontal scrollbar as well?
    Thanks in advance,
    lapi
    Message was edited by:
    [email protected]
    Message was edited by:
    [email protected]

    Solution here:
    Re: ADF Faces Scrollable Panel or Scroll Bar inside a component
    Regards
    Grant

  • How to set displayed column width for a search help

    I have created an elementary search help for a custom field with a value table behind it.
    The search help functions correctly, but when displayed the column widths are all 10 characters. The user has to adjust the column to view the descriptive text.
    Can anyone tell me how to set default column widths for the help?

    Please  open you Elementary search  help  and see the Column  width   behind the Fields of your ...there  increase the width of the fields
    "Activate it  and refresh
    reward  points if it is usefull .....
    Girish

Maybe you are looking for

  • Image Gallery from images in database.

    Hi, I am developing image gallery from images stored in oracle database. I am using JQuery ColorBox plugin (http://www.jacklmoore.com/colorbox/example1/) and I need to specify image in href for plugin. My JSP page (http://localhost:8080/gallery/show_

  • Consolidating queries / reports in one report

    Hi guys, I have three reports in SAP BW (im using SAP BI 7.0): 1) Credit Management 2) Sales 3) Profit Center Each report has it´s own view, data source and infocube. So for example the customer number, company code are the same. The key figures are

  • Adding custom fields in IW41/42/43.

    Hi All, I have a requirement of adding custom fields in the order confiramtion screen i.e IW41/42/43. i found this user exit CMFU0001: Determine customer-specific screen layout. but i am not able to figure out a way to use it. has anyone done such an

  • The amount of ram for g4/800

    ok so i took my g4 imac to our local mac shop, and tried to get up to 1gb of ram, when i went to the "about this mac" it said it had 512mb so i had to get another 512mb for 1 gig. no big deal. so i go to the store and when i get it back it only has 7

  • Rounding in Crystal XI

    Post Author: DAndre10 CA Forum: General I'm using the following function to determine a person's age: round(({calcdata.dob},{calcdata.dodec})/360,3) I am rounding the result to three decimal places, but does anyone know of any other rounding features