Apex Builder up/down buttons to change row order

How are the up/down buttons in application builder implemented? (In the report attributes page where you can move the columns up and down)
I need to build a report where users can change the row order and then save the order in an order column as a number.

Hi,
See this
http://htmldb.oracle.com/pls/otn/f?p=11933:41
Some reason Carl's sample is not working now.
But when you copy JavaScripts to your app, it should work like here
http://htmldb.oracle.com/pls/otn/f?p=40323:11
Regards,
Jari

Similar Messages

  • Change row order in quot

    Hi,
    Can I change the row order in quot using di api?
    I tried change the value of VisOrder but is only read.
    Thx.

    Hello
    It is not possible via DI API. You can only chnage it via GUI, by clicking the column which you would like to order by the rows. It is changing only the visual row order, not a real sequence of the rows.
    Regards
    János

  • Services for object button in change purchase order-ME22n

    Dear experts,
    In ECC6.0, me22n transaction in the change me22n screen, top left side "services for object" button is provided.
    It is provided to the left of the standard material po 480000009878 text line.
    I think it is useful for attaching the Files.
    I want to know in what way it is useful. Can we send the document to vendor , can it be possible to print along with purchase document.How it is useful.
    Advance thanks,
    Regards,
    Dayanand

    Hi Cheruku
    This button is used to attach any doument with the PO, or to check idoc status if PO is created via a Idoc or it has triggered any idoc extra.
    would like to know what is your exact query?
    regards
    Yogesh

  • When I play games in Mozilla on fb..some setting changed and now the pop up window that appears to send gifts to my friends only lists 3 ppl at a time some games i have a scroll down button others i dont..can u help m fix this please?

    When I play games in Mozilla on fb..some setting changed and now the pop up window that appears to send gifts to my friends only lists 3 ppl at a time some games i have a scroll down button others i dont..can u help m fix this please?

    Hi Winnie
    Unfortunately I have been sick and did not read the message before. I apologize.
    I have not received help beyond what is on the page. But when I get I tell you.
    I hope you can get answers. If you receive, I ask that you share with me.
    thank you very much
    best regards
    AC
    Date: Mon, 27 Feb 2012 09:33:10 -0700
    From: [email protected]
    To: [email protected]
    Subject: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        Re: Pop up Window before saving remembering the need (forcing) to fill required fields in a form
        created by Win_Form in Forms - View the full discussion
    Hi ACI wonder if you can share any responses on to your question above?I too have never used a script but, I have the same problems as you in regards to building a form. And wants to have the same 'protection' and message reminders for the end users. Any information, including a script and/or a contact email of experts you can share with me will help tremendously. Thank you so much in advance. Winnie
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4232307#4232307
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4232307#4232307. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Forms by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • Changing row color through a drop down box????

    Is there a way I can get a table row to change color based on the value of a drop down box? I have 3 color options in the drop down list: yellow, green, red. I'm trying to get it so when I select a color in the list (like for example green) the whole row of that table fills with green. I'm searching for an answer and I can't find it. Any help would be greatly appreciated Thanks :)

    Check the code very carfully, you appear to have left off a number of quotes:
    // force to white in case there is no match following
    Page1.Shape.LeaveType.border.fill.color.value = "0,0,0";
    //changes row to red
    if(LeaveType.rawValue == 4) {
    Page1.Shape.LeaveType.border.fill.color.value = "255,0,0";
    //change row to Green
    if(LeaveType.rawValue == 3) {
    Page1.Shape.LeaveType.border.fill.color.value = "0,128,0";
    //change row to Blue
    if(LeaveType.rawValue==2) {
    Page1.Shape.LeaveType.border.fill.color.value = "0,0,255";
    //keep row white
    if(LeaveType.rawValue == 1) {
    Page1.Shape.LeaveType.border.fill.color.value = "0,0,0";
    Or you could use the "swithc(){}" statement:
    var FillColor = "0,0,0"; // white
    switch(LeaveType.rawValue) {
    case 4:
    FillColor = "255,0,0"; // red
    break;
    case 3:
    FillColor = "0,128,0"; // green
    break;
    case 2:
    FillColor = "0,0,255"; // blue
    break;
    case 1:
    break;
    default:
    app.alert("Unkown Leave Type: " + LeaveType.rawValue, 1, 1); // identify unkown leave type
    break;
    Page1.Shape.LeaveType.border.fill.color.value = FillColor;
    You might want to also open Acrobat and check the Debugging Conosole for errors.

  • How change row hight in a button binding LOV?

    Can I change row hight in a button binding LOV?
    And also the font, the size of LOV window, the location of LOV window.

    You may see the source for JClient as to howit installs an LovPanelInterface implementation with the button. You may create another custom implementation of this panel and then host it in it's own dialog (quite like oracle.jbo.uicli.controls.JULovDialog)
    The relevant sources are in :
    oracle.jbo.uicli.jui.JULovButtonBinding (look for MyLovPanel)
    and
    oracle.jbo.uicli.controls.JULovDialog
    and the sources are in BC4J\src\bc4juisrc.zip

  • [b]Hacking the APEX Builder IDE[/b]

    Hi,
    some may have already read it on my APEX blog, but for all the others which do not read my blog regularly.
    I have started to develop another small tool to increase the productivity of the APEX development environment. This time it's an enhancement for the APEX Builder itself, called APEX Builder Plugin.
    You can read more about it at
    http://inside-apex.blogspot.com/2007/02/hacking-apex-builder-part-3.html and
    http://inside-apex.blogspot.com/2007/02/hacking-apex-builder-part-1.html
    On the blog you will also find some videos demonstrating the features of the plugin.
    If you have some good ideas enhancing the plugin, let me know!
    Have fun using it
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

    If you have some good ideas enhancing the plugin, let me know!
    Patrick: As always, great work! There are some areas in the Builder that definitely need some productivity enhancements. And Greasemonkey (and its CSS companion Stylish) are the ultimate "self empowerment" tools! Don't like something about a website, fire up GM and change it!
    [I am sure the APEX team is paying close attention and will incorporate some of these enhancements into upcoming versions of the product]
    My pet peeve is re-ordering columns on the Report Attributes page (4000:420). The up/down arrows introduced in 2.2 are a welcome enhancement over the earlier versions where every up/down incurred a page refresh, but re-ordering items in a list is a task that just has to be done via drag-and-drop! I agree with http://pages.citebite.com/x1q1a3g0v2ony
    What I usually do is just fire up the Javascript shell bookmarklet http://www.squarefree.com/shell/ from the page I need and type away, loading other JS libraries as needed.
    For this particular case, what I do is http://i9.tinypic.com/499ipsp.jpg
    Loading up those 3 Scriptaculous libraries and making the relevant TBODY a "Sortable" is all that is needed.
    Works like a charm, I can re-order the rows by dragging anywhere on the row. The visual feedback is not very intuitive (ghosting:false) but as per the Scriptaculous folks, this is a limitation with current browsers (that TABLE, TBODY, etc block elements are not able to be properly moved around the DOM). See http://pages.citebite.com/t1j1m3v0j1qwd
    After all the dragging and dropping is done, just call that "reorder_set()" function to reset the internal array before clicking Apply Changes. Works like a charm. Yes, that reorder_set() function should be called automatically via one of the "drag stop" callback hooks provided by the Sortable object, I tried using the onUpdate but it didn't quite work.
    [I tried doing this using the Interface plugin for the jQuery toolkit but it doesn't quite work right, see http://www.nabble.com/forum/ViewPost.jtp?post=7527146&framed=y for details]
    See if you can integrate this into your framework if you get a chance.
    Thanks

  • Up and Down Buttons in ALV Grid

    Hi,
    If you open the Sorting Screen of an ALV Grid, you can select Columns you want to see and you can rearange them by clicking this Up and Down Buttons. Are these up and down buttons Standard or are they only available in this Sorting Screen? Because i also want to allow the user to sort entries in an own ALV Grid by rearranging the entries with Up and Down buttons. Do i have to add them by my own or is there a standard feature. I saw that there is an Move Row Function, but i did not found any documentation on that.
    Thanks,

    Jonhy:
    This is a little example with ALV,  you can see basically are tree things:
    1.- Create fieldcat
    2.-  Have internal table with informacion
    3.- CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    All buttons into ALV Tool Bar are standar,  and you can hide/show them, or in some case changed a lot of behavior.
    Documentation?
    TAW10_3   ALV Grid control Unit, is a excelent chapter to start.
    TYPE-POOLS: slis.
    TABLES: SPFLI.
    data: IT_SPFLI like spfli occurs 0 with header line.
    data: t_fieldcat TYPE slis_t_fieldcat_alv,
          fs_fieldcat LIKE LINE OF t_fieldcat.
    select-options: s_carrid for spfli-carrid,
                    s_connid for spfli-connid.
    SELECT * FROM SPFLI INTO TABLE it_spfli
      where CARRID in s_carrid and
            CONNID in s_connid .
    fs_fieldcat-fieldname = 'CARRID'.
    fs_fieldcat-ref_tabname = 'SPFLI'.
    fs_fieldcat-col_pos = 1.
    fs_fieldcat-key = 'X'.
    APPEND fs_fieldcat TO t_fieldcat.
    CLEAR fs_fieldcat .
    fs_fieldcat-fieldname = 'CONNID'.
    fs_fieldcat-ref_tabname = 'SPFLI'.
    fs_fieldcat-col_pos = 2.
    fs_fieldcat-key = 'X'.
    APPEND fs_fieldcat TO t_fieldcat.
    CLEAR fs_fieldcat .
    fs_fieldcat-fieldname = 'DISTANCE'.
    fs_fieldcat-ref_tabname = 'SPFLI'.
    fs_fieldcat-col_pos = 3.
    fs_fieldcat-key = ' '.
    APPEND fs_fieldcat TO t_fieldcat.
    CLEAR fs_fieldcat.
    fs_fieldcat-fieldname = 'CITYFROM'.
    fs_fieldcat-ref_tabname = 'SPFLI'.
    fs_fieldcat-col_pos = 4.
    fs_fieldcat-key = ' '.
    APPEND fs_fieldcat TO t_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
       I_CALLBACK_PROGRAM                = sy-repid
       IT_FIELDCAT                       = t_fieldcat
      TABLES
        t_outtab                          = it_spfli.
    Enjoy the example.
    Regards
    José Luis

  • Adding radio button to each row of an interactive report: possible or not?

    First of all let me explain what the point of this application is.
    I'm making an application that allows a user to select something out of a drop-down select list. This list is a list of categories for food. Let's say the user selects "Fruit".
    Then the page refreshes and shows an interactive report with a list of food that belongs to the category of fruit.
    Here's where I want to change things:
    I want the user to see the interactive report, but in this interactive report I want to add a radio button for each row.
    Then, when a certain type of food is selected (let's say "Strawberry") via the radio button, a text field should appear underneath the interactive report. In this textfield, the user can then add the weight of the food item, and then it will calculate how many carbs there are in the strawberry.
    All I really want to know is:*
    How do I add a radio button to each row of the interactive report, and how do I link this radio button to the value of that particular row?*
    Additional information:
    The item "P17_FOOD_CATEGORY" contains the following LOV:
    select FOODCATEGORYNAME as display_value, FOODCATEGORYID as return_value
    from FOODCATEGORY
    order by 1
    The "Food" region contains the following source:
    select a.FOODID, a.NAME, b.FOODCATEGORYNAME, c.STANDARDAMOUNT, c.NAME Unit
    from FOOD a inner join FOODCATEGORY b
    on a.FOODCATEGORYID = b.FOODCATEGORYID join FOODUNIT c
    on a.FOODID = c.FOODID
    where a.FOODCATEGORYID = :P17_SET_CATEGORY
    EDIT:
    PLEASE! Even if you don't know a good answer or if you are unsure about your answer, do post! Even suggestions would be welcome! I really need all the help I could get, even if it's not much.
    Edited by: 917169 on Feb 29, 2012 12:25 AM

    Hi there!
    I tried to change my code to your version, but then I get an error message:
    Error Unable to change Interactive Report query.
    ORA-12899: value too large for column "APEX_040100"."WWV_FLOW_WORKSHEET_COLUMNS"."DB_COLUMN_NAME" (actual: 32, maximum: 30)
    I don't quite know what this means. After doing a quick search on the internet, I know that this message should mean that the length of the value for the columns named "APEX_040100", "WWV_FLOW_WORKSHEET_COLUMNS" and "DB_COLUMN_NAME" is too long. But, I don't have these columns. I searched for them in my object browser, and they can't be found in any table related to my application.
    I'm sure your answer is the solution, but do you perhaps have an idea on how to solve this error? I checked the allowed maximum length for any column value that is related to my application, but they all have "50" set as the maximum value...
    Thank you for your reply. ;)

  • Can I change the order of lines in a drop-down menu?

    Can I change the order of items on a drop-down menu? Specifically, the "open" menu that comes up when I right-click on a link.
    Putting "open in new tab" on top of "in new window" makes sense, of course, since it is used more often. But I do a lot of surfing, and had the old position in muscle memory. Re-training my brain to click on the first line instead of the second is taking a long time, and makes me grumbly.
    I'd love to put it back to the old order. Can I? and, if so, how do I do it? (Please give me detailed instructions, IOW, please assume I am a complete simpleton, because sometimes I am.)
    HP G62 w/ Win 7 home premium. If it matters, it's 64-bit.
    And my old desktop, which has, yech, Vista. (I haven't upgraded it to F4 yet.)
    Thanks,
    Roo

    Where is that drop-down list, on a webpage?
    Please provide a screenshot of that issue. <br />
    https://support.mozilla.org/en-US/kb/how-do-i-create-screenshot-my-problem <br />
    It is best to use a compressed image type like PNG or JPG to save the screenshot and make sure that you do not exceed a maximum file size of 1 MB.
    Then use the '''Browse ....''' button below the '''''Post a Reply''''' text box to upload the screenshot.

  • Add Button to each row

    Hi all,
    Sorry about my english!!!
    My problem is that i'm trying to add a column to my report (tabular).
    That column has a button for each row and when this button is pressed is called a new page with the details of the record for that line.
    example:
    ID NAME BUTTON
    1 qwerty ver
    2 ASDFG ver
    "ver" is the button.
    Problem: how do i build a report with that button and after that how do i call in the pl/sql of the button the detail page?
    Thanks everyone.
    Using Release 2 9ias

    mail me i will send u demo file
    [email protected]

  • Lumia 720 volume down button not working

    Hey buddies, I'm using lumia 720 and often i get this volume down button not working.
    I changed the button by giving it in nokia care for 3times and still im facing the same problem.
    And also noticed that this is happening to most of the lumia 720's.
    so kindly look into it and rectify the problem as soon as possible.
    If there is any solution for this, kindly reply me.
    Thanks in advance...!

    Your only solution would be to return the unit back to nokia care for inspection,if there is a recurring issue with this im sure nokia would be aware of it now,and it could be a slight manufacturing defect which again would be looked into.
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Two radio button in each row of Table view

    Hi,
    I have a issue like two radio button should come in each row of the tableview and any one only can be selected and selected value should be assigned to a variable.
    Kindly help with coding in methods RENDOR_CELL_START AND RENDER_ROW_START.
    Thanks in Advance.
    Saravanan.

    Saravanan,
    If you keep the Radiobutton in 2 different column then it wil difficult to put it in one Radiobuttong Group. I am not sure its possible or not. I would suggest you do keep both the "Approved" & "Rejected" radio button in single column as shown below so that the memont "Rejected" is selected, "Approved" will be unchecked.
    WHEN 'Your Column'.
            DATA: RAD_GRP TYPE REF TO CL_HTMLB_RADIOBUTTONGROUP,
                     RAD_BTN  TYPE REF TO CL_HTMLB_RADIOBUTTON,
                     COL_BEE TYPE REF TO CL_BSP_BEE_TABLE.
              CREATE OBJECT COL_BEE.
              RAD_GRP = CL_HTMLB_RADIOBUTTONGROUP=>FACTORY(
                      ID = P_CELL_ID COLUMNCOUNT = '2' ).
              COL_BEE->ADD( ELEMENT = RAD_GRP LEVEL = 1 ).
              RAD_BTN ?= CL_HTMLB_RADIOBUTTON=>FACTORY( ID = '1' TEXT = 'Approved' ).
              COL_BEE->ADD( ELEMENT = RAD_BTN LEVEL = 2 ).
              RAD_BTN ?= CL_HTMLB_RADIOBUTTON=>FACTORY( ID = '2' TEXT = 'Rejected' ).
              COL_BEE->ADD( ELEMENT = RAD_BTN LEVEL = 2 ).
              P_REPLACEMENT_BEE ?= COL_BEE.
          ENDCASE.
    Again to get the selected radiobutton, use method REQUEST->GET_FORM_FIELDS
    DATA: GT_TIHTTPNVP TYPE TIHTTPNVP.
    REFRESH GT_TIHTTPNVP.
    CALL METHOD REQUEST->GET_FORM_FIELDS
      CHANGING
        FIELDS = GT_TIHTTPNVP.
    For example, suppose your 3r column has 2 radio buttons & In 1st Row if you've selected the radiobutton 2. THen get_form_fields return the below value.
    TV1_1_3 = 2. Here TV1 is tableview name & 1 - Row 1 & 3 -Column three. value 2 indicates that 2nd radio button is selected.
    DO 10 TIMES. "Here 10, stands for number of visible rows in tableview
    concantenate 'TV1' '_' sy-tabix '_' '3' into v_cell_id. "Here now v_cell_id will have TV1_1_3 for 1st row & etc..
    Read table GT_TIHTTPNVP into wa with key name = v_cell_id.
    if sy-subrc = 0.
    v_selected_rad_btn = wa-value. " THis will give you the selected radio button.
    endif.
    enddo.
    Hope this will solve your problem.
    Raja T
    Message was edited by:
            Raja Thangamani

  • How to display a button in every row in a report page

    I am new to HTML DB.I created an application based on an existing table. In the report page I want to include a button in every row that is returned. Can anyone suggest as to how this needs to be done.
    Thanks,
    Srini.

    When build your SQL type query region/report, you create a "button"/link like '<a href="f?p=9120:100:&SESSION.:SELECT:&DEBUG.::P100_USER_ID_LINK:'|| e.user_id || ">[select]</a>' button_url in ....
    select distinct '<a href="f?p=9120:100:&SESSION.:SELECT:&DEBUG.::P100_USER_ID_LINK:'|| e.user_id || ">[select]</a>' button_url
    , util_common.get_star_no(e.id) star_no
    , e.last_name
    , e.first_name
    , e.employee_no
    , e.unit_id
    , e.employee_position_cd
    , nvl(w.uod_cd, w.uoa_cd) unit
    from employees e, watch w
    where e.status_i = 'Y'
    and w.ssn_no = e.ssn
    and e.user_id not in (select c001
    from wwv_flow_collections
    where collection_name = 'ACTIVITY'
    )

  • Changing Row Color In JTable !

    Hi friends
    I have two JTables. The first one has 7 columns and 10 rows (with data) but the second one is empty.
    The user can choose one row from first table and by pressing the ((copy)) button , copy that row to the second table. Is it possible to change the color of those rows(in the first table) that been copied to the second table. I mean if the user choose a row and copy then to the second table, the color of this row wold be changed.
    Can anybody help me with that??
    Thanks

    I think you are heading in the wrong direction here... you want to create a brand new DefaultTableCellRenderer and override the getTableCellRendererComponent method...
    public class MyRenderer extends DefaultTableCellRenderer {
      public Component getTableCellRendererComponent(JTable table, Object value,
                              boolean isSelected, boolean hasFocus, int row, int column) {
                  JLabel lbl = (JLabel) super.getTableCellRendererComponent(table, value, isSelected, hasFocus,
                               row, column);
                  //now I can change the background color depending on the row...
                  if (row == xxx) lbl.setBackground(Color.red);
    }Then use your new class on your table...
    <table.setDefaultRenderer(Object.class, new MyRenderer()); //the class must match what you TableModel returns for getColumnClass();Hope this helps,
    Josh Castagno
    http://www.jdc-software.com
    Hope this helps

Maybe you are looking for

  • How can I log into my account on another computer

    Im using a different computer that has another persons Itunes on it. How can I log them out and see all the music I have and be able to download new music to my account?

  • Onclick doesn't work with images

    why would you not encorporate the onclick event for images, images are after all such a big part of webpages, it severly messes up so many websites, can you please make the next version work onclick for images? == URL of affected sites == http:// ==

  • IPod is really dead...

    I've had my iPod for almost two years and its been working swell, I let a friend of mine borrow it, she ended up dropping it on cement, but I was able to get a replacement screen for cheap and it looked almost new (still had that "tiny" bump") It als

  • How can I set the width of a Text element?

    Hello! I have created a custom button with this class: import javafx.scene.Node; import javafx.scene.CustomNode; import javafx.scene.Group; import javafx.scene.Cursor; import javafx.scene.shape.Rectangle; import javafx.scene.paint.Color; import javaf

  • Link in autoreply...

    Hi everyone! Is there a way to include a link in the standard autoreply rule in Mail.app? Thanks, Reggie