Show/Hide Multiple Selected Columns

I am using SpryDOMUtils.js to show/hide a column. However, I
would like to have multiple buttons to select to show/hide
individual columns.
I tried adding two function calls:
<script language="javascript" type="text/javascript">
function hideIt(){
Spry.$$("#first th:nth-child(3),#first
td:nth-child(3)").toggleClassName("hideIt");
function hideIt(){
Spry.$$("#first th:nth-child(7),#first
td:nth-child(7)").toggleClassName("hideIt");
</script>
But clicking either button just toggles the 7th column. I
think I some how need to ID the functions to the buttons and
columns.
Any help would be appreciated.

you can hide multiple column by simply use :
function hideIt(){
Spry.$$("#first th:nth-child(7),#first
td:nth-child(7)").toggleClassName("hideIt");
Spry.$$("#first th:nth-child(3),#first
td:nth-child(3)").toggleClassName("hideIt");
//more columns here...
if you use 2 function with same name the first will be
ignored and the last will executed (thats why it called
object-oriented :D, new object replace old object)

Similar Messages

  • Hide multiple selection of parameter related to Standard Report Category.

    Hi,
    I have created the report program with the logical database PNPCE , report category HRF_PNOC having PNPPERNR in the selection screen With Multiple selection. I want to hide the multiple selection button  for this PNPPERNR in the selection screen.
    For example: we hide the multiple selection button in report program with the no-extension. The syntax for no-extension is shown below 
    select-options : p_kunnr for kna1-kunnr no-extension.
    Can any one help me out of this?
    Thank You,
    Swetha.C
    Edited by: Swetha Chevuru on Oct 28, 2011 12:22 PM

    Hi,
    Please see the below blog for detailed description of the problem that i am facing now
    http://swethacblog.blogspot.com/2011/10/how-to-hide-multiple-selection-button.html#!/2011/10/how-to-hide-multiple-selection-button.html
    Thank You,
    Swetha.C

  • Using an array to show/hide multiple elements?

    I have two elements that need to be hidden:
    "mov-imp"
    "mov-pim"
    Currently, I am doing this:
    var arr = ["mov-imp", "mov-pim"];
    // This is the onclick function
    sym.$.each(arr, function(){
                        $(this).hide();
    What's the best way to show/hide multiple elements/symbols in AE?
    Thanks!

    Hi Ashish, here is how you can hide all symbols in an array on button click. I'm not sure what you're asking in your second post, if you can clarify that.
    Example:
    www.timjaramillo.com/code/edge/arrays_hide_objects
    Source:
    www.timjaramillo.com/code/edge/_source/arrays_hide_objects.zip
    Code on button.click event:
    // if this button stays at root, you can just call sym.hideObjects();
    // this is in case you nest your button inside other symbols
    sym.getComposition().getStage().hideObjects();
    Code on Stage.compositionReady:
    var arr = ["obj1", "obj2"];
    sym.hideObjects = function(){
              $.each(arr, function(index, value) {
                        sym.$(value).hide();

  • Hide multiple selection in REUSE_ALV_GRID_DISPLAY

    HI,
    I want to hide/dis able Multi selection option in ALV grid...................We are using FM REUSE_ALV_GRID_DISPLAY..........................
    Any Idea or suggestion how to do this
    FYI :
    1. I looked at the forum but could not find anything close to what I needed...................
    2. I know it is possible with object based development of ALV grid but in this case we want to use only 'REUSE_ALV_GRID_DISPLAY'
    Best Regards
    Kiran

    HI
      You can turn off multiple selection in one-click to be used as single-select component.
    for any detailed information u can even see details demo link below
    http://www.visualbis.com/products/multi-select-dynamic-grid/
    thank u

  • How to show/hide a link column in a report, depending on another column?

    Sorry, thread duplicated.
    Edited by: Andres Vilallave on 14-may-2010 15:31

    Hello,
    I had a situation similar to this. I had NULL selected in the column when I wanted to hide the link. Please find below more explenation:-
    <b>example report </b>
    Interactive Report
    Col1     col2     col3
    1          a1       a2
    2          b1       b2
    -           c1       c2
    -           d1       d2
    -------------------------------------------In the above Report <b><i>col1</i></b> is a link . Upon clicking this, user should will be directed to Page XX
    so, when data in col2 of report is c1 or d1[can be a different display condition, you may want to implement this with CASE or anyother SQL construct] , I selected NULL which will not show the link.
    so, my point is, if the SQL you have in the INTERACTIVE REPORT is creative enough to have NULL in the column, Link is not enabled.
    Hope I got your problem correct.
    Thanks,
    Chaitu.

  • Multiple selection column in table control problem

    Hi, all.
    My issue now is I have a table control on a screen that can let user select multiple records, and then click a button to process those selected record just now. But after I select some records and scroll down the screen, i found out that those record which are selected just now is disappear, and i have to select again.
    So, may i know how to fix those records in a table control which i selected earlier during i scroll up and down the table control on the screen?
    Thanks in advance.

    Hi,
    Once you scroll down the item selected above gets deselected this is natural thing in SAP Module Pool.
    You can do one thing to avoid such thing is by increasing your screen size where you are displaying the contents.
    hope this will solve your problem.
    Regards,
    Suvendu.

  • Show/Hide a column in a Table region

    I have search page which queries the data and displays the records in a table region. We need to have an option to show or hide a non-database column at the end of the each row in the table. If the checkbox is selected, the last column should appear and if checkbox is deselected it should get disappeared.
    I have used a transient attribute in the VO and using that transient attribute trying to show the text field when the checkbox is selected. For ex, if the search returns 6 rows - if you select the checkbox of the first row , the last column "CTS" gets displayed without any issues but if you select the other rows (without checking the first row), the CTS column is not displayed.
    The column is getting displayed only IF you select the checkbox of the first row and try it other rows. If you try to select the checkbox of other rows without selecting the 1st row, it doesnt show the CTS column.
    AM has the PPR event
    =============
    public void CheckOnClick(String v_chkBox,String SalesContact,Boolean executeQuery)
    System.out.println("Enters Checkbox event()");
    USSContactMainVOImpl pVO= getUSSContactMainVO1();
    Row poRow[]=pVO.getFilteredRows("Chkbox","Y"); // get all the selected rows
    for(int i=0;i<poRow.length;i++ )
    Row rowi=poRow;
    System.out.println("Value:" + rowi.getAttribute("Chkbox") );
    rowi.setAttribute("CTSEngineer_TR",Boolean.TRUE); // transient attr
    //end of CheckOnClick()

    I just referred to the Dev Guide and understand that we can use the identifier of the PPR event source row (Page 262) but still the issue persists.
    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    I have a rawtext as the first column( its just a dummy column since the PPR event is not getting fired if the checkbox is the 1st control/column) and the 2nd column is the check box which has a PPR event. The PPR event fires whenever the check box is selected or deselected but surprising the text field gets editable only if the 1st row is clicked.
    Changed code is as always - not sure why the table shows/hides the text column only if the 1st column is selected. Will appreciate any help.
    PFR:
    ===
    if ("OnSelect".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    System.out.println("The AM name is "+am);
    Boolean executeQuery = BooleanUtils.getBoolean(false);
    String str1 = pageContext.getParameter("Check_Box");
    String v_SalesContact = pageContext.getParameter("SalesContact_qry");
    //1401
    String rowReference = pageContext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
    Serializable[] parameters = {str1,v_SalesContact,rowReference,executeQuery };//1401
    Class[] paramTypes = { String.class,String.class,String.class,Boolean.class };//1401
    am.invokeMethod("CheckOnClick",parameters,paramTypes);
    AM(PPR Event)
    ==========
    public void CheckOnClick(String v_chkBox,String SalesContact,String rowReference,Boolean executeQuery)
    OARow rowx = (OARow)findRowByRef(rowReference);
    if (rowx !=null){
    System.out.println("row ref");
    System.out.println("reo fref"+ rowx.getAttribute("CTSEngineer_TR") );
    rowx.setAttribute("CTSEngineer_TR",Boolean.TRUE);
    Edited by: MyOAF on Jan 14, 2010 6:25 AM
    Edited by: MyOAF on Jan 14, 2010 6:26 AM

  • Show/ Hide Tables in SSRS based on Multiple Parameters

    Hi
    Is it possible to show/ hide multiple different tables based on a multivalued parameter?  I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
    When I add the IN operator and select multivalues, I get the following error:
    I have an expression set in the Visibility tab in the tablix to:
    =IIf(Parameters!Name.Value =
    "Name",
    false,
    true)
    and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
    Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
    thanks!

    Hi
    Is it possible to show/ hide multiple different tables based on a multivalued parameter?  I have 6 tables and I want 1 or 6 displayed dependent on what is selected from the multivalued parameter.
    When I add the IN operator and select multivalues, I get the following error:
    I have an expression set in the Visibility tab in the tablix to:
    "Name",
    false,
    true)
    and in the filters tab, I have a filter on the name so the data is filtered only by that name so it can display the different categories in the different tablix.
    Can anyone advise on how to achieve it so I can use the multivalued parameter option to display 1 or more tables?
    thanks!
    =IIf(Parameters!Name.Value =
    Hi,
    Use Join function in the RDL and hide them for whatever values you want to.
    =Join(Parameter!paramname.value,",")
    Thanks,
    FunBI

  • BOM: Show/Hide standard columns in CS03

    Hi,
    investigating the code I can see that in the transaction CS03, CS02 the table with data of standard position contains many columns that i would like to display them.
    Currently, I can only see some columns, leaving other hidden. How I can show / hide the present columns in the table of positions?.
    Thanks.

    Inside the CS02 screen you can find table settings, will be there in top right. there you can make the field invisible.

  • APEX4: Is it possible to show/hide a field on form based on Radio selection

    Hi,
    On a form, I've a radio group (with two values) and two select list. Based on the selection in radio group, I want to show/hide the select list.
    Like, when the user clicks Radio Group Value - RG_A, SL_A has to be visible, and when user clicks Radio Group Value - RG_G, SL_B has to be visible.
    Is this possible in APEX 4? How can I do it?
    Thanks for the help.
    --Hozy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    Yes, you can do it using Dynamic Actions.
    See this thread as well. APEX4: Populating fields from database based on the SelectList value
    In Radio Group you will need to identify the button clicked from its ID and / or value. Thats because the Radio Group Item creates as many IDs / Items as there are options P1_ITEM_0, P1_ITEM1_1, etc.
    Regards,

  • Hiding select column in LOV results table

    Is there a way to hide the select column easily in an LOV popup window? Right now I have a two column results area and it appears the LOV object dynamically adds a column of radio buttons in a column labeled SELECT and another column labeled QUICK SELECT. I wish to hid the SELECT column of radio buttons. It is not there when I look at the personalize link.
    So right now the only two columns I have in my LOV mappings are Pay Period and Check Number. The results table renders as:
    Select | Quick Select | Pay Period | Check Number |
    I want it to not show the SELECT column. Any ideas?
    Kris
    Edited by: Kristofer Cruz on Feb 26, 2013 12:30 PM

    Kris,
    Did you try changing the render property of the table region of the LOV ?
    Regards
    Sridhar

  • Dynamically show/hide Excel WPA

    Hello,
    I am working on a web page, where list of links will be given. On user-click on a link either it will show target web page in a iframe or it will show a excel sheet in excel wpa. On the basis of link clicked, I need to hide/show iframe and Excel WPA. I can
    control iframe using javascript but i don't know how to work with Excel WPA. At a time either iframe or Excel wpa will be shown on the screen but not both.

    Hi,
    According to your post, my understanding is that you wanted to dynamically show/hide Excel WPA.
    If the Excel WPA is Excel Web Access Web Part, you need to  get the ID of the Web part and hide the web part.
    When you click the link, you need to get the parameter form the URL and then display the web part.
    Here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/en-US/219b388e-0979-46b4-9a46-f7e6449738b8/hide-and-show-a-list-view-webpart-by-clicking-on-a-link-in-the-same-webpart-page-in-sharepoint-2010?forum=sharepointgeneralprevious
    For more information, please refer to:
    Dynamically Show/Hide Multiple Web Parts
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Show/hide based on Multiple selections in a select box

    In my http header I have the following code...
    it works great as long as only one value is selected:
    if you highlight the ARRAMO value the DUNS field appears...
    if you highlight anything else the DUNS field disappears...
    but if I highlight both ARRAMO and another field, I want the DUNS to SHOW and it DOESNT..
    how do I fix this?
    <script type="text/javascript" src="#WORKSPACE_IMAGES#jquery-1.3.2.min.js"></script>
    <script language="JavaScript" type="text/javascript">
    <!--
    htmldb_delete_message='"DELETE_CONFIRM_MSG"';
    //-->
    </script>
    <script type="text/javascript">
    $(document).ready(function(){
    $('#P1_DUNS_NUMBER').attr("disabled", true);
    $('label[for=P1_DUNS_NUMBER],#P1_DUNS_NUMBER').hide();
    $('#P1_APP_REQUESTED').change(function(){
    if($(this).val() == 'ARRAMO'){
    $('#P1_DUNS_NUMBER').attr("disabled", false);
    $('label[for=P1_DUNS_NUMBER],#P1_DUNS_NUMBER').show();
    }else{
    $('#P1_DUNS_NUMBER').attr("disabled", true);
    $('label[for=P1_DUNS_NUMBER],#P1_DUNS_NUMBER').hide();
    </script>

    Using LOV, you can have multiple selection.
    For this you can write code in the KEY-LISTVAL trigger.
    Create an LOV for store code.
    In the text-item of store_code (where you want mul. selection), you assign the LOV to that item.
    In key-listval trigger,
    You can have something like
    Declare
    m_val varchar2(1000);
    a boolean;
    Begin
    m_val := :store_code;
    a := show_lov('STORE_LOV');
    if a then
      If m_val is null then
         m_val := :store_code;
      else
          If instr(','||m_val||',' ,||','||:store_code||',') = 0   /*check whether store code already selected, to get excat string comma is concatenated*/
             m_val := m_val||','||:store_code;
          end if;
      end if;
    end if;
    :store_code := m_val;
    End;Note :To check for validation, additional coding is required...

  • How to show/hide total based on selected column in column selector

    Hello,
    Is there a way to show/hide the total based on what column is selected in the column selector? Or alternatively to hide the total based on the column selected? I'm using OBIEE 10g.
    Basically, I have a pivot table with a handful of row variables and one measure. Then I allow the user to select the column variable. The default is to have nothing, which I have achieved using the hidden/dummy column trick (Re: How to add new columns by using Multiselect However, if my pivot table is set to have a total, I now get 2 columns that are the same. When the user selects any other choice (e.g. gender), I would want to see Male, Female and the total. Something like this:
    Default:
    Count
    East 10
    West 20
    Total 30
    Gender:
    Male Female Total
    Count Count Count
    East 6 4 10
    West 14 6 20
    Total 20 10 30
    Any thoughts?
    Thanks!

    I recommend using view selector instead of column selector

  • How to hide multiple columns in multicolumn listbox like as an excel sheet?

    Hello All,
    I have large amount of data that is to be displayed on multicolumn listbox. After displaying that, I want to hide or delete some columns from listbox in runtime.
    I know how to hide one column using active cell property node. But I want to hide multiple columns. I am using LabVIEW 2011. 
    Thanks in advance.
    Thanks & Regards,
    Manisha

    Thank you so much. 
    But I have total 12 columns and I don't want to delete columns serially. I want to delete inbetween columns, like in attached VI I want to delete column A & D only. 
    And in this user have to select it from frontpanel. I want this is to be done as in excel, like we select the entire column and either we hide it or delete it. One more thing I want to clear the data in multicolumn when I next time open my VI. How to do that?
    I hope am clear in explaining my problem.
    Thanks & Regards,
    Manisha
    Attachments:
    Delete Column.vi ‏10 KB

Maybe you are looking for

  • Size in InputField size in FileUpload

    Does anybody know why a htmlb:InputField with size="20" is much smaller that a htmlb:fileupload with size="20"? <htmlb:inputField id = "att" size = "20"/>     <htmlb:fileUpload id = "upl" size = "20" onUpload = "HdlUp"/>

  • Can anyone help - LR5.3 won't start after only 2 successful days!!

    2 days ago installed LR5.3 trial on my new PC bought to run LR and CS6 - Win 7 Pro, Xeon E3-1230, 32gb memory, SSDs etc (the works). Worked great for 2 days, cataloging a big trip, lots of adjustments made. Yesterday I found LR had unexplained errors

  • Encoding from tape

    I have an older JVC video camera that shoots on tape.  I have a lot of old videos I want to import into FCPX.  I bought a new 9pin to firewire 800 cable that attaches to the 800 to thurderbolt adapter.  For some reason I can't get the camera to show

  • Summary Screen & Temporal Rules

    Hi, I am using Temporal Rules in the Rulebase. The Top Goal defined by the Temporal Rules is a Boolean Attribute and used for user display on the Summary Screen. The Rulebase errors out when the Boolean Attribute has both Yes & No value (because of T

  • How to prevent inbox from deleting itself?

    My IPAD inbox keeps disappearing after 1-2 hours.