Hiding columns, regions and tabs with Javascript

Hello fellow users Apex,.

I use APEX 3.2.1 and am having a problem of Javascript. I'm doing a column disappear as soon as the user selects 'No' in the menu dropdown.
TheAPI to disable a column works fine:
$f_DisableOnValue(pThis,pValue,pThat) 
and the example code (going on the attributes of the Form HTML element):
 onchange="html_DisableOnValue(this,'No', 'P16_EXAMPLE_COLUMN');"
However, when I try to customize the API for 'Hide on the value' nothing happens.
This is the API:
$f_Hide_On_Value_Item(pThis,pThat,pValue) 
and my code, example:
 onchange="html_ Hide_On_Value_Item (this, 'P16_BUDGET_CODE', 'N');" 
Please tell me what I'm doing wrong. In addition, please tell me if we can dynamically make regions and tabs disappear.

Thank you
Mauricio

Well, Yes, you need to use javascript, but I'm still not exactly to your needs... So lets make an example...

P_ITEM1 form HTML - Checkbox - attributes element

onChange="doMyThing(this);"

Header HTML of the page includes then this...


I get anywhere near what you are looking for?

See you soon

Ben

Published by: Munky on December 7, 2009 20:57

Tags: Database

Similar Questions

  • Switch tabs with Javascript error

    I am using Javascript to change the tabs using the following

    mainScreen.activeTab = at (0);

    Screen match the id of my TabbedPane in main.qml

    I return the error

    Error: Cannot assign QObject * to bb::cascades:Tab *.

    My solution to this was to change tab by id instead of the index.

    Still not sure why tab was set to null.

  • Is it possible to work with JavaScript in JUST ONE TAB and not on others

    I usually browse websites with javascript is disabled. But sites like facebook and youtube need javascript. So what I really want is to just run these sites on legs with active javascript and run the other tabs without it.

    Try noscript. It can be a pain to get the installer at the beginning because you need allow all areas that you want to allow JavaScript for, but that market either tabs or windows.

    https://addons.Mozilla.org/en-us/Firefox/addon/NoScript/

  • The passage to the line/column in the ListBox with enter/tab?

    I have a ListBox, in which I load several columns, ranks multiple excel files. Once I've selected a single cell to motify it, I would move down to the next line to the right or to the left / to the next column with the enter and tab keys respectively? It would be especially nice to be able to move to the next cell with it being active, so that I can make changes without touching the mouse pointer.

    Is it possible to do?

    LV2014

  • I need to convert PDF to Excel, however, the columns and tabs make many merged cells and the number of columns empty. In addition to not separate the columns properly, I see many not separate lines together in the same cell. I think same as Adobe Acrobat

    I need to convert PDF to Excel, however, the columns and tabs make many merged cells and the number of columns empty. In addition to not separate the columns properly, I see many not separate lines together in the same cell. I even think that Adobe Acrobat Pro DC has limits. There is no way to set what points in columns to force the column break? Or create several columns that are unnecessary? How column in Excel, size fixed when import us text and define where breaks have columns of text?

    Google Tradutor para empresas:Google para appsTradutor sitesGlobal market Finder traducao Toolkit

    Acts traducao Instantaneasobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar comments

    PDF does not contain columns, lines, formats, styles or other aspects of word processing or spreadsheet file formats.

    This is because the PDF is decidedly not a file format of word processor or a spreadsheet or something 'like' one of these.

    (see ISO 32000 for what PDF "is")

    Which allows to optimize the export of the content of a page PDF is to start with that tag well formed PDF (ISO 14289-1, PDF/UA-1).

    Without that export is what it is and we performs the cleanup of any necessary content using the native application for the export of files (MS Word or Excel).

    Be well...

  • DROP table and CREATE with column name and ORA: 00904

    Hello
    I created a table with an attribute date CRTD_ON and two other attributes. Successfully created. I can see the data tab and the window empty data with column names in the header...
    Now, I had to change the name of field attribute date on OPNG_DATE so I don't bother to change, instead, I deleted and created with the name of the column has changed. Then I restart the ddl. Once again managed to create. But this time I am not able to see the data tab or the column headings. And I see the error of the log of the data Publisher ORA-00904: "CRTD_ON": invalid identifier
    Is this a bug?

    There is a current bug where you will get the data if you have a public synonym with the same table name pointing to another table with another structure. Can you confirm that in your environment?

    K.

  • Tabs with region

    Hello
    How can I create tabs with the region.



    Thank you
    Maury

    Hi Maury,

    a tab is just a normal page. So to create a tab, you create a Page in the wizard, and then specify what type of tab that you want to use.

    Try to work through the tutorials on [http://www.oracle.com/technology/products/database/application_express/html/doc.html], for example day 2 Developer's guide will give you a good kickstart.

    brgds,

    Peter

  • The address and tab bar disappeared with the new update.

    While I was out today my computer updated itself and when I got back, I could see is no longer my tabs, the address bar or the menu bar, while on firefox, it shows me just the page that I am consulting... The address bar and the tabs appear when I move my cursor to the top of the screen, but disappear again as soon as I have it away. I prefer much the old way because he lets me keep track of what I was doing at the same time without having to move my cursor all over the screen. Is there a way I can get it back to the old where I can see all at once?

    The sounds that you spent in mode full screen.

    Make sure that you run not Firefox mode full screen (press F11 or Fn + F11 to toggle; Mac: Command + SHIFT + F).

    If you are in full screen view then hover over with the mouse to the top of the screen to facilitate the bar appear Navigation and tab bar.
    Click the expand (in the top right Navigation bar) to exit full screen or right-click on a space empty on a toolbar and select "exit full screen" or press the F11 key.

  • I updated FF to 15.0.1; now there is no new tabs boxes, and I can't remove a tab with scroll wheel.

    I use Windows XP.
    Then, he used to be a small square next to the last tab box open that I could click to open a new tab. Now, I can just open a new tab if I double click on a space empty next to the last open tab.
    And I used to be able to open a group of tabs, to do what I had to do and then click Center mouse scroll to the bottom of the line to delete what I have is no longer necessary. Now, the only way I can close tabs is to use the x on the right side of the tab I'm currently. But, sometimes it does not work...
    Nothing has changed about how I put FF in place - just the update.

    You can open a new tab with Ctrl-t. You should be able to find the new tab button in the Customize window toolbar. You can replace it. If the Middle-click to remove is no longer a tab, you can use Ctrl-left click.

  • How can I get rid of 3 additional tabs that appear when I start Firefox? they are: Getting Started with Mozilla, Video downloadHelper, and Tab Mix Plus?

    This problem started when I downloaded firefox 8 and is always there with version 9.0.1. The Video DownloadHelper and Tab Mix Plus announce new updates that have been installed for weeks. How can I stop this?

    See the following for a few suggestions:

  • I downloaded 4 FF and now 5 and nor with my screen looks nothing like it says on the page of FF. For example, I don't have the orange FF tab in the upper left corner, I have no "PIN as app" option, nor do I view. Can someone help me please?

    I downloaded 4 FF and now 5 and nor with my screen looks nothing like it says on the page of FF. For example, I don't have the orange FF tab in the upper left corner, I have no "PIN as app" option, nor do I view. Can someone help me please?

    To get the orange FF tab, go to view > toolbars > menu bar. This should uncheck the menu bar giving you the orange button.

    Panorama is a box made of 4 gray rectangles which should be on the far right, if not once you activate the orange FF tab, right click anywhere on a toolbar that doesn't has nothing to this topic, and you should get a menu with a list of your toolbars that you can check and uncheck the box. Come on down to personalize everything down and it will open a window with all your buttons. Find groups of panorama/tab button and drag it to the toolbar of your choice.

    to pin a tab as an app, right-click on it; It is an option in the context menu.

  • I can't stop the pop-up and adware ads in Safari. When I opened a new take, it is locked until I click a place twice, then two new tabs with advertising and virus detected by safari emerge

    I can't stop the pop-up and adware ads in Safari. When I opened a new take, it is locked until I click a place twice, then two new tabs with advertising and virus detected by safari emerge

    I tried following the instructions on the support page, in Apple, but it did not work.

    Force to leave Safari, then with the SHIFT key, restart Safari.

    Also use EtreCheck of www.etrecheck.com and see what else is running.

  • How to get the string (specified by row and column) of txt file with labview

    Hello world

    How to get the string (specified by row and column) of txt file with labview

    THX

    As far as I know, a text file has no column.  Be more specific.  Do you mean something like the 5th word on line 4, where the words are separated by a space, and lines are separated by a newline character?  You can read from the spreadsheet String function and set the delimiter to a space.  This will produce a 2D channels table.  Then use the table to index and give the line number and column number.

  • I'm on the 4.1.1.00.23 Apex vesion. I've created a classic report and I am trying to sort. Here's how I'm trying to sort by column name. I have TotPGPV with sorting sequence 1 desc and NewTOTPGPV with sorting sequence 2 desc. I have Count1, Count5 with t

    I'm on version 4.1.1.00.23 of the APEX. I've created a classic report and I am trying to sort. Here's how I'm trying to sort by column name. I have TotPGPV with sorting sequence 1 desc and NewTOTPGPV with sorting sequence 2 desc. I have Count1, Count5 with the sort column. What I'm asking is when the report is run can column sorting to default Count1 and Count5 descending instead of the ascendant. I don't see anywhere to set the default value for the sort column.

    Hi - on the report of the page attributes - that you show in your attached screenshot - you can select the columns to sort on the sort sequence as well as the direction of the sort, i.e. for a given column, you can choose to allow sorting on this column, what position this column must be in the sort sequence and whether to sort Ascending or descending by default (i.e. '1' means sort this column first and bottom-up and "1 desc") sort this column first and downhill). Don't forget that once you click on one of the headings of column during execution, it changes your sort settings and these settings are stored in your preferences, that is, they are used again the next time you log in your application and rerun the report.

    Kind regards
    Marc

  • I'm trying to generate an arithmetic and geometric series/sequence with JavaScript.

    I try to generate an average arithmetic and geometric
    series/sequence with JavaScript. The thing that makes this challenge is that
    I use user input to determine the parts of the formula that I use for
    generate each sequence. I tried running the formulas, but I learned that I was
    channels running through them and not numbers. How to generate my
    sequences/series and always use user input? PS, here's my formulas: (a1-East
    first term, d and r are difference/ratio, and n is the n-th term)

    1.) a1 + d * n  

    2.)a1 * r^n

    Entry user of a form is always a string. There are several ways to convert a string to a number in JavaScript:

    • Pass it as an argument to Number()
    • Pass it as an argument to parseInt() (for an integer)
    • Pass it as an argument to parseFloat() (for a floating-point number)

Maybe you are looking for

  • ENVY 7540: More ink to copy or print?

    May be a stupid question, but is an inkjet printer using more, less or about the same amount of ink than printing or print on glass?

  • Problem with KB2229593 Continuning

    I hope that this will help make the lighter on the probem I meet andy useful suggestions would be welcome. I checked the log file for KB2229593 and for the following: 2010/07/15 11:31:07.203 (local)0,859: C:\WINDOWS\SoftwareDistribution\Download\2c0d

  • How can I unstall a contact on my email account?

    Without knowing it, I opened an e-mail which proved *. It seems to be a must because there is no address on the e-mail. I can find a very long address on the properties, but when I double click the contact there is no way to remove it. Help!

  • A key, but not cd/dvd for the operating system

    I received my new computer, but did not come with the operating system installed. It has the key for windows vista, but not CD... How to install the operating system

  • Smartphones Viber blackBerry problem

    Hi all I use BlackBerry Curve 9320, when I want to download viber, I get this message "Unavilable for this device.