Disable the navigation based on the value of the column?
HelloWhen you activate the navigation I don't want the hyperlink in navigation is enabled for the particular data values in the column of the query.
For example in my request Req_A I have column A, which has enabled another report of navigation. Column A has the following values 'ABC' and 'XYZ' "TUV". Can I some how disable/remove navigation links where that value is "TÜV"?
Hello
You now use standard column navigation. Instead, you must create a Case statement and use [Url GO | http://download.oracle.com/docs/cd/E12096_01/books/AnyWebAdm/AnyWebAdm_APIWebIntegrate6.html#wp1005251] feature.
Use a URL for the values you want to naviagate on. Otherwise, just show the value.
Good luck
Daan Bakboord
http://obibb.WordPress.com
Tags: Business Intelligence
Similar Questions
-
Disable the column in a table.
Hello
How can I disable column in a table.
in collaboration with 4.1 and I Assistant founded in table form.
If I entered the value in a column second column must disable and vice versa?
How can I do this?
Thanks and greetings
CORINECORINE wrote:
Hello
Could you help me to write the code. My column in a table are 13,14,15,16If I type in field 13 then 14 and 16th column should turn off and
If I go should disable the value in field 14 and 13 and 15 column.How can I do this?
Thank you & best regards
CORINEI have not tested this code; but the following may be your approach:
In the field 'Attributes of the element' of column 13, you can call a javascript function:onblur = "javascript:updateCols(this);"
In your browser, right click on each of your columns (one at a time) and select "inspect element" to check the attributes of the HTML element. Assuming that column in the form of your table 13 is rendered in the HTML like f13, 14th column as f14, 15 columns as f15 and 16th as f16, write this JS function in the HTML page header:
The JS function above is triggered when the user moves out of column 13. The function then checks the length of the value entered by the user in column 13. If the length is greater than 0, it disables the columns 14th and 15th. Otherwise, it allows them.
The code above is for your first scenario:
If I get home should disable the value in the field column 13 then 14 and 16
You can do the same for the other scenario.
Hope this is clear. Or otherwise, give me access to your workspace and I try the here above.
-
Disable the column key functional for an individual of forms
Hi all
I have a block of multiple registration details in my form with fields (type, point, wt, vehicle number etc.). Keys are already scheduled for functional use as f3 to copy.
In my form, I want to use the copy function to get to the fields as type, point, wt, but not for the vehicle number column. IE type, point, maybe same wt columns but number of vehicle may not be same (according to customer requirement). They will not accidentally copying the same number of vehicle.
For this I need to disable the copy (F3) function for this vehicle only number column.
Is there a workaround for this...
My version of the form is 10g
Thanks in advance
Concerning
JaKes
the KEY-F3-trigger has nothing to do with the F3 function key. In client-server F3 is associated with the DUPLICATE_ITEM function, so you should use the KEY-DUPITM-trigger.
Also, if you implement a release BUTTON, it replaces the functionality by default, so you must manage the service for yourself.
As for the OP functionality should just be deleted at one, the simplest solution is to create KEY-DUPITM-relaxation so precise and simple insert a value that is NULL. inside.
-
Impossible to disable the column "Preview" in the Finder Windows
Before that I describe this problem, I just want to clarify that I have configured Finder to always open folders in a new window, and while some of my files are put into mode icon that the majority is set to display in the list.
Following an upgrade to Yosemite to El Capitan, some of my Finder list view windows began to show the column "Preview" on the side of the far right, after the date modified column. I don't like this feature because when none of the folders or items are selected it shows just a ugly "blank" space in the window. So, I quickly discovered that I can disable this "Preview" column by selecting "hide the Preview" in the view menu.
The problem is that once I chose this, in many of my files change does not stick. After a reboot or a restart, I'll go back to the window and the preview column is again. Sometimes it happens immediately after closing the window and opening it again. The worst culprit is my user folder.
I tried selecting "Hide Preview" and then enter the display options and set as the default view for all Finder Windows, but this makes no difference.
Anyone know how to disable the overview at all times column in all the windows in the Finder?
This is what it looks like in my folders set to display from the list:
-
How to highlight a cell IR report based on a value in another column?
I used the code below and the cell is highlighted for all use column formatting css #COLTOHIGHLIGHT #add to pageBut what I need is if the HIDDENCOL is 'OUT' value and Custom2 should apply if the HIDDENCOL has value 'IN' then custom1 should apply. How to do? Please help thanks loly
Sinduja Sivasailam wrote:
Thank you for your contributions. I understand the concern.
As suggested, I've reproduced the problem in the environment of the APEX.
Thanks for making the effort. I suggest the following approach, which is more flexible and allows a more efficient use of the separation of concerns as above. I created an example on a new page to illustrate this.
1. change the report query to
select jan , feb , mar , jan_st , feb_st , mar_st from project_status
2. in the report, set the month columns to display text and status columns to be hidden.
3. set the property Expression of HTML for each column of months to use a HTML
data
attribute to include metadata status as well as the displayed value:#JAN#
4. create a dynamic action after Refresh on the IR region to retrieve the status of project code in the columns of months and apply it as a class to the cell of report element:
Event: After refresh
Selection type: Region
Region:
Real Actions
Sequence: 10
Action: Run the JavaScript Code
Fire on Page load: Yes
Code
$('.a-IRR-table td [data-prj-status]').each(function () { var x = $(this); x.parent().addClass(x.data('prjStatus')); });
5 Add a style sheet to the page of Inline CSS property with a rule to set the background color of cell as required for each State of the project:
.a-IRR-table tr:hover td { opacity: 0.7; transition: opacity .1s } .a-IRR-table td.REQ, .a-IRR-table tr:hover td.REQ { background-color: #ff9; } .a-IRR-table td.INP, .a-IRR-table tr:hover td.INP { background-color: #cf9; } .a-IRR-table td.YTS, .a-IRR-table tr:hover td.YTS { background-color: #ccf; } .a-IRR-table td.CR, .a-IRR-table tr:hover td.CR { background-color: #f66; } .a-IRR-table td.COM, .a-IRR-table tr:hover td.COM { background-color: #9cf; }
-
disabled the columns writing null in DB
Hi all
I have an im app building and there is a tabular form with a few pairs of columns, one column is a code and the other is a description.
I have LOV popups that populate the description based on the chosen code.
What is now everything works really well.
Then I disabled all the fields of description in tabular form (for 25 displayed lines), the surface looks like a lot.
the user selects the code from the context menu and the changes of the description. and the description cannot be changed.
but when the user clicks on the button submit, these fields of 25 description is written with the NULL value to the database.
is this normal?
I just need to activate the fields again before submitting? or is there a better way to do it?
Thanks in advance
RyanHello
One way is to change your button to submit measures for "defined by the dynamic Action.
Then create a dynamic action that fires on your submit button click event.
In dynamic action, first enable you items and then submit.Kind regards
Jari
-----
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai -
How to merge values into a line, based on distinct values in another column
I have a table like
updatedby updateddate text
Approval John 1st May 2009 1 added file
Approval of John 1 May 2009 2 added file
May 2, 2009 1 deleted David approval form
I need the text column values to be concatenated and displayed for unique (updatedby updateddate) records. The output is something like
updatedby updateddate text
Approval of May 1, 2009 John save further approval 1 sheet, 2 added
May 2, 2009 1 deleted David approval form
I had planned to do it using PLSQL. Is there a way to achieve this in SQl...? Please suggestSQL> ed Wrote file afiedt.buf 1 with t as (select 'John' as updatedby, to_date('01-May-2009','DD-MON-YYYY') as updateddate, 'Approval record 1 added' as text from dual union all 2 select 'John', to_date('01-May-2009','DD-MON-YYYY'), 'Approval record 2 added' from dual union all 3 select 'David', to_date('02-May-2009','DD-MON-YYYY'), 'Approval record 1 removed' from dual) 4 -- END OF SAMPLE DATA 5 -- 6 select updatedby, updateddate, ltrim(sys_connect_by_path(text,','),',') as text 7 from ( 8 select updatedby, updateddate, text, row_number() over (partition by updatedby, updateddate order by text) as rn 9 from t 10 ) 11 where connect_by_isleaf = 1 12 connect by rn = prior rn+1 and updatedby = prior updatedby and updateddate = prior updateddate 13 start with rn = 1 14* order by 2 SQL> / UPDAT UPDATEDDA TEXT ----- --------- ---------------------------------------------------------------------------------------------------- John 01-MAY-09 Approval record 1 added,Approval record 2 added David 02-MAY-09 Approval record 1 removed SQL>
Edited by: BluShadow May 21, 2009 12:37
Argh! hair to the pole by SY -
Deactivation of the column in a table based on the setting in the search box
Hi all
I use Oracle Apex 4.1. I have two region
1. search box
2. in the form of a table
In the search box, I have a LOV field where the user can select the value. Based on this LOV in the search box, tabular column f06 must disable or read-only.
For example if I select THREE in LOV then only column f06 is expected on the other it must disable. How to get there.
Thanks in advance
Ravi
Hi Bobo,
Hope link below will solve your query.
Disable the column in a table.
BR,
Patrick
-
Disable the item based on a different value of items
Hello, I am trying to disable an element based on the value of another, and I'm not sure what I'm doing wrong.
I have in the header section of HTML form:
< script type = "text/javascript" >
function disFormItems (item1) {}
disItem = document.getElementById (item1);
disItem.style.background = "#eeeeee";
disItem.disabled = true;
}
< /script >
In the foot of the region, when I had the bottom it works.
< script type = "text/javascript" >
{disFormItems ('P19_RETURN_TO_CUSTOMER')}
< /script >
When I try to add my condition, nothing happens.
< script type = "text/javascript" >
IF ("P19_FILE_STATUS" = "A")
{disFormItems ('P19_RETURN_TO_CUSTOMER')}
< /script >Why don't you use:
$f_DisableOnValue (pThis, pValue, pThat)
Checks the value (pValue) of an element (pThis). If it matches, this feature disables the element or the array of items (pThat). If it does not, then the element is activated.so in your case: $f_DisableOnValue ('P19_FILE_STATUS', 'A', 'P19_RETURN_TO_CUSTOMER');
-
Hi all
I haven't worked much on tabular forms and JS. I'm looking for help in this regard.
I'm working on a tabular presentation. with several editable fields... I need to disable a column (just for this single line), which contains an image, based on a field of LOV (static) list) (Y/N). The image column must be disabled if the value is N.
My SQL for the report is something like this: (will keep things simple)
Select
emp_id,
emp_name,
static_list,
(case when STATIC_LIST = "Y" THEN ' < a title = "Edit SAMPLE TBL" href = "f?) p = & APP_ID.:10: & APP_SESSION.:NO:P10_EMP_ID, P10_EMP_NAME :'|| EMP_ID | «, » || EMP_NAME | "" "> < img src =" "#IMAGE_PREFIX #SAMPLE.gif" border = '0' (> < /a > ' other ' ' end) as disable_col, "
dept_name
of sample_table
I scoured the topics in this forum. Most of them were made using the table ID f_001, f_002.
I tried to follow the same path by inspecting the item but the disable_col does not have any ID. Let's say, f_003 is for the static list and f_004 is assigned to dept_name.
I tried dynamic actions, but it did not work. Read in a topic that dynamic action does not work on tables. So I chose this approach. Is there a simpler way to solve this?
need your help on how to proceed with this scenario. Thank you in advance.
Versions: Apex: 4.2, DB: 11 g
Thank you
Daniel
Hi Daniel_A,
Daniel_A wrote:
I did my job in Page 4.
If the IS_VALID column is select as 'Yes' then the column hyper must be enabled, allowing the user to click on it. If she chose the 'no', then the column Hyper must be disabled for this line.
The initial question about toggle the hyperlink is resolved. Check your App-> Page 4 35160.
This is done with the help of two dynamic actions:
- DA first loading of the Page / after updating of region "tabular":
Event: After refresh
Selection type: region
Region: The other 'tabular '.
Condition: No strings attached
Action: Run the JavaScript Code
Fire on loading the Page: Yes
Code:
$( 'select[name="f08"]' ).each(function() { if ( $(this).val() === "N" ) { $(this).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click"); } });
Items concerned: no item affected
- Second DA on the evolution of the selection list:
Event: change
Selection type: jQuery Selector
jQuery Selector: select [name = "f08"]
Condition: No strings attached
Action: Run the JavaScript Code
Fire on loading the Page: No.
Code:
var el = this.triggeringElement; if ( el.value === "N" ) { $(el).closest("tr").find('td[headers="HYPER"]').find("a").addClass("apex_disabled").unbind("click"); } else { $(el).closest("tr").find('td[headers="HYPER"]').find("a").removeClass("apex_disabled").bind("click"); }
Items concerned: no item affected
NOTE: as the original question/topic related to toggle the image link in the column, for the problem with the Page 5, please create a new thread with the details.
Kind regards
Kiran
-
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
-
Enable and disable the item based on the Condition
Hi Experts,
I work in the form of 10g, I conditionally.
I have the block master detail.
Master block contains sub elements.
CUSTOMER
Address (read only) - no database element
PRODUCT GROUP (read only) - no database article
Note: The CUSTOMER is LOV, when I select the customers, I'm failing address and product group.
Block detail contains sub elements.
DATE OF START OF BLOCK
DATE OF END OF BLOCK
REASON
Note: when I opened form all fields of retail blocks are enabled
Requirement:
1. when I created new record, at the time where I select the customer name, Bill and product group will be by default, in the block of detail - I want to activate and deactivate the block start date based on the value of the product group.
2 if I erase block master, I need to activate the block_start_date like back when the new form is opened
3. when I search the data also, block start date must be enabled and disabled based on the value of the product group.
Could someone help me the best approach to achieve so that she will have no side effects.
Thank you
801619 wrote:
Hello
Thank you for your response... I have tried code trigger after change of category of products below.
If: blockname.product_group = "Aviation" then
set_item_property ('block.block_start_date', enabled, property_false);
On the other
set_item_property ('block.block_start_date', enabled, property_true);
end if;
1. it is disable the Group field when I put the cursor inside if the product category is "Aviation", but I want it to be automatic at a time where it will default to the value of product category.
2. If the master clear record, is not allowing return product group
3 suppose that if enter new record category of products "Aviation", once I put the cursor inside, it's debilitating, let's say if I erase the main recording without saving the changes, it not again allows the Group of products, it is now status (disable) previous.
4. in query mode, it is not disabling or enabling from a group of products.
Help, please.
Thank you
Ok.
1. put your code on this trigger after changing point that fills the default value in the product category.
2. remove the trigger after change of product group.
3 put the same code to trigger once - new - Record - Instance of the main block.
Hope this helps
Hamid
-
How to disable the placeholder text in the URL from the navigation bar and search fields?
Everytime I open a new tab (often, the homepage is set to blank) I watch 'Go to site' in the navigation bar. The search field shows the name of the active search engine until the text is registration. All I want is to be able to do is disable the placeholder text, showing the two fields as white.
Add code to the file userChrome.css below default @namespace.
Customization files (interface) userChrome.css and userContent.css (Web sites) are located in the chrome folder in the user profile folder.
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ *|*.textbox-input:-moz-placeholder { color:transparent !important; } *|*.textbox-input:-moz-placeholder:hover { color:graytext !important; }
Use in Firefox 19 +:
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ *|*.textbox-input::-moz-placeholder { color:transparent !important; } *|*.textbox-input:hover::-moz-placeholder { color:black !important; }
-
How to replace the value of a column in a table based on the value in the second column?
Hi, I would like to find in a table 2D for values that meet certain criteria (for example, a column< 0.98).="" based="" on="" which="" rows="" meet="" this="" criteria,="" i="" want="" to="" replace="" the="" values="" in="" a="" different="" column="" of="" the="" array="" (change="" to="" 'nan'="" so="" that="" the="" values="" will="" not="" be="" included="" in="" any="" calculations="" on="" that="" column,="" for="" example="" the="" finding="" the="" mean).="" i've="" attached="" a="" sample="" .csv="" file.="" if="" the="" values="" in="" column="" 3="" (index="" 2)="" are="" less="" than="" 0.980="" (or="" some="" other="" user="" defined="" value),="" then="" the="" value="" in="" column="" 2="" (index="" 1)="" should="" be="" replaced="" with="" nan.="" can="" someone="" help="" out="" with="" this="" search="" and="" replace="">
Thank you
Keith
(using LV 2009 SP1)
A few quick hits.
You can merge the two for loops
You have not need one of the constants 1 and 2 in the index table. They will solve automatically when you expand on the index picture, once you have wired to 0 in the column index.
It seems a lot of handling additional table spent unnecessarily.
See below. I did not try to duplicate your code to see how it actually works, but I believe that I have attached will give the same result with less steps.
-
I have a problem to erase browsing history. Can I disable the IE navigation function?
I have repeatedly tried to clear the history of navigation on my PC. I've never had this problem before. I just use the button security or tools and go against selections and click on delete browsing history and temporary files and browsing history disappear. I am very frustrated at this point. I want to disable the functionality of browsing history. I can solve all these issues?
Hi William,.
To prevent Internet Explorer to store the history or temporary files, etc., you will need to run it in private browsing mode.I know that you are on Windows XP and that you are probably using Internet Explorer 8, but these instructions should work for IE8 as well:I hope this helps.
Maybe you are looking for
-
Adding and managing printing in ePrint Center applications
Here is a video on add and manage applications print using ePrint Center (EPC). He lead one through the process of access to the EPC, adding apps and how to remove an unwanted application. It will also show a way to learn more about an app before y
-
HelloWe use this querySELECT A.EMAIL, COUNT (B.VALUE), (B.COMP_LIST_ID, ",") LISTAGG Group (ORDER OF B.COMP_LIST_ID) as long AS value1 DASH_EMP_DATA, DASH_EMP_COMP B WHERE B.COMP_LIST_ID IN (SELECT ID FROM DASH_COMP_LIST WHERE COMP_OWNER = 'XYZ') AND
-
Verification of patches on IAS_ORACLE_HOME in R12
Hey you guys, Im trying to figure out how to check the patches on the IAS_ORACLE_HOME? I tried opatch lsinventory, but she didn't, I'm supposed to do something else. There are a lot of tasks that I need to check to see if we have on the IAS_ORACLE_HO
-
Lightroom CC backup on external hard drive Seagate
My Seagate hard drive is perfectly functional, make backups of several programs, including CClone, Joelle, and Time Machine.Yet when I recently tried to backup a catalog from Lightroom CC, I get the following error message."Lightroom is unable to cre
-
VMWare Workstation on Windows Drag and Drop 8.1 10.0.1 does not
I use VMWare Workstation10.0.1 on a host Windows 8.1 and a guest on Windows Server 2008 R2. Drag / move does not seam to work between the guest and the host. Copy / paste work, just not drag and drop. Drag / drop "Not" work with a Windows 7 guest