Hide the button Delete when no line is marked as a table.

Hi all

I have demands, but I couldn't find the right solution:

1. to hide remove button when no line is marked as a table.

2. to hide the Apply Changes button when no line is existed as a table.

For no. 1, I tried the solution of How to hide and show the button if the line is selected in the form of tables , but it did not work.

Could someone please give some advice?

I use Oracle APEX 4.2.5.

Thank you and best regards,

Troy.

Hi Troy,

fair value the scope of the event of dynamic dynamic Action and it works!

I had to fix your delete action to test the results.

Kind regards

Steven

Tags: Database

Similar Questions

  • Hide the button Delete line table

    I have a table with 1 visible line and line 2 which appears when you click the button "add a new line. If the user clicks on the button 'Remove last row', the last row is deleted. I want the button 'Remove a last line' will be visible only when there is more than one visible line.

    This script does not work:

      
    if (Page1.Subform2.Table1._Row2.count =< 1){
     this.presence = "visible";
    }
    else {
     this.presence = "invisible";  
    }
    

    Hello

    Is this a fragment of code to the click event of the button 'remove last row'?, I think you just have to exchange the "=<" to=""><=", this="" should="" have="" given="" you="" a="" syntax="" error,="" or="" is="" this="" just="" from="" getting="" the="" code="" into="" the="">

    In any case, try this in the button click event.

    Page1.Subform2.Table1._Row2.removeInstance (Page1.Subform2.Table1._Row2.count - 1);

    If (Page1.Subform2.Table1._Row2.count<=>

    {

    This.Presence = "invisible";

    }

    and this in the Add button click event.

    Page1.Subform2.Table1._Row2.addInstance (true);

    If (Page1.Subform2.Table1._Row2.count > 0)

    {

    DeleteLastRow.presence = "visible";

    }

    Bruce

  • Hide the button Delete

    Hello

    In the search based on a condition page hide the SR41M remove to hide a button Delete?

    Knockaert

    Hello

    According to the said AJ you can also do by PPR, but for your req have PPR need you can do it by simple eassy and swuthcerRN only.iss.

    Steps to follow:

    -first make fasle made for existing delete btn
    -create a region of switcher
    -under the switcherRn create 2 images DeleteEnbale and DeleteDisable
    -the value CSSStyle:deletenabled.gif and deletedisabled.gif
    -in writing method of decoding search query

    Decode(coloumName,'y','DeleteEnbale','DeleteDisable') SwitcherRN

    -to test the success of the vo.
    -then map it on property viewattribute of the switcherRN in the SwitcherRN attribute.
    -Compline and run it.

    Let me know in case of any error

    Concerning
    Meher Irk

    Published by: Meher Irk on October 27, 2010 05:28

  • How to hide the buttons ' delete this site "/" detach this site "of my page newtab shortcuts?

    Hi, I was wondering if it is possible to remove the buttons on my top pinned sites that are new tab on my page. I use page tab as my home page and that you customized to have selected 12 best sites of my choice pinned it. However sometimes I accidentally press detach it or Remove button in the corners of these windows when I try to click on the page. Is it possible to remove these buttons or do a warning before they are automatically deleted with a single click?
    Thank you!

    Hello

    1. Install Stylish and restart Firefox when prompted.

    2. Click on the Firefox button or the Tools menu and select Add-ons.
    3. In the Add-ons Manager, click the Styles of the user on the left category.
    4. Click on the writing of a new Style of button at the top. Paste the following text in the text box, name the style, and then click the "Save" button.
    @-moz-document url("about:newtab") {
    
    .newtab-control-pin,
    .newtab-control-block {
      display: none !important;
    }
    
    }
  • Remove the button DELETE in webconsole:OIM9102

    Hi Experts,
    I want to remove the button Delete when I search for users in the console of the IOM.
    http://hostname:port/xlWebApp/searchUser.do
    I modified tjspSearchUserResultsTiles.jsp, commenting on all the tags that refer to DELETION operations. but still it is not reflected.
    I was able to remove the http://HostName:PORT/xlWebApp/manageUser.do delete button by changing the tjspViewUserDetailsTiles.JSP.
    I read in another link, to change TableGenerator.jsp, but I do not see that anything related to the DELETE operation. so don't would not invite risk by changing something else. any of you can suggest me please?
    The goal is to disable the REMOVE Option of the Web console, is there another way, I could do this?
    Thank you

    Try to use javascript based fix

    You can remove the button Delete of the page using a small javascript based snippet that will take place during the loading of the page.

    var loc = window.location + ''; '.
    If (loc. IndexOf("searchUser.do") >-1) {}

    var El = document.getElementsByClassName ("Commandbutton");
    for (var i = 0; i)
    If (El.value == 'User of MSN Search') {}
    El [i] .setAttribute ("Disabled", "Disabled");
    $(El[i]).remove ();
    }
    }

    }

    Please note that this uses the remove method of Jquery, so you would need that which include in javascript to get this working.

  • How can I remove bookmarks on my toolbar when the "bluestar" is not turned on? (Ditto for the button 'delete' in the menu library).

    Dear Sir/Madam
    I had a quick glance at your solutions page and have tried to use all of the tips suggested however, when I try to remove three items on toolbar, none of them illuminate the "BlueStar" located next to their address. (I got rid of other elements). I also tried to remove the Firefox menu library items, however, the button delete them is not on either. I'm now concerned that items are spyware. I thought to reinstall the software, but it would mean losing all my favorites.

    For your information, I've just updated Firefox to 28.0.

    I would appreciate your help with this matter.

    Kind regards
    Suzanne

    Good to hear! I think you should be able to use the trackpad however. I think I remember to make it work on Mac a friends (first one I've listed below, in this web page)-use two fingers and tap the trackpad. I think you might have to watch that you don't type it too lightly, or he doesn't know what you're trying to do.

    On this second which says to use the CTRL, to my memory, the Mac is not that (it does now, maybe)... I think I had to use a different key that was downstairs left... Google Images, I see that there are four: fn, control, option, command... If the control key does not work, my next guess would be to use the option or command key. It's easy to see which experience.

    If you press and hold the function key, and then regular - click on the bookmark you want to delete, isn't that bring up the contextual menu? It's rather than just giving the bookmark two fingers tap.

    • * * * * * * * * * * * * * * * * * * * * * * *

    Use the tap two fingers on the trackpad, not a click, just a light tap with two fingers.

    • * * * * * * * * * * * * * * * * * * * * * * *

    If you have a mouse with a button, hold down the CTRL key, and then click the mouse button.

    If you have a magic mouse, press and hold the mouse on the right side.

    • * * * * * * * * * * * * * * * * * * * * * * *

    Otherwise, go to system-> Trackpad-> Point & Click Preferences and select your preferred option for "secondary click."

  • How can I keep my top bar with "delete" on it to go away when I click it. I want to remove successive emails using the button Delete on top of my Windows Live Mail

    I want to delete several emails in Windows Live Mail. When I click on the button Delete in the upper part, the entire bar disappears. I want to keep it there all the time to use it to remove some of the emails but it keeps going away after a single use.

    Right click on the home tab and click cut the Ribbon to deselect.

    You can also ensure that the delete button is always visible by showing it on the Quick Access toolbar at the top of the window. There is a drop-down menu at the right end of the QUICK access with the controls bar, and others can be added by right-clicking on any command on the Ribbon and select Add to quick access toolbar.

  • How to get the confirmation message when I press the button Delete?

    Hai,
    I want to display a confirmation popup before you delete the line.

    I created an Entiity object and a view to EmpTable... object and drag and drop the button Delete.
    I want to show a confirmation message that "you want to remove?
    If the user clicks OK, the data must be deleted... or not... I'm using JDeveloper 11 g

    You can use a popup for this. Put a component showpopuupbehavior on the delete button to display a popup.
    Article 13 of the web developer guide here shows how proceed.

    Timo

  • deletion line causes the error after clicking on the button Delete: oracle Apex 5.0

    helloo...

    Use: Under shape whenever I checked and click on Remove button works fine.

    According to the need on my project, I took a default editable TEXT FIELD. Now, I did this TEXT FIELD on the SCREEN only.

    so now if click the button Delete after checking the check box I get below error.

    Session state protection violation:

    This can be caused by manually editing the protected element p11_total.

    Thank you

    Pranav shah

    Hi Dominique,.

    Pranav.Shah wrote:

    helloo...

    Use: Under shape whenever I checked and click on Remove button works fine.

    According to the need on my project, I took a default editable TEXT FIELD. Now, I did this TEXT FIELD on the SCREEN only.

    so now if click the button Delete after checking the check box I get below error.

    Session state protection violation:

    This can be caused by manually editing the protected element p11_total.

    Thank you

    Pranav shah

    Change your display-only item and do save the State of session No.

    or create the sample on apex.oracle.com and share credentials with us.

    Kind regards

    Jitendra

  • Help with Javascript for the button Delete

    Hi, Im new JavaScript and have my code works partially, but the trouble with a nested if-then-else statement.

    I have a page element, P4_COUNT, and if its value is 0, the button Delete will allow the user to delete the record. If the number is > 0, a message should appear stating that the record cannot be deleted. That's what I have so far and it works, but the first ELSE is misplaced. This code is the URL target for my button remove.

    JavaScript:var response; response = confirm ("are you sure you want to delete this POC?'");
    If {(response)
    If (document.getElementById('P4_COUNT').value == 0) {}
    doSubmit ('DELETE');
    }
    }
    else {-this other fires when the user hits cancel on the first question above not what I want, I want another one here who said only: "removal cancelled '"}
    -This one should only be fired if p4_count is not equal to 0
    var answer2;
    answer2 = confirm ('you cannot remove this POC, that this POC is associated with a RIF.');
    If {(answer2)
    Alert ('cancelled deletion');
    }
    else {}
    Alert ('cancelled deletion');
    }
    }


    The above should follow this logic:

    Are you sure you want to delete this POC?
    Yes - if p4_count = 0 then
    delete the record
    on the other
    second line: cannot delete this record
    OK - prompt removal cancelled
    Cancel - prompt removal cancelled
    end if;
    Cancel - prompt removal cancelled


    Help, please. Thank you, Laura

    Published by: user8936524 on May 10, 2010 14:14

    Hello

    Try if it works. I didn't test it

    javascript:if($v('P4_COUNT')*1==0){
    var answer=confirm('Are you certain you want to delete this POC?');
    if(answer){doSubmit('DELETE');}
    else{alert('Deletion Cancelled');}
    }else{alert('You may not delete this POC, as this POC is associated to an FRR.');}
    

    BR, Jari

  • Is there any option to make Firefox 10 DO NOT hide the button back and forth?

    It seems to be a new feature in Firefox 10 front and back navigation buttons are hidden whenever they can without navigating a site, but switch to another site or more (not sure). However, I would like to Firefox to never hide the buttons, just as it was before.
    I tried to find something that sounded in full subject: config, but I was not successful.

    This is a new feature when the "lock hole" buttons previous/next is to display.

    When 'Use small icons' is not selected in mode to customize, and it is not the whole story 'before' the button "Go forward one page" is hidden. The Back button ever should not be hidden that even when there is no history «back»

    For the button according to see all the time:

    • Open the--> Customize the Mode <- and select small icons at the bottom of the Palette.
    • Or, move a separator to the left of the address bar, to separate the "back" button and the address bar. Alternatively, you can move the home button, or one of the Palette to go back buttons and the address bar regardless of the other.
  • Customization of the user interface in 4beta2: hide the button new tab

    Question

    I have another type of problem with Firefox

    Description

    I want to know how to hide the button new tab especially when (be precise)
    tabs [[overflow = "true"]
    I tried to change this code:

    .tabs-newtab-button {
    display: none
    }

    but during overflow the new tab button appears again.
    Maybe this isn't the right place for these issues, I still need a solution

    Version of Firefox

    4.0b1

    Operating system

    Windows 7

    User Agent

    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; B 1 RV:2.0) Gecko/Firefox/4.0b1 20100630

    Plugins installed

    • -Shockwave Flash 10.1 r53
    • 4.0.50524.0
    • Adobe PDF plugin for Firefox and Netscape "9.3.3.

    Try:
    #new-tab-button, .tabs-newtab-button {
    display: none;
    }

    You can also drag the new tab button in the window customize (view > toolbars > customize)

  • In windows live quick view mail, how can I activate the button Delete

    Hello

    When I opened my windows live mail, I can see a quick view, which is great. There are more than 3,000 mail there that I don't need. When I click on the button Delete is in shadow. How can I activate the button Delete or is there a quick way to delete these messages at once. I'm working on Windows xp

    Hello

    The question you posted would be better suited to Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support.

    http://windowslivehelp.com/product.aspx?ProductID=15

  • Can not find the button Delete in my windows media player 11.

    I don't think you understand me... they ask something.no you won't miss them but my windows media player... when I right click on my files or files .it's not remove button only remove from the list button.when I click on this file disappears for a while but returned then again.this is not good because I want to delete a large number of my files in my library .so what is the answer do I have to remove windows media player, and then download it again.must be a response,.

    * original title - just had my question answer can not find the button Delete in my windows media player 11

    Hello

    ·          Are you a right click on the file in the playlist or library?

    Try the procedure described in the following article:

    You cannot view, add, or remove items from the Windows Media Player 11 library: http://support.microsoft.com/kb/925718  

  • How can I delete my facebook contacts in my email? Receive a name-click, the button Delete is not lighted.

    How to remove Facebook and email contacts that I no longer use? When I click on a name, the button Delete is not lit so I can't use it. I clicked on my address book selected a contact but I couldn't delete the name.

    I use Windows Live Mail.

    Facebook doesn't allow other programs that can delete your friends.  If you want to unfriend someone to remove from the list, you must Access the site www.facebook.com and unfriend them directly.

Maybe you are looking for