How to hide/show the column in a table
Hello worldI have a table based on the table "Dept".
Dept_id
supervisor_name
Dept_id is the LOV, and it has value (11, 12,...) (20),Here, when the Dept_id value is selected as 20, then the field "supervisor_name" must be posted, for the rest of the values, that it must be hidden.
How this can be done using Jquery?
Thank you.
Concerning
Look at this http://apex.oracle.com/pls/apex/f?p=46417:26
Test/test connection
JavaScript Code: Add in the page header > javascript
function test(pThis) {
//get the curren row index on change
var currIndex = $('select[name="'+pThis.name+'"]').index($x(pThis.id));
if (pThis.value=='20') {
$('input[name="f01"]')[currIndex].style.display = 'block';
}
else {
$('input[name="f01"]')[currIndex].style.display = 'none';
}
}
In the element, add attributes column deptno
onchange="javascript:test(this);"
Tags: Database
Similar Questions
-
Qosmio G30-126 - how to hide/show the top bar?
How active hide/show the top bar on the upper side desk, but disappeared how can I return it again?
You want to have some Flash cards on top of the desktop computer?
This isn't a problemIn all programs-> Toshiba-> Utilities-> settings for Flash cards, you can activate this option!
Check it!
-
How we hide/show the desktop in Windows 7 background?
I managed to hide the background image. I didn't know I would be able to watch your desktop mono color fade, and I didn't know that it is this difficult to correct! NOWHERE in the databases Windows have people has managed to do this. I have chosen in my slide show of photos, my memory card is fine as I got it initially, but it's really amazing to me how I can't find answers to a simple problem.
No, he said no solid colors. I change the selection, save and that doesn't change anything. :(
A final suggestion:
Start > Control Panel > accessibility > last option at the bottom, "make it easier to focus on the task > under playback position, uncheck 'Remove background Images as appropriate' > OK"
-
How to hide/show the individual elements in a document
I try to hide all items in a document (and store each original visibility state), iterate the elements preselected user and perform an export for each item in the selection (I've got this covered part) and finally restore the visibility of each new item state (where the initial visibility state storage is necessary).
I found that I can browse all the elements in the document to help
app.activeDocument.pageItems[i]
where i is the page element identified by the index of the i - th in the pageItems collection.
What is not clear, however, is how to get the visibility of this element of the page state. Indeed, there is a visbilityVariable of property associated with the elements of the page, but when I try to 'control' the content with an alert message, I get "undefined".
Is there the best ways through all elements in a document? Ideally, I would like all the elements of access regardless of the weather, they are elements of the path, group items, items of text frame or what have you. I need this collection in the State of visibility of each item read/write. Thank you!
"visibilityVariable" is for "data-driven graphics", regardless of those who may be. Try the property 'hidden' instead.
JoarBolstad wrote:
Is there the best ways through all elements in a document? Ideally, I would like all the elements of access regardless of the weather, they are elements of the path, group items, items of text frame or what have you.
Don't worry, you got it right first time. 'PageItem' is the global superclass of all the graphic elements. Starting from the ESTK help (rather, my version as well):
PageItem class
A page element object.Superclass of CompoundPathItem, GraphItem, GroupItem, LegacyTextItem, MeshItem, NonNativeItem, PathItem, PlacedItem, PluginItem, RasterItem, SymbolItem and TextFrameItem
-
How do I calculate the column in a table
Hello
I rate column and the amount in the table. I want to multiply these column for each line of entry and displays its result in the readonly in the amount column.
like as follows
: Amount: = quantity * side;
can someone help me
Thank you
HervéHello
Just add it to your query...
SELECT col2, col2, col3, col2*col3 col4 FROM my_table
Then change this column to read only in the report attributes.
See you soon
Ben
-
Tabular presentation - hide/show the Datepicker calendar
Hello
I am toggling of a column of date picker in tabular form wizard based on the value of another column in the same row, using javascript. However, I was unable to find a way to hide/show the associated calendar. Can someone tell me how to proceed?
Thank you!Hello
The structure on a tabular presentation for a date picker article, is more complicated than for a normal input field:
<td headers="Hiredate" class="t4data"> <fieldset class="datepicker" id="f04_0004_fieldset"> <table summary="" border="0" cellspacing="0" cellpadding="0" class="datepicker" id="f04_0004_holder"> <tr> <td class="datepicker"> <input type="text" name="f04" size="7" maxlength="2000" value="01/05/1981" id="f04_0004" /> </td> <td> <a href="javascript:void($p_DatePicker('f04_0004','0','DD/MM/YYYY','#666666','','','','','1981','en-gb','Y','45958','1683565711731582981','05','210'));"> <img src="/i/asfdcldr.gif" alt="Calendar" align="absmiddle" /> </a> </td> </tr> </table> </fieldset> </td>
While access to the input box by referencing its name attribute, it is impossible to the icon. What you need to do is find the input field, go up to the TR that contains, find indicator A in this TR and hide.
Try something like:
<script type="text/javascript"> function disableDatepickers() { var f1 = document.getElementsByName("f01"); var f4 = document.getElementsByName("f04"); var k; var r; var a; for (k = 0; k < f1.length; k++) { if (parseInt(f1[k].value) < 7800) { f4[k].disabled = true; r = html_CascadeUpTill(f4[k].id,'TR'); a = r.getElementsByTagName("A")[0]; a.style.visibility = 'hidden'; } } } disableDatepickers(); </script>
In this example, the first column (f01) contains an EMPNO. If this value is < 7800, I find the datepicker and disable it, then find the A tag that is in the same b and hide. Adjust the f01 and f04 accordance with column names and change the IF test to meet your needs.
Andy
-
Hide/show the series (online) and to redraw the map
I created a box for each lineserie in my linechart and when you click the checkbox I hide/show the on my list.
myChart.series [5] .visible = myCheckbox5.selected;
It works fine but I want to redraw the map and this time he doesn't have to calculate the axis according to the values in my series hidden... Someone knows how to do this?
I tried without success includeInLayout property.
Found a solution for the exchange of experts, but it was difficult to finish the removal/addition of series from myChart.series and then force a new drawing by resetting myChart.series.
-
Windows 8 How do you do the column bookmarks 'flexible '?
Sounds that you use the bookmarks Menu button that opens a drop-down list.
Firefox has two buttons bookmark with a star in the window customize.
A single star button has a drop-marker that opens the bookmarks menu and may appear on the Navigation toolbar or on the bookmarks toolbar if the menu bar is hidden.
The other Star without the drop-marker button opens the bookmarks in the sidebar (view > sidebar > bookmarks). -
Automatically add delays to the ability to hide/show the bar
I activated the option to hide/show the bar automatically. I would like it when I touch the upper part of the screen with the mouse, the menu bar will appear with some delays (2 seconds for example). First it is possible to configure the delay?
NO, but you can offer this feature for Apple
-
How can I show the appellants all blocked on my iphone 5s
How can I show the appellants all blocked on my ios iphone 5s 9 +?
Settings > phone > blocked
-
How can I show the Photoshop Print - dialog JavaScript Pentecost?
Hello
How can I show the Photoshop Print - dialog JavaScript Pentecost?
You use the scriptListener plugin to save the action handler code? If so, replace the part of the last line of "DialogModes.NO" "DialogModes.ALL." Just be sure to no with this line:
app.displayDialogs = DialogModes.NO;
-
How to hide permanently, the tool group
How to hide, permanently, the tool Panel
Hello
This question for Acrobat Reader DC has already been fixed in the July update, please refer to this note of release hide the tools Panel in Acrobat and Acrobat Reader DC at all times.
Kind regards
Nicos
-
Hide / show the fluid grids on Dreamweaver CC 20141
Hello!
How can hide us the grid of fluid on 20141 version?
Thank you very much!
Hide how exactly?
Do you mean to use FGLayouts in 20141 with Design view?
Open your fluid Grid CSS file and add an X as shown below. This trick DW into thinking that it is a normal page layout, so you can use the Design mode, spell checking, copy & paste text, etc...
/*
Properties Grid Dreamweaver fluid
----------------------------------
DW-num-CLO-mobile: X 4;
DW-num-CLO-Tablet: 8;
DW-num-OCOL-Office: 12;
DW-gutter-percentage: 25;
=====================================
Nancy O.
-
Possible to hide / show the slideshow captions?
Is there a way to hide/show the captions in the slide show? I would like to make something similar to this: http://www.geschewuerfel.com/GalleryMain.asp?GalleryID=117628 & AKey = DSWC4N8C . If you click on one of the images is full screen, then the 'i' button below will reveal the legend.
Hello
You can try to use Lightbox composition and then insert balloon in the container box.
In the ToolTip settings, select stacked position and transition as vertical, it would be a similar effect as you mentioned. Organize the legend, the buttons of navigation in the same area when it should appear as inline.
Thank you
Sanjit
-
Is there a way to hide/show the title safe area in Illustrator?
Is there a way to hide/show the title safe area in Illustrator?
I know that I can turn on or off by using the options of work plan, but to facilitate the workflow, I wish I could spend it power I can do using the "Cmd:" for guides?
I know I can show/hide video leaders and I it was mapped as shortcut... but could not find a way to do the same thing with title/action safe?
Any ideas would be appreciated?
I am completely new to scripting, so it took a bit of trial and error, but here is one that will turn on and off for all work plans:
for (i = 0; i
If (app.activeDocument.artboards [i] .showSafeAreas == true) {}
app.activeDocument.artboards [i] .showSafeAreas = false
}
else {}
app.activeDocument.artboards [i] .showSafeAreas = true
}
}
Maybe you are looking for
-
During the year of market my Apple Watch sometimes sounds and closes the session without asking for confirmation. Any ideas on what goes wrong and how to fix?
-
Apps should now be updated on both iPhone and iTunes
Before the latest iTunes update, if an application has been updated on the phone or on iTunes, it would update each other through sync. Now, an application must be updated in BOTH iPhone and iTunes. I used to always update the app on the iPhone and t
-
Satellite A100-750 WLan speed changes when connected to AC or battery
Hi, my Satellite A100-750 (PSAARE) with Vista Home Premium has this strange behavior: when I use the lan wireless with battery everything works fineIf I connect the power cord that it slows down incredibly although the signal strength remains the sam
-
Hey... I have a problem with hp laptop of mi he falls nd wen I turn it on it says I have to go to the website of nd of the solution, I no solution? I have tryd serveral tyms! DNT no where I den pressd, it shows result mid harddisk failed nd memory fa
-
I created my C4780 last week and it worked fine without thread for a few days, until he came all of a sudden it has been disconnected. It worked fine in USB mode, but I wanted it to work wireless so I uninstalled everything and did the installation p