Carl - Show Hide columns and report templates

Carl,
I've implemented the show/hide report column techniques from your demo pages. Thanks for that, it's working well.
I am having a slight issue. I'm using theme12, and when I implement the technique there with the alternating row color template, the functionality works fine. But when I switch to standard report template I have some issues.
Debugging the code :
function html_HideCellColumn(pId){
35 var l_Cell = html_GetElement(pId);
36 var l_Table = html_CascadeUpTill(l_Cell,'TABLE');
37 var l_Rows = l_Table.rows;
38 l_CellI = getCellIndex(l_Cell.parentNode,l_Cell)
39 for (var i=0;i<l_Rows.length;i++){
40 html_HideElement(l_Rows.cells[l_CellI]);
41 }
42 return;
the pId is what expect before line 35, but after, it looks like the html_GetElement is returning null.
Is there something in the template that would cause this change? I am able to reproduce this behavior consistently. Thanks for any input.

Hello,
The table headers in the standard report template of that theme are missing the id attribute so changing this.
&lt;th class="t12header" #ALIGNMENT# >#COLUMN_HEADER#&lt;/th>
to
&lt;th class="t12header" #ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#&lt;/th>
and your good to go.
Carl

Similar Messages

  • Full Screen Mode(s) & Show/Hide Toolbars and Palettes???

    I use PS7 but am going to train some folks on PS Elements 8. I cannot find PSE8's equivalent of the F key "Full Screen Modes" command or the Tab key "Show/Hide Toolbars and Palettes". PLEASE tell me there IS some way to do these two things in PSE8!!!!!
    - Brian

    Uh, yes, don't I feel dumb. Maybe since I always seem to use the Tab key in conjunction with the F key command for Full Screen Modes I didn't realize the Tab key didn't work in PSE8 just fine. At least that's my newbie excuse, and I'm sticking with it. Thanks! Next time I promise I'll TRY something before I ask about it. (I'm kinda stressing this training I need to do soon.)
    Now HOW to use the keyboard shortcuts for Full Screen mode??? Anyone???

  • Hide columns in report on screen and display all in excel

    I am very new to this application. Can anyone please tell me how to hide certain columns on the screen display and dump everything in excel.
    Right now if I uncheck show for some columns in report attributes, it's not displayed in excel either. I would appreciate any help on this.
    Thanks

    I am very new to this application. Can anyone please tell me how to hide certain >>columns on the screen display and dump everything in excel.
    Right now if I uncheck show for some columns in report attributes, it's not displayed in >>excel either. I would appreciate any help on this.Use htmldb_application.g_excel_format method.
    for the items that you dont want in the report but want in CSV, just select that item and in its conditional display select PL/SQl expression and put htmldb_application.g_excel_format.
    for items you want in report but not in CSV put - not htmldb_application.g_excel_format.
    Else for columns that you want both in report and CSV, keep it blank.
    Hope it helps.
    Ameya.

  • How to make a layer from the ADF pivot table invisible , show-hide column-row-data

    Hello all ,
    I need to create a pivottable with ADF 12c for reporting purposes.
    I have a table or view with 10 items of type VARCHAR2 , C1,C2,C3,C4,C5,C6,C7,C8,C9,C10  and   10 items of type NUMBER N1,N2,N3,N4,N5,N6,N7,N8,N9,N10
    The items of type VARCHAR2 are for Column and Row areas and the items NUMBER are for Data Areas
    I want to create a jsf page with one empty pivottable and in code Show or Hide the items in the Column area , Row area , Data area
    Con you send me a small sample ?
    I test with this code that i find in oracle OTN but not work.
    <dvt:pivotTable id="pt2" value="#{bindings.WebPivotDataView1.pivotTableModel}" var="cellData"
    varStatus="cellStatus" splitMode="enabled"
    binding="#{backingBeanScope.CmfPivotBean.pivotTable}"
    >
    <dvt:headerCell>
    <af:switcher facetName="#{cellData.layerName}" defaultFacet="Default" id="s1">
    <f:facet name="DataLayer">
    <af:outputText value="#{cellData.label}" id="ot1"/>
    </f:facet>
    <f:facet name="C01">
    <af:outputText value="#{cellData.dataValue}" id="ot2"/>
    </f:facet>
    <f:facet name="Default">
    <af:outputText value="#{cellData.dataValue}" id="ot3"/>
    </f:facet>
    </af:switcher>
    </dvt:headerCell>
    <dvt:dataCell>
    <af:switcher facetName="#{cellStatus.members.DataLayer.value}" defaultFacet="Default" id="s2">
    <f:facet name="N01">
    <af:outputText value="#{cellData.dataValue}" id="ot4">
    <af:convertNumber groupingUsed="false"
    pattern="#{bindings.WebPivotDataView1.hints.N01.format}"/>
    </af:outputText>
    </f:facet>
    <f:facet name="Default">
    <af:outputText value="#{cellData.dataValue}" id="ot5"/>
    </f:facet>
    </af:switcher>
    </dvt:dataCell>
    </dvt:pivotTable>
    DCBindingContainer bindingContainer = (DCBindingContainer)ADFContext.getCurrent().getRequestScope().get("bindings");
    CubicBinding cubicBinding = (CubicBinding)bindingContainer.findCtrlBinding("WebPivotDataView1");
    CubicEditor cubicEditor = cubicBinding.getCubicEditor();
    cubicEditor.removeLayer(DataDirector.ROW_EDGE, 0); //remove 1st row edge
    cubicEditor.removeLayer(DataDirector.COLUMN_EDGE, 0); // remove 1st column edge
    cubicEditor.removeDataItem(0);
    CubicDefinition def;
    def = cubicBinding.getProjection();
    LayerDefinition layerDefinition = new LayerDefinition("C3");
    cubicEditor.addLayer(DataDirector.ROW_EDGE, 0, layerDefinition);    
    LayerDefinition layerDefinition2 = new LayerDefinition("C4");
    cubicEditor.addLayer(DataDirector.COLUMN_EDGE, 0, layerDefinition2);
    DataItemDefinition def3 = new DataItemDefinition("N1");
    cubicEditor.addDataItem(def3);
    AdfFacesContext.getCurrentInstance().addPartialTarget(pivotTable);
    Can you help me if is possible to create a pivottable binding to a one ViewObject and in code show/hide or compose the layout of the pivottable ??
    I search in google and OTN oracle and not find any code.
    Only find the code of the samples that is very complex for me , the code of the samples create the PivotTableModel from one Array , and i want to binding from one ADB BC ViewObject.
    Thanks in advance

    The solution I presented for your use case an DOAG 2013 was to create a pivot table binding out of user defined attributes from the table. For the defined attributes a VO is dynamically created as well as the pivot binding. The pivot binding is then exchanged at runtime together with the activation of the dynamic VO needed to only get the data needed for the particularly pivot table.
    Your solution using the CubicEditor is hard to implement due to the missing documentation. This was the reason I did not follow this approach, However it's not impossible (done it on a very small scale).
    None of the solution are what I call simple. They are complicated, complex and in part not supported solution (exchanging the pivot table binding at runtime need to use internal classes, which is not supported).
    I can't give you a working sample as it's too complex. I can make the slides available, however they are in German.
    Timo

  • Formula Column in Report template

    I have a report template to use in all the report. I want to have a formula column on it to take a control value(location/Organization) where the report is being printing. Is it possible to have a formula column in a report template? if it possible how can I do it? otherwise how can i achieve this task?
    Thank in advance
    Muza.

    What is the application release?
    Can you find any details about the error in the OPP log file?
    Please search MOS website for "Cannot view XML input using XSL style sheet" and go through the docs.
    Thanks,
    Hussein

  • Show/hide buttons based on templates

    Hi
    1. Is there anyway for hide/show a button (button style template based button) dynamically?
    2. If the button is an image (button style Image) Is there anyway for hide/show a button dynamically?
    Thanks!

    Hello:
    I'll assume that you want to hide/show a button using javascript.
    Generally, if the button template has the '#BUTTON_ATTRIBUTES#' substitution sting defined you can specify an 'id' attribute for the button in the Button Attributes field of the button definition. For an image based button you specify and 'id' in the Image Attributes field. You can then show or hide these buttons using the
    $x_HideItemRow("<button_id>") and $x_ShowItemRow("<button_id>") built in javascript functions.

  • Show Hide Columns

    Is there a way in which columns can be hidden from the resulting html report.
    I guess to bring them back you would have to click on show all, or something like that ?
    It would be like accessing setting a show/hide checkbox in the Report Attributes but in this case allowing the user to make the choice.
    Any ideas would be appreciated

    Mark,
    One way of doing this would be to make the columns conditionally displayed. You could then write a condition that e.g. checks the value of a page item being yes or no. The page item could be set by the user. So you could have a radio group, or button, or select list to turn off or turn on columns within your application.
    Regards,
    Marc

  • Report Painter - Hide library and report instead of deleting

    Good Afternoon Everyone,
    My finance users are pressuring me to clean up the navigation in the GRR3 report painter transaction.  Many of the libraries that are displayed are standard SAP libraries and I'm hesitant to begin deleting standard SAP libraries, reports, and report groups since you can't get those back once deleted.  Is there a possibility to hide libraries/reports that are not being used any longer?  I'm on my own and would like your input about what the best practice is when faced with this scenario.  Thanks in advance for the help.
    Jordan
    Edited by: Jordan Simons on Apr 4, 2011 9:06 PM

    Hi,
    I don't know if its possible to suppress/hide libraries/reports.
    Create T-codes for the reports the users really need and add the reports to the corresponding area menu in SAP. Thus users don't have a need to use GRR3 anymore, remove the T-code from the authorization concept.
    best regards, Christian

  • "Command I" shortcut in Preview - designated for show/hide toolbar AND show inspector?

    In the Mac Preview App, I tried using the the 'command I' shortcut to show/ hide the toolbar, but it brings up the inspector instead. Is the shortcut is designated for both these functions?

    Actually the Toolbar hide/show isn't "cmd i" it's "cmd shift |"
    That little key on the far right edge between the "delete" and "return" keys. The same key that has "\" as the main function.
    KOT

  • Show/hide column

    How to show or hide column within ADF table based on certain condition ?

    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/84-treetable-column-hide-show-404584.pdf
    https://forums.oracle.com/thread/2275114

  • Conditionally Hide and Show a column in a template based on a column data

    Hi ,
    We have an RTF template for Oracle iExpense Report. We have two types of Expense type . Business and Non-Business.
    We need to conditionally enable Host Country and Merchant Name if the Expense Type is Non- Business and hide the two columns if the type is Business in a single RTF template.
    Can anyone help on this? We have a close deadline for SIT. Please find below the sample layout for your understanding
    For Business type,
    Name
    Expense Type
    Amount
    For Non -Business,
    Name
    Expense Type
    Host Country
    Merchant Name
    Amount
    Please help me.. I am new to Oracle Applications and XML Reports.
    Thanks
    Abhilash

    Hi Kavipriya,
    You just made my day! thanks a lot will try and come back to here if there are any issues on this
    Regards,
    Abhilash

  • How to hide/show a column in reports 10g according to the parameter value

    Hi,
    I want to hide a column in the report according to the parameter value, is it possible?
    For example, there is a parameter called P_TYPE. I want to hide a column called 'BALANCE' if the P_TYPE=0.
    This column is not the last one in the table, so if it is hide then that empty space should be occupied by next column.
    Is it possible means please explain me how to do it?
    Thanks in advance,
    SAN

    Create a format trigger (for both the header and the column item) that returns False on you condition.
    Set the horizontal elasticity to Contract (for both the header and the column item).
    Sometimes Contract doesn't work. Try Variable in that case. This has the disadvantage that the field can also expand.

  • Dynamically Show/Hide Columns

    Hello friends
    I am working on Crystal report 12.1
    I have a table in SQL server with 24 fields.
    Every 2nd field is bit field. kind of Visible True/False tag for previous column.
    e.g.  Name, Name_SH, Fund, Fund_SH    -
      Column names
    Name, Fund stores value.
    Name_SH stores, True/False for Name
    Fund_SH stores, True/False for Fund
    So, now, when I display report in Crystal report, user will select some fields from that 12 fields.
    That will be processed throug Stored proc in SQL and feeds data in same table.
    Now, in Report, How can I implement this situation, of display only columns with _SH = True.
    and also, user need proper format, means, there should be equal space between all columns.
    Please help me to solve this.
    thanks in advance.
    Thanks & Regards
    Utkarsh

    UNION to a single column with a secondary column for Type (field name) and remove invisible ones from the UNION process.
    Then, use a CrossTab to show the final result.

  • Show sum column item Report in another item TEXT ?

    I have a report region to the query "select * from emp" and would like to display the sum of the salt field in another item using the TEXT APEX_APPLICATION.G_F01 rather than run the querie again without using a submit button, or whenever to have a page refresh the data are updated. This has to do?
    Ps: My apologies for my English because I used google translate.

    you need to use lookup column .
    Try this 
    http://blogs.sharepoint911.com/blogs/jennifer/Lists/Posts/Post.aspx?ID=53

  • Summary columns and report

    Hi,
    We are using Oracle PL/SQL procedure to dynamically generate SQL to generate a report using HTMLDB.
    Could any one give me an idea about how to indirectly instruct HTMLDB to display 'sum' value if some of the fields are selected to be part of report? It is not possible to use report attribute 'sum' function, as we don't know what fields are on the report.
    Thanks,
    Neelam

    Even if you dont know what specific fields are on the report, you need to know their column positions at least. This way, you can use the Generic Columns on the report definition go to Report Attributes and select the Sum checkbox for column Cnn.
    If neither column positions, nor number of columns nor column names are known, well then, you are out of luck. Dynamic SQL is one thing, reading your mind is another! :)

Maybe you are looking for