How to make a width fixed to a selection list

APEX 4

good day everybody I have a selectlist to apex_item. My question is how do fixed wide on this subject?

http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/apex_item.htm#CHDHJJAB

APEX_ITEM.SELECT_LIST(
    p_idx           IN   NUMBER,
    p_value         IN   VARCHAR2 DEFAULT NULL,
    p_list_values   IN   VARCHAR2 DEFAULT NULL,
    p_attributes    IN   VARCHAR2 DEFAULT NULL,
    p_show_null     IN   VARCHAR2 DEFAULT 'NO',
    p_null_value    IN   VARCHAR2 DEFAULT '%NULL%',
    p_null_text     IN   VARCHAR2 DEFAULT '%',
    p_item_id       IN   VARCHAR2 DEFAULT NULL,
    p_item_label    IN   VARCHAR2 DEFAULT NULL,
    p_show_extra    IN   VARCHAR2 DEFAULT 'YES')
    RETURN VARCHAR2;

Specify

p_attributes => 'style="width: 200px;"'

for a width of 200px.

Van
Trent

Tags: Database

Similar Questions

  • My shrunken veiwing window. How to make full width again?

    My shrunken window. How to make full width again?

    If you go in the upper left corner of the viewing window, by clicking on one of the 'points' will make the display window full-width, Alternatively, if you go into the lower right corner, you should be able to click make drag and make any size you want

    see you soon

    JB

  • How do I disable a text field or select list when I change record.

    Dear Sir.

    I created the form with the report when I insert the new record, then all ground are able to insert the value in the table.

    Here I want to when I change any folder, then a field as a TEXTFIELD or select list, which I should be disabled in the case of a CHANGE.



    How do I disable a text field or select list when I change record.



    Thank you

    CORINE

    Hello

    Edit the element... There is a Readonly tab... Enter the condition for readonly... for example... Suppose you have a hidden field P1_X for the primary key. To add the new record, this field will be null and for editting p1_x will have the primary key value...

    So you can make the condition as P1_X readonly IS not null...

    Kind regards
    Shijesh

  • How to make a folder appear in the folder list above the devices and drivers in the view of this PC

    How can you make an existing folder appear in the list of the folders above devices and drivers in the view of this PC? I use 8.1 on a Surface Pro 2

    P V

    These library files are not normal files. I don't think that you can add a regular folder it

  • How to make a good UI for the selection of the channels with DAQmx

    A lot of my Labview programming accompanied verisons them previous LabVIEW (pre Labview 7), and there are a ton of new features I am digesting (currently using Labview 8.2).

    My question is (in general), how people schedule their user interface for the selection of channels and others when using hardware DAQmx?  What I have in mind is a system compacDAQ with a number of modules.  The user would be able to choose which channels to watch.  With the help of MAX as part of this process seems counter intuative and somewhat static (yes I know you can change out there, but it feels more like something you would use for something that doesn't really change much).  I wish that all the UI within the VI.

    Programmers use the task of creating screw for this or something else?

    Thanks in advance.

    ChuckNRC,

    I tend to avoid using MAX and create all my channels/tasks using the DAQmx functions.  There are also having some DAQmx features that allow you to save/remove channels, tasks and scales to MAX.

  • How to run to another page in a select list

    Hello

    I am newbie to APEX. Our version of the APEX is 5.0.2. Currently, I have a 7 page, which displays a selection list, of which user selects an element of value and then supposed to be directed to another page 8.  But nothing happens once I've selected only one item, say, he's not going anywhere.  Please let me know how I can fix the problem.  Thank you very much!

    Page 7, I turned "Go To Page 8" as:

    page7.PNG

    And then to page 8, I have:

    page8.PNG

    Best regards

    Hello

    Since you've already done this job, you probably realized that you need to add p7_study_name to Page elements field to submit and create a dynamic action related to this item (change), which updates the State of the list of sites.

    If you want to go to another page, when you select the item in the list, follow these steps:

    (1) create a dynamic action on p7_study_name, the Change event.

    (2) create a real action, Action: submit the page, button of request/name MY_REQUEST (or whatever you want).

    3) go to the processing Section and create logic to your page target Condition: Type Request = value, value MY_REQUEST

    Hope that helps.

    Pavel

  • How to set the default value in the select list to cascaded

    Hello
    I use Denes Kubicek cascade example list of selection http://htmldb.oracle.com/pls/otn/f?p=31517:119

    And I want to give cascading the selection list with a default value. So, anyway, I use this application process:

    < pre >
    BEGIN
    OWA_UTIL.mime_header ("text/xml", FALSE);
    HTP.p ('Cache-Control: non-cache');
    HTP.p ('Pragma: non-cache');
    OWA_UTIL.http_header_close;
    HTP.prn ("< select >");
    HTP.prn ("< option value ="' | 1 |) "" > ' | '- all employees-' | ' < / option > ");"

    FOR c IN (SELECT ename, empno
    WCP
    WHERE mgr =: cascading_selectlist_item_2)
    LOOP
    HTP.prn ("< option value ="' | c.empno |) '">' || c.Ename | ("< / option >");
    END LOOP;

    HTP.prn ("< / select >");
    END;
    < / pre >

    How can I select for example empno default 1000?
    Thanks in advance.
    Jacob

    Jakob,

    In this case, your default value is

    HTP.prn (')

    However, you can set the default value in the loop as you want. You just say that is your default - first, second, third...

    In the list select ajax there's no submit and no calculation of values then I assuem your default is the punch one you wan to display when a selection list has been changed?

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • How to make 100% width box of juxtaposed elements

    I have two items in the box together (side by side and touch) and the left side of the box on the left reached the edge of left and right of the box to the right browser reaches the right edge of browser. How can I get these two boxes to act as something 100% width joined together?

    Brad,

    I thought about it, but they should be individual items. I know that this is possible, but it may have to make in the code. For example, see this site: http://alwayscreative.net/. Their elements are separate boxes.

  • How to make a background fixed?

    I have a cell layout and a photo of photoshop, and I want a fixed background 480202. What code should I use and where do I put it?
    -Bryan

    > I have a layout cell

    Do not use layout mode!

    > I want a fixed background 480202

    What is color? It should always start with an octothorpe if it is-
    #480202.

    > What code should I use and where do I put it?

    Be aware that IE does not play well with fixed background images in the table
    cells. Why you need repair?

    Also, I showed with inline styles - it would be better to use integrated
    or the rules related to the style of this cell.

    --
    Murray - ICQ 71997575
    Adobe Community Expert
    (If you * MUST * write me, don't don't LAUGH when you do!)
    ==================
    http://www.dreamweavermx-templates.com - template Triage!
    http://www.projectseven.com/go - DW FAQs, tutorials & resources
    http://www.dwfaq.com - DW FAQs, tutorials & resources
    http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
    ==================

    "BryanRob" wrote in message
    News:em744b$KPB$1@forums. Macromedia.com...
    > I have a layout cell and a photoshop image and I want a fixed
    > backround 480202. What code should I use and where do I put it?
    > - Bryan

  • How to make a button to display in a list only when an investigation is completed?

    I use cf9 with mySQl 5 +. I have two tables:

    1. Registrations - where people register for a course.
    2. Course_eval - once the course is completed, the student fills in the evaluation of courses

    I use an inner join on user name in both tables.

    I have a page, showsignups.cfm, that lists all the students per class. Once a student has completed the survey, a button will appear next to the student in the showsignups.cfm page where it can be clicked to show the investigation by the student.

    My problem is instead to show all students with or without the buttons of the investigation, that it shows that students who have completed the survey. It must show:

    Name of the student. Survey button

    Name of the student.

    Name of the student. Survey button

    Name of the student.

    I thought using a cfloop through students would give me the effect I want, but alas, no. Here is the code that I use for the cfquery:

    "< name cfquery ="getsignups"datasource =" #application.dsn # "" >

    Select signups.courseTitle, signups.property, signups.calendardate, signups.company, signups.firstna me, signups.lastname, signups.email, signups.phone, signups.userID, signups.signup_id, signups.r id, course_eval.userID, course_eval.id

    inscriptions INNER JOIN course_eval ON signups.userID = course_eval.userID

    where signups.rid = #rid #.

    < / cfquery >

    (RID is the courseID)

    Here is what I use:

    < cfoutput >

    "< cfloop query ="getsignups">."

    < b >

    < td > #rid # -#firstname # #lastname # |   < a href = "mailto:#email#" > #email # < /a > <table > < td >Ph: #phone #< table >

    < td width = "24" >< a href = "" showsignups.cfm? signup_id = #signup_id # & go = go "class ="button"> delete < /a > <table > "

    < isdefined ("id") cfif >

    " < td width ="24">< a href ="... /... "/ forms/surveys.cfm? userID = #userID #" class = "button" >survey< /a > <table >

    < / cfif >

    < /tr >

    < / cfloop >

    < / cfoutput >

    I know this is a long post, but I wanted to make sure that any body who reads this includes what I'm trying to accomplish. Any ideas on what I am doing wrong?

    Do not use a join internal:

    Select signups.courseTitle, signups.property, signups.calendardate, signups.com pany, signups.firstname, signups.lastname, signups.email, signups.phone, gnups.userID, signups.signup_id, signups.rid, course_eval.userID, course_e val.id

    of registrations LEFT OUTER JOIN course_eval ON signups.userID = course_eval.userID

    where signups.rid = #rid #.

                 #rid# - #firstname# #lastname#  |   #email#Ph: #phone#      Remove              Survey                          
    

    Use:

    Post edited by: Eddie Lotter (Typo)

  • How to make a very original frame with the list comment and attachment?

    How can I make an original frame-like list of comment?

    I use Windows XP and Adobe Acrobat 9 Pro and Acrobat 9 SDK.

    I want to do a new plug-in that use a new image.

    The new framework is looking like list of comment and attachment.

    I want to show my original list and entry form to the framework.

    It is close to the comment list frame, but I want to see the original list.

    In addition, I would like to add new top to button Navigation button panel reviews.

    Can I get any help?

    There is no support in the SDK to add your own panels.

    There is no support to change existing panels.

  • How to make "new contacts" again in my contact list?

    Suddenly last week, I lost the ability to make a new contact in the toolbar for Windows Calendar. When I clk 'contacts' now

    Need me just to 'my computer' rather than show me a toolbar where I can take a 'new' contact. I can't make a new contact

    while I'm in the place of 'my computer '. Thankx for any help you can give me.

    CF. http://answers.microsoft.com/en-us/windows/forum/windows_vista-windows_programs/lost-ability-to-add-new-contacts-in-windows/7fabc25e-0738-498b-86ba-a62684d702fd

  • How to make the fields from the drop-down list required to make a selection before you save a PDF file

    I have a PDF form where I entered a JAVA script in some areas by using the option ON BLUR under 'Actions' and it works very well to prevent users to go to another site if they leave the field with the empty JAVA Script in place.

    My question is that I have other form fields that have a drop down menu where they can choose several options. I would also like to make these fields to where they can't move forward on the form unless they choose an option in the list. However, because with the option in the list "choose a ' is a default option entered into the field (field is not empty), script JAVA of BLUR ON option I used in my empty fields does not work to block the user to move beyond the matter without selecting an option. They are able to save the form with all the drop down menus staying to 'pick '.

    I made the field "Required fields" then they are highlighted with the red area around, but is there another tool to force them to choose an option for each in the drop down menus before you save the form, instead of being able to save with leaving the 'choose One' in the field by default?

    The best way to do this without knowing the default value of the field is to compare the value of the field to the default value of the field... You must make sure that your default value is not part of the possible acceptable answer. It works with most of the field types that a user can fill.

    If (event.value! = event.defaultValue) {}

    do something;

    App.Alert ("required field not completed. \nField name: "+ event.target.name, 1, 0);

    }

  • How to make an application for shaped on the list of dashboard values

    I have the dashboard with several pages that use a set of guests for a year and a month. For some reports, I use the value invited to display data only for this month, but some reports that I need to view the data in the previous 12 months, so I have set these guest not directly for the column, but with the formula as advised by Vincent in his post on the dashboard incentive (http://oraclebizint.wordpress.com/2008/02/26/oracle-bi-ee-101332-between-prompts-for-date-columns-using-presentation-variables/)

    The formula I use is "CASE WHEN 1 = 0 THEN ' Sun - Times '.» «Year"ELSE 2007 END", the drop-down list is displayed by SQL statement "SELECT DISTINCT" dim - periods ".» Benefit year "loss analysis" ORDER BY ' Sun - Times '. Year '.

    The problem is that, regardless of the setting in the form by default of column "Sun - times» Year', the values are shown with two decimal places, for example "2008,00" at the time.
    The question is - how can I get rid of the decimal places in the list of dashboard values?

    Add CAST as follows... (You need on the "show > SQL result" is part of the dash line, not to change the formula)

    SELECT DISTINCT CAST (' Sun - Times '.) Year AS INTEGER) of 'Profit loss analysis' ORDER BY ' Sun - times» Year '.

  • How to access a column value in a Select list in a tabular presentation for each line

    Hello

    Environment: Using Oracle APEX v4.2.1 on an Oracle 11 g 2 DB

    In a tabular presentation using the following example query, i.e.:

    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "HIREDATE",
    "SAL",
    "DEPTNO",
    "MY_LOV"
    from"#OWNER#"."EMP"
    
    

    I need access to every line of my sub form of table, the EMPNO of this line value, within a list of selection (query based LOV) in the column "MY_LOV."

    So, basically, the MY_LOV column in my table presentation, would be a list of selection (query based LOV) where MY_EMPNO =: EMPNO (first column in the select statement above), for each line of the tabular presentation.

    With the help of a picture ( Tom's Blog ) and assuming 'Deptno' column here is actually my new column, i.e. "MY_LOV, I want to know how this list of selection based on lov query would be able to access each EMPNO down in the form of tables, i.e. 7839, 7698, 7782 etc.?

    overview.png

    Any help would be appreciated.

    Thank you.

    Tony.

    Hi Tony,.

    Take a look at the API APEX_ITEM for LOV

    http://docs.Oracle.com/CD/E37097_01/doc/doc.42/e35127/apex_item.htm#AEAPI208

    Kind regards

    Brad

Maybe you are looking for

  • Satellite Pro P875 will not display on '3D ready' 3D projector emachines V700

    Hello I am struggling with the display of 3D on a 3d ready projector emachines V700.I tried different software, stereoscopic player, CyberLink DVDPlayer 12 without success. CyberLink DVDPlayer is configured to use the Intel card - which will not limi

  • Satellite Pro U400-SP2804 - Microphone is not listed in the volume control

    HelloI can't listen to the microphone from the speaker, because does not appear micro in the Volume control On the start menu< control="" panel="">< audio="" devices="">< advanced="" properties="">< volume="" control="">< properties=""> Mixing: Conex

  • Lost password and no email access

    Hi, since I formatted my laptop I was not able to connect to my Skype account (it automatically connected to Skype because it remember my password). Now, I can't retrieve my password since I don't have access to the email associated with my Skype acc

  • Black print L7590 performance

    I'm curious to know if anyone else has experienced this problem. I printed the 124 pages and my black cartridge was released (the cartridge is standard HP88). What of the 850 pages give HP announced. Why is there such a huge difference? I want to go

  • [BSOD] My PC crashed while multi-tasking DMP file Dump analysis required

    Hey everyone I need help trying to figure out why my computer freezes or faces BSOD... C:\Windows\Minidump\122514-14913-01.dmp Is recovered. Link to the dump is https://onedrive.live.com/redir?resid=4A2C6A8186FB95F9%21114 I don't know how to analyze