How to disable the popup LOV (query based LOV) tabular

Hello

I need help. I need to make a line in a table form the read-only AND disable the Popup LOV (LOV based query). As you can see in the code below all rows with a value of "AUD" becomes read-only. Column 5 is a Popup LOV (query based LOV), and must have become read only AND disabled also. Currently, the code performs the lines = "AUD" read-only, but the user can still click on the Popup LOV this line and select a value from the list, then updates the row.

All solutions?

function makeRowReadOnly() {}
{$('select[name="f06"]').each (function ()}
var row_val = $(this) .val ();
ROW_ID var = $(this).attr('id').substr (4);
If (row_val is "AUD")
{
$("#f02_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f03_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f04_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f05_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f06_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
$("#f07_"_+_row_id).attr ("readonly", true) .addClass ('row_item_disabled');
}
else {}
$("#f02_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f03_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f04_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f05_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f06_"+row_id).attr ("readonly", false) .removeClass ('row_item_disabled');
$("#f07_"+row_id) .attr ("readonly", false).removeClass('row_item_disabled');
}
});
}

Hi dekoke_i,

I tried this on my local instance of APEX 4.2:

function makeRowReadOnly() {
$('select[name="f06"]').each(function() {
var row_val = $(this).val();
var row_id = $(this).attr('id').substr(4);
if (row_val == 'AUD ')
  {
    $("#f02_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    $("#f03_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    $("#f04_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    $("#f05_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    //make the popup-lov button readonly
    $('#f05_' + row_id).closest('tr').find('td span.lov a').addClass('row_item_disabled').unbind('click');
    $("#f06_" + row_id).attr("readonly", true).addClass('row_item_disabled');
    $("#f07_" + row_id).attr("readonly", true).addClass('row_item_disabled');
  }
else {
  $("#f02_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
  $("#f03_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
  $("#f04_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
  $("#f05_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
  //enable the popup-lov button
  $("#f05_"+row_id).closest('tr').find('td span.lov a').removeClass('row_item_disabled').bind('click');
  $("#f06_"+row_id).attr("readonly", false).removeClass('row_item_disabled');
  $("#f07_"+row_id).attr("readonly",false).removeClass('row_item_disabled');
  }
}

I hope this helps!

Kind regards

Kiran

Tags: Database

Similar Questions

  • How to disable the popup LOV

    I have a few items I have disable according to another article with the code in the footer 'region' below.

    The item is grayed and you can not enter anydata inside, but the Popup LOV is always enabled.
    So you can call it upward, select a value, and it will enter in the item.

    How can I disable also Popup LOV icon next to the field of entry points?
    Thank you.


    Code region Footer of the four elements with the Popup LOV
    < script >
    $f_DisableOnValue ('P8_REC_COUNT', '1', 'P8_OFFSET_FUND_CODE');
    $f_DisableOnValue ('P8_REC_COUNT', '1', 'P8_OFFSET_ACCT_CODE');
    $f_DisableOnValue ('P8_REC_COUNT', '1', 'P8_OFFSET_PROG_CODE');
    $f_DisableOnValue ('P8_REC_COUNT', '1', 'P8_OFFSET_LOC_CODE');
    < /script >

    Published by: SPoulos on April 8, 2010 10:12

    Use the event of js on Exchange. Expand the code js with the names of your items.
    Or, use ajax for displays of apex of queries and to know what elements are popup and disable
    those who use the ajax response.

    Dene

  • disable the Popup LOV and its icon in a tabular form

    Hello

    My requirement is

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    Kind regards

    Arianne.

    Hi ujwala1234,

    ujwala1234 wrote:

    I want to disable Popup LOV and tabular icon.

    If I select the first value in column selection list 'A' then second column Empname disable window popup lov

    and if I select 'B' and then select empname popup lov.

    You can do it by using dynamic action.

    Use the javascript code in the next thread to turn lov popup tabular icon.

    Reference: How to disable the popup LOV (query based LOV) in the form

    and related to put on over ReadOnly rank tabular thread

    NOTE: instead of setting custom "row_item_disabled" CSS class use the integrated class APEX "apex_disabled."

    If it is still impossible to solve, re - produce the question on apex.oracle.com and share the credentials from the workspace.

    Kind regards

    Kiran

  • How to disable the popups HP Rewards

    Hello

    Whenever I change the cartridge of my Officejet Pro 8600, I get 2 windows pop up on some "HP Rewards" program:

    It's really annoying. I don't care about HP Rewards, I just want to print.

    Please tell me how I can uninstall or disable these windows.

    Thanks in advance

    Dan

    An option completely uninstall the HP software, then using the Apple HP printer drivers. Here are the steps if you want to try this:

    1. go in Applications/Hewlett Packard / then click on 'uninstall from HP.

    2. then click on "continue".

    3. put the device in the left pane highlighted.

    4 press and hold Ctrl + alt + command of the keyboard at the same time as you click on "Uninstall".

    5. Once you do this, you will see a pop-up that asks you if you want to uninstall all HP software. Please note that, in doing so, it will remove all other HP printers that you have also installed.

    6. click "continue" and wait for the program to finish.

    7. Once completed, restart your computer.

    Once the computer is back on, perform the following steps:

    CAUTION: This will delete all your printers.

    1. go to "System Preferences" and select "Print & Scan" or "print and Fax".

    2. a right click (or Ctrl + click) on the rectangle listing your printers, then select "Reset Printing System".

    Once you have reset the printing system, make sure that you have the newest HP driver package installed.

    You can do two ways. First, look for any HP Update available by clicking the Apple icon, then software updated. If there are updates available, they should appear here. However, if the printer is connected via USB, it won't show available updates. The other option is to download the drivers from the Apple site.

    You can download it here: http://support.apple.com/downloads/DL907/en_US/HPPrinterDrivers2.14.dmg

    Once you have downloaded the driver package and the installation is complete, you want to plug your printer in return (if you are using a USB connection).  After that the printer is reconnected, go into the settings to print under system preferences > print & scanning. To add the printer, click on the plus sign. You should see your printer listed here. If not, click on 'add the printer or Scanner. Click on the name of your printer, then click on "use:" box.  Make sure that tells the name of the printer and not AirPrint. If you use the wireless printer, make sure the printer ' type: ' is set to Hi or Hello multifunction. Click on 'Add' down in the lower right.

    This will add your printer to the latest HP help available by Apple printer driver. Let me know if this helps solve your problem or not. If it isn't, do let me know I'll see what I can do.

    Good luck

    Kyle

  • How can I disable the popup control in the user account that appears on my desktop to allow or reject the changes when I open a program without changing my user account settings.

    Original title: uac

    How can I disable the popup control in the user account that appears on my desktop to allow or reject the changes when I open a program without changing my user account settings.

    You want should not do that. These pop-up UAC is there to ensure the interaction of the user before executing a command or program. Disabling, allows even unwanted programs (= malware, viruses, Trojans) go ahead and implement themselves on your system without being noticed.

  • How to disable the Date/time and the side Pop out window of Windows 8.1

    When I move my cursor/arrow on my touchpad on my laptop 11 flow through the office, or sometimes on a web page, for example, the date and time pop - up down to left and the research / action / start / devices / Setup window appears on the right side of the screen. It makes me crazy. How can I disable this feature of the software?  If I need them, I can simple enter the windows on the bottom of the screen icon. In its current form, it is playing all the time and I want to turn it off. Thank you.

    HP PC laptop flow 11 model: 11-d010nr, product number: K2L95UA #ABA, file system NTFS, Intel Celeron CPU N2840 2.16 GHz, RAM 2.00 GB, 64-bit x 64 based processor, 8.1 with Bing Windows operating system, HP USB 3.0 flash drive 128 GB, Sandisk Ultra SDHC 32 GB FAT 32 memory card

    Hello @BubuBaby,

    Thank you for visiting the HP Forums! A place where you can find solutions for your problems, with the help of the community!

    I stumbled upon your post on the laptop and wanted to help you! I looked in your question about your HP Notebook PC 11 workflow and settings of Touchpad not working not properly. You can disable the popup of charms by right-clicking on the desktop go to properties. In the properties of Navigation window and the taskbar, click the Navigation tab and uncheck the box - when I point to the upper right corner, show the charms.

    Here is a document on how to troubleshoot the Touchpad, if you need it.

    If you proceed to the section setting of TouchPad pointing the sensitivities it should help solve the problem. Enable or disable individual gestures by clicking the check box next to each item. A check mark in the check box indicates that the gesture is turned on.

    Hope this fixes the Touchpad settings.

    Thank you.

  • How to disable the backup works when you print an email?

    How to disable the backup works when you print an email.  Whenever I try to print an e-mail, save it as a PDF is displayed.  I then have to save, then open the file to print.

    Hello

    Thanks for posting your query on the Microsoft Community.

    To disable this feature, you need to uninstall Adobe reader and then check if still back you the question quickly.

    Kind regards

    Jesinta Rozario

  • Connect Live Family Safety Windows appears frequently, how to disable the option to appear?

    Login page Windows live family safety keeps popping up and showing "ask your parent to sign in so family security can get the last parameters. Please let me know how to disable this popup option?

    Hello SupportRI,

    Unfortunately, there is no option to completely remove the notification regarding the safety of the family. It is designed for you to receive such notices on what is blocked so they can create a request on the email registered.

    For more information, please visit this link.

    You can also submit your feedback on this feature because it will be reviewed by Microsoft who appreciates the ideas to improve the program.

    For what is a workaround, you can hide this notification (on Windows 7) by clicking on the icon of ^ on the lower right side of the toolbar, click Customize and choose :notifications and icon of the ide for parental control.

    Thank you.

  • How to disable the annoying message "Printer cartridges no HP installed" on Windows 7?

    How to disable the annoying message "Printer cartridges no HP installed" on Windows 7? I have a HP Officejet 6500 has more and there is a way to disable those annoying pop ups. First of all, why HP can't fix their software to display only 1 message. If I turn on my printer, I get about 5 popups when the 3-minute delay. Is - this embarrassing? You bet, I do not turn off my printer more to avoid these messages. There must be a registry entry that I can delete gladly. Ideas? If you are an employee of HP, please do not give the Conference on "genuine cartridges" and how you take care of your printer. I've had my printer for 7 years and never had a problem with cartridges not HP. They are all made in China.

    This isn't a bad idea, but this does not resolve the issue. There are many complaints from customers about these annoying messages. All HP needs to do is to say to their developers to add a function to disable this feature. What is a marketing thing? Yes, it's a boring marketing question that should really be fixed. It's like Windows display constantly that your device drivers are not fully tested. Of course, when a customer buys a product at a lower price, they take this risk. I hate to be notified 365 days a year that my cartridges are not authentic.

  • How to disable the search feature in inputComboboxListOfValues

    Hello

    I'm working on Jdeveloper version 11.1.1.6.0. I use the component 'inputComboboxListOfValues '.

    How to disable the search feature in inputComboboxListOfValues?

    Frank Nimphius-Oracle

    I saw a topic archived for even where you replied on

    AF | {inputComboboxListOfValues::search}

    visibility: hidden

    }


    But when I use it, I'm getting some unknown pseudo class look in the css source file while pasting your code.

    Pls help.


    Thank you

    Hey, Timo,.

    Found the solution,

    LOV > UI advice > list Searh > include the search box > select No research

    Search link will be disabled in the drop-down list box drop-down list

    Thank you

  • How to disable the adf with advanced search button

    Hello

    How to disable the advanced search button or Basic in adf af:query

    -sevanan

    User, please tell us your jdev version!

    To do this, you use the property modeChangeVisible of the af:query component.

    Timo

  • How to disable the iconifibility of a window?

    How to disable the iconifibility of a window? like the resizability can make. So, the behaviors of the window as a dialogue or a popup with the only ability of resealable.

    Hello

    the button "iconify" individually is not possible now, we followed the request here: https://javafx-jira.kenai.com/browse/RT-31903

    For the contextual dialog box which is only at closing, you can use UTILITY step style:

    Stage popupDialog = new Stage(StageStyle.UTILITY);
    
  • To hide the popup Lov dialog when running

    Hello

    I use ADF 12 c. My requirement is to hide the popup dialogue Lov when I click on the magnifying glass icon in the component InputListOfValues. I wrote the following in the LaunchPopupListener of the InputListOfValues component property. Always I get the popup Lov dialog, please guide me to solve this scenario.

    public void lov1Launch (LaunchPopupEvent launchPopupEvent) {}

    {if (launchPopupEvent.isLaunchPopup ())}

    launchPopupEvent.setLaunchPopup (false);

    launchPopupEvent.queue ();

    }

    }

    Mustapha

    Well, it does work if you click on the lov icon (it probably should, but it doesn't).

    Check with the help of the values in the list of components - 11 g Release 2 (11.1.2.2.0)

    "If you want to add the AutoComplete feature when the user moves after entering a partial entry, you will need to disable the custom context menu. In your LaunchPopupListener() code, add launchPopupEvent.setLaunchPopup(false) to prevent the custom context menu when the user is moving on. By clicking on the link search will launch always research and the Select dialog box.

    Dario

  • How to stop the Popup Adobe when printing?

    I am constantly creating PDF files using Adobe Acrobat Professional 7.0. Create from several programs: Office Word, Excel, Paint, Etc. as well as AutoCADD.  I create them using Adobe as a printer, so printing to PDF. Once the PDF has been created since the other program via Adobe printing, the new PDF opens for viewing. I'm ok with that; However I then click on another program and after a few seconds the PDF file appears again. Even if I close a few seconds later, he appears again. When I print several sheets of a program, I jump back and the popup function slows me down up to big-time or cause me to spoil the files I work with.

    How to stop the Popup from Adobe?

    You must check the program setting Distiller, the Adobe PDF printer properties and Acrobat PDF conversion settings and disable the "view PDF results.

  • How to disable the SOS on Apple Watch 2 function

    How to disable the SOS on Apple Watch 2 function?

    Hello

    It is not currently possible to completely disable the SOS emergency feature.

    However, to disable "hold to call auto":

    • On your iPhone, in the application of the watch, go to: Watch My > General > emergency SOS - deactivate Hold to call self.

Maybe you are looking for