Dynamic action - Hide and show interactive report
Helloin the apex community tip http://www.oracle.com/global/de/community/tipps/apex40-dynamicactions/index.html (only in German), there is an example to hide and show a report interactive by dynamic actions.
The approach described in the article should be case for normal or interactive reports.
But in my case it works for normal relations. I am not able to update or hide the interacitve dynamic equity report.
Has anyone had similar experience?
Greetings
Michael
Hello
You are welcome.
* It is considered good etiquette to the responses of reward with points (as "useful" - 5 pts - or 'correct' - 10pts). :)
Thank you
Logaa
Tags: Database
Similar Questions
-
Dynamic action with refreshment area interactive report
Hello!
I use APEX 4.02
I have a page with 2 regions.
Region1 is a form (of entry)
Region.2 is an interactive report on the same table as region 1
When you enter values in the form I'm trying dynmically similar research records in the table with the interactive report.
I made a dynamic action on the change of form fields that must refresh the interactive report region. I can see this one fires if I add an alert to debug if it fires.
The dynamic report is based on a query with bind variable pointing to the fields in the form, for example
where
Field1 =: P2_FIELD1
It works fine on the page loading, so no action is triggered, but I see the lines in the region of report are the ones I'm looking for.
The updating of the report area does not work, but it is never nice and/or showing the correct data after a change of form fields, if it looks like the dynamic action "refresh the region" does not work on the interactive report.
Any ideas why it can go wrong?
I want to solve this problem using standard dynamic actions and preferably not via PL/SQL or JS, should be possible if I believe documentation... ;)
See you soon
Bottom
Published by: bklerk on 26-apr-2011 03:07Hello
Check this example application
http://Apex.Oracle.com/pls/OTN/f?p=39830:38You can download and check the source
Kind regards
Jari -
Automatically expand a Hide and Show model region when the Page loads
Hello
I work with a Hide and Show region model, and I'm trying to accomplish the following:
When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.
I use Apex 4.1.1.
Any ideas?
Thank you
ErickHello Joe,
Thank you for your response.
This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.
For those interested, check this thead element: Re: hide/show the region
Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();
Thank you
Erick
-
Hide and show region - open if Item not Null
Hello
I use APEX 4.0 and can not find a way to get the skin and see the region develop if a Page element has a value (is not Null) in the region, without clicking the sign more. I would like it done automatically based on an item that has a value or not. null or not null. I know how to have always hide it and see the region see the/develop once the shape is present. But if the item is null the region hosts not on the loading of the page, but when an element has the value when the page opens, I want the area to be open / extend without having to click the sign more. I searched the forum and found a large number of threads to have just the Hide and Show open area / develop once the form on the page is open, but not what I need now. Thanks for reading this thread and look forward to a support for this issue.Hi Charles,
I created a dynamic action on page 7, it works as expected.
This code will only work with your current theme, because the rocker is made according to the css class of the > icon (as you can see in the live action)
Thank you
-
Lack of "automatically hide and show the menu bar.
Hi all, I want to hide my menu bar. I watched how disappear - it turns out that the checkbox "automatically hide / show menu bar" is missing. It is supposed to be under "use donkere menubalk en donker Dock. Why is it missing? Thank you very much!
Hi Mjappie
This feature has been added in El Capitan.
You must update to 10.11.3 to hide and show the menu bar.
-
Hello
I use hide and show areas on my page. But now I have a problem. Whenever the page is reloaded, all regions are reduced. Is it possible to ensure that the regions that have been opened, are open again when the page reloads.
Thanks in advance,
Bram.Hi Bram
Check this.
[http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY]
See you soon
Ben
-
Dynamic action to hide and show a button
Hello
How to set the dynamic Action on an item Page (P4_DATA)
When the value is 0, then show the button (P4_BTN)
When the value is 1, then hide the button (P4_BTN)
I have a dynamic action that work very well, but only for the display option, does not work for a button
Thank youYou must add a handful to the button so that you can access in the Action(make sure that you have #BUTTON_ATTRIBUTES# substitution string referenced in your button template) dynamics.
in the attributes of the button, specifyID = "MY_BUTTON".
MY_BUTTON is just an example
"Now, when you choose assigned to the dynamic Action of the elements, you can choose" * selector DOM * "and specify MY_BUTTON"
-
dynamic actions - hide / show items
Hello
I'm looking on the application, say, 3 elements (Item_1, Item_2, Item_3), led by a group of radio buttons (with 2 entries option_A, Option_B)...
If a radio option_A group is selected, I want to show 2 items (Item_1, Item_2) and when option_B is selected, and then I just want to show a single point (Item_3)...
Please advice how to accomplish the above... a tutorial or a reference to the working example would be better...
Thank youHello
Suppose that the radio button is P5_RADIO and 3 elements are
P5_1, P5_2, and P5_5(1) create a dynamic Action. (Advanced)
(2) enter the name of dynamic Action, and then click Next
(3) event - select change
Selection type - selection item (s)
Product (s) - enter P5_RADIO
Condition: no strings attached
Click next
(4) action - select Execute javascript code
Uncheck the "fire on Page load.
(5) in the Code, enterif ($v('P5_RADIO') == 'A'){ $x_Show('P5_1'); $x_Show('P5_2'); $x_Hide('P5_3'); }else { $x_Hide('P5_1'); $x_Hide('P5_2'); $x_Show('P5_3'); }
Click next
Example: http://apex.oracle.com/pls/apex/f?p=27576:5
Kind regards
Shijesh -
Variable setting wrong with dynamic action for the region of report
Hello
I can't setting a variable. Here are the details of connection:
Connection information:
TCARMY workspace
User Apex_dev
Password dev_apex
Application 88542
Page 11
If you run the page 11 and just click on submit, there will be two rows. If you click on one, the modal region won't say no data found. If you click on the button submit once again, the value is passed if you click on it now, the results arrive. If you click on the second row, it still shows the value of the first row. If you click on submit again after clicking on the second line, then it is displayed correctly. It seems that the value is set to submit it. I want this to work when clicked, and then for the sql to run with the value that is in this variable when clicks on the element. There is a bit of javascript page level and dynamic action. Something is not right to the installation.
The modal window should popup and run the sql at that time with the variable data and view the two columns. And if the user clicks on the second row, it would display the data in the row.
Thank youTim
TC-army wrote:
If you run the page 11 and just click on submit, there will be two rows. If you click on one, the modal region won't say no data found. If you click on the button submit once again, the value is passed if you click on it now, the results arrive. If you click on the second row, it still shows the value of the first row. If you click on submit again after clicking on the second line, then it is displayed correctly. It seems that the value is set to submit it. I want this to work when clicked, and then for the sql to run with the value that is in this variable when clicks on the element. There is a bit of javascript page level and dynamic action. Something is not right to the installation.
What has not been set up right, it's that the element of P11_NAICNUMD parameter was not specified in the source attribute of Page to go to the region, modal Discount. The current value in the browser page, therefore, was not defined in session state when the report has been updated by the dynamic action. When
-
Hello world
I have an application page that contains a lov (gears). If a particular device is selected, I want to hide other fields. The value of the machine could be one of many. I created a dynamic action using javascript... but I'm really not familiar with javascript and can't seem to make it work. Note, there is a line below commented that compared to gear to the value of "500". This line works and mask fields... but I need to make it work for all possible values. Any help would be really appreciated!
Thank you, Karen
var no_size is ["000", "300", "320", "400", '500', '501', '550', "620", "630", "650", '662', '700', '750', '760', "803", "811"];.
$(". {Gear") .each (Function (index)}
If ($v (this) == '500')
If ($.inArray ($v (this), $no_size)) >-1
{
var rowTR is $x_UpTill (Thi, 'TR');.
$(rowTR).find(".) G_SIZE"). Hide();
$(rowTR).find(".) Stretch"). Hide();
$(rowTR).find(".) Mesh"). Hide();
}
});This seems to do the trick.
var no_size is ["000", "300", "320", "400", '500', '501', '550', "620", "630", "650", '662', '700', '750', '760', "803", "811"];.
$(". {Gear") .each (Function (index)}
If (no_size.indexOf ($v (this)) > - 1).
{
var rowTR is $x_UpTill (Thi, 'TR');.
$(rowTR).find(".) G_SIZE"). Hide();
$(rowTR).find(".) Stretch"). Hide();
$(rowTR).find(".) Mesh"). Hide();
}
on the other
{
var rowTR is $x_UpTill (Thi, 'TR');.
$(rowTR).find(".) G_SIZE"). Show();
$(rowTR).find(".) Stretch"). Show();
$(rowTR).find(".) Mesh"). Show();
}
}); -
How to hide and show based button if the line is selected in a table
Hello
IM pretty new to apex. I use version 4.1. I have a tabular form and I want to do is only have the button Show delete if I select a row in the column [line selector]. Is this possible using a dynamic action? I tried this way without success. Please help or let me know if you need more information.
Thank youDo you mean if the box is checked in the line?
Assign a static ID for the button Delete, for example MY_DEL_BTN. Search for 'Static ID' in the attributes of the button section.
If so, do an advanced Click-based dynamic Action and a jQuery selector. Generally, this element is the name "f01" but, sure. Assuming that it is "f01" then your jquery selector would be:
input[name="f01"]
define the scope of the event live.
Your dynamic action will trigger JavaScript. (BE SURE TO DESELECT FIRE ON PAGE LOAD). To make sure that you have the jQuery selector right, initially just to put a pop-up message in the JavaScript.
alert('You Clicked the Row Selector!');
Run the page. Click on the line selector. If you get the noise until you have specified the jQuery selector correctly. Yay!
Then, assuming the above is correct. You can now determine if all have been selected.
Now, set it to SELECT FIRE on PAGE LOAD (you want deleting DialogResult.Cancel when you open the page).
Change your JavaScript like this:
var checkedCnt = $("input:checked").length; if( checkedCnt > 0 ) { $('#MY_DEL_BTN').show(); } else { $('#MY_DEL_BTN').hide(); };
-Joe
-
Apex - how to set hide and show checkboxes at the event button
Hello
How to set up HIDE/SHOW check boxes when click on the events button. (apex)
If I press the button and then the box will appear.
If I press it again then check box will be disapper.
Can u please help me solve this issues in the APEX.
Thanks in advance.
concerning
rMy steps:
1 create the point of the box
LOV:select 'orange' d, 'orange' r from dual union all select 'apple' d, 'apple' r from dual union all select 'banana' d, 'banana' r from dual
2. create the region button. Specify the redirect URL and URL target as #.
3. create a dynamic action
Advanced
Event: Right click; Selection type: jQuery Selector; Select jQuery: button [value = "Toggle"]<-- where="" toggle="" is="" the="" label="" of="" my="">-->
Action: Run the JavaScript Code. Fire when the Page loads: uncheck the box. Code:var ele = $('#P34_FRUIT'); if (ele.css('display') == 'none'){ $x_Show(ele); } else { $x_Hide(ele); }
Leave the rest and click on create
Click the button to see it disappear and other things (not tested in IE).
I did sample: http://apex.oracle.com/pls/apex/f?p=23834:34
-
Filter values and to_date interactive report
Hello world
I am trying to add a filter in an interactive report on a field that is defined in the query as follows:
Select TO_CHAR (TO_DATE (comm. MONTHS, 'MM'), 'MONTH') AS 'MONTHS' from sometable
Comm. month is a date field
It works properly when it shows values, they have the name of the month.
The problem is when I try a filter to aid 'to' article. I can see the different names of months in the drop-down list and I can add to the list of filters (i.e.: MAY, JUNE) but when I click on Apply I behaving strangely, as always by selecting all the lines or not if you select anything.
Any idea? Oh, I'm using Apex 4.0.2 btw.
Try it here: Page 1
-
Condition of dynamic Action with and/or Expression Javascript
Hello
Anyone know if it is possible to have multiple values assessed in a Javascript Expression in dynamic Action? For a DA on click of a button with status as a Javascript Expression, I want it to be worth...
$v ('P5_ITEM_1')! == « X » || $v ('P5_ITEM_2') is nothing
Therefore all true subsequent actions should be triggered when the P5_ITEM_1 is not equal to add or P5_ITEM_2 is null. This does not work for me. Only the first condition seems to be considered. The second seems to be ignored. In other words, I can pass the two around and I have rated P5_ITEM_2 and the other ignored.
Thoughts?
-Seth.
If you would like to evaluate both conditions then have nested If statements or use and operator instead where operator
in one or the Organizer if the 1st condition is true then the whole expression must be set to true so that the rest are not evaluated
Kind regards
Vishal
-
Customize the Action menu in the interactive report
To change the word 'Action' in the menu of the interactive report.
Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.
This isn't in known issues in the Apex 5!
Someone knows how to set an image or other text to the menu Action interactive report?
Anderson.Ferreira wrote:
To change the word 'Action' in the menu of the interactive report.
Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.
This isn't in known issues in the Apex 5!
Someone knows how to set an image or other text to the menu Action interactive report?
Why do you need to change?
Follow the instructions in 'Translating Messages used internally by Oracle Application Express' to create a custom text for the message of the APEXIR_ACTIONS system. Available for translation/customization internal messages are listed in these tables.
Maybe you are looking for
-
List of files the Finder sidebar disappears / empty
I noticed that (with el capitan) my finder opens with the empty sidebar, even if I have a list of standard folders and a few favorites. Is this a known bug, or no one knows what may cause him?
-
My girlfriend has a HP dv4-1465dx experiencing hardware problems, the laptop will be blue screen randomly and then restart 1-3 seconds later. When you restart the laptop reads, "No boot device - insert boot disk and press any key." If the laptop is t
-
Looking for replacement DVD player
Have a desktop P6650z, and the dvd drive needs to be replaced. I have deliberately not a Dell b/c I thought that I'd get better equipment. OK I'm looking at a couple of DVD players, but I don't know whether or not - they doesn't fit in the Bay of my
-
Replaced the HARD drive on N5010, put in "Windows Boot Manager" error
I'm having N5010 and installed the new Seagate hdd. I used the dell recovery disk (created when the system has increased with the old hard drive) for installed Windows 7 and all the software came as part of the original image. After successful instal
-
Hello Is there a solution to replace a password for Telnet on a PIX 501? I got the admin password, I am able to get into the pdm interface, but I lost the password to Telnet. Thanks for any help