How to hide cells in the sumation row in bps web layouts

Hello xperts,
I'm looking for a possibility to hide certain cells in the sumation row within a planing table (layout) over the webinterface builder.
can anybody help me.
I know there is a possibility to influence a table with the tableinterface for reporting tables.
Is there any similar possibility in BPS- Web interface builder like a java script ?
Please help !!!

Hi Thomas,
what exactly do you mean by "hide certain cells"? Do want to empty the contents of the cell or actually hide the cell? Hiding works for entire rows or entire tables, but hiding colums or even single cells is a bit more difficult (given, that when you hide one cell, the table loses its rectangular shape and the rows and columns don't match anymore ).
I mangaged to change the appearance of certain objects with javascript. But that works only if you have an ID or NAME attribute in the HTML-source. Let's say you have a button and want to make it disappear.
1. Create the button in the wi builder, name it button1.
2. Create a text/html field, mark the html flag.
3. Edit the long text of the field:
<script>
  document.getElementById('button1').style.display='none';
</script>
That will make the button disappear. But I don't think that the display attribute will have any effect on a TD. You can try with style.InnerHTML or maybe set style.color to the background color. But in any case, the TD in the HTML code needs to have an ID or NAME. Otherwise it can't be referred. Maybe changing the bsp with SE80 helps?
Simon

Similar Messages

  • How to hide itemRenderers in the Grouped rows of an AdvancedDataGrid?

    I am using an AdvancedDataGrid and showing a comboBox as the itemRenderer and also the editRenderer. However I am seeing the combobox in the grouped rows also. Below is the code I am using and also attached the screenshot of the app. Please help.
    TestAdvGridGrpRen.mxml
    ===================
    <?xml version="1.0"?>
    <!-- dpcontrols/adg/SummaryGroupADGCustomSummary.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
                import mx.collections.IViewCursor;   
                import mx.collections.SummaryObject;
    [Bindable]
    private var dpFlat:ArrayCollection = new ArrayCollection([
      {Region:"Southwest", Territory:"Arizona",
          Territory_Rep:"Barbara Jennings", Actual:38865, Estimate:40000},
      {Region:"Southwest", Territory:"Arizona",
          Territory_Rep:"Dana Binn", Actual:29885, Estimate:30000},
      {Region:"Southwest", Territory:"Central California",
          Territory_Rep:"Joe Smith", Actual:29134, Estimate:30000},
      {Region:"Southwest", Territory:"Nevada",
          Territory_Rep:"Bethany Pittman", Actual:52888, Estimate:45000},
      {Region:"Southwest", Territory:"Northern California",
          Territory_Rep:"Lauren Ipsum", Actual:38805, Estimate:40000},
      {Region:"Southwest", Territory:"Northern California",
          Territory_Rep:"T.R. Smith", Actual:55498, Estimate:40000},
      {Region:"Southwest", Territory:"Southern California",
          Territory_Rep:"Alice Treu", Actual:44985, Estimate:45000},
      {Region:"Southwest", Territory:"Southern California",
          Territory_Rep:"Jane Grove", Actual:44913, Estimate:45000}
                // Callback function to create
                // the SummaryObject used to hold the summary data.
                private function summObjFunc():SummaryObject {
                    // Define the object containing the summary data.
                    var obj:SummaryObject = new SummaryObject();
                    // Add a field containing a value for the Territory_Rep column.
                    obj.Territory_Rep = "Alternating Reps";
                    return obj;
                // Callback function to summarizes
                // every other row of the Actual sales revenue for the territory.
                private function summFunc(cursor:IViewCursor, dataField:String,
                    operation:String):Number {
                    var oddCount:Number = 0;
                    var count:int = 1;
                    while (!cursor.afterLast)
                        if (count % 2 != 0)
                            oddCount += cursor.current["Actual"];
                        cursor.moveNext();
                        count++;
                    return oddCount;
          ]]>
        </mx:Script>
        <mx:AdvancedDataGrid id="myADG"
            width="100%" height="100%"
            initialize="gc.refresh();">      
            <mx:dataProvider>
                <mx:GroupingCollection id="gc" source="{dpFlat}">
                    <mx:Grouping>
                       <mx:GroupingField name="Region"/>
                       <mx:GroupingField name="Territory">
                          <mx:summaries>
                             <mx:SummaryRow summaryObjectFunction="summObjFunc"
                                summaryPlacement="first">
                                <mx:fields>
                                   <mx:SummaryField dataField="Actual" summaryFunction="summFunc"/>
                                </mx:fields>
                             </mx:SummaryRow>
                          </mx:summaries>
                       </mx:GroupingField>
                    </mx:Grouping>
                </mx:GroupingCollection>
            </mx:dataProvider>      
            <mx:columns>
                <mx:AdvancedDataGridColumn dataField="Region"/>
                <mx:AdvancedDataGridColumn dataField="Territory_Rep"
                    headerText="Territory Rep"/>
                <mx:AdvancedDataGridColumn headerText="Actual" dataField="Actual"
                rendererIsEditor="true"
                itemRenderer="TestStatusTypeEditor"
                editorDataField="type"/>
                <mx:AdvancedDataGridColumn dataField="Estimate"/>
            </mx:columns>
       </mx:AdvancedDataGrid>
    </mx:Application>
    TestStatusTypeEditor.mxml
    ====================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:ComboBox xmlns:mx="http://www.adobe.com/2006/mxml"
    creationComplete="OnInit()" >
    <!-- This is the content of the ComboBox.
    <mx:dataProvider>
    <mx:Object label="Cog" />
    <mx:Object label="Sproket" />
    </mx:dataProvider>
    -->
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
            [Bindable]
            public var cards:ArrayCollection = new ArrayCollection(
                [ {label:"38865", data:1},
                  {label:"29885", data:2},
                  {label:"29134", data:3},
                  {label:"52888", data:4},
                  {label:"38805", data:5},
                  {label:"55498", data:6},
                  {label:"44985", data:7},
                  {label:"44913", data:8}]);
    private function OnInit():void
    dataProvider = cards;
    * This override of set data compares the data.label against the label property
    * of each item in the dataProvider (above). This code is written a bit more
    * generically than necessary, but it would allow you to have a long list
    * in the dataProvider and not have to change this code.
    override public function set data(value:Object):void
    super.data = value;
    var list:ArrayCollection = dataProvider as ArrayCollection;
    for(var i:int=0; i < list.length; i++)
    if( String(value.statusName) == list[i].label ) {
    selectedIndex = i;
    * This getter is the one identified as the editorDataField in the list for
    * the itemEditor.
    public function get type() : String
    if( selectedItem ) {
    return selectedItem.label;
    else {
    return null;
    ]]>
    </mx:Script>
    </mx:ComboBox>

    Solved this issue by using mx:rendererProviders element for my AdvancedGrid. Using the depth parameter gives me the ability to hide the itemRenderer for the Grouped rows.
        <mx:AdvancedDataGrid id="myADG"
            width="100%" height="100%"
            initialize="gc.refresh();">       
            <mx:dataProvider>
                <mx:GroupingCollection id="gc" source="{dpFlat}">
                    <mx:Grouping>
                       <mx:GroupingField name="Region"/>
                       <mx:GroupingField name="Territory">
                          <mx:summaries>
                             <mx:SummaryRow summaryObjectFunction="summObjFunc"
                                summaryPlacement="first">
                                <mx:fields>
                                   <mx:SummaryField dataField="Actual" summaryFunction="summFunc"/>
                                </mx:fields>
                             </mx:SummaryRow>
                          </mx:summaries>
                       </mx:GroupingField>
                    </mx:Grouping>
                </mx:GroupingCollection>
            </mx:dataProvider>       
            <mx:columns>
                <mx:AdvancedDataGridColumn dataField="Region"/>
                <mx:AdvancedDataGridColumn dataField="Territory_Rep"
                    headerText="Territory Rep"/>
                <mx:AdvancedDataGridColumn headerText="Actual" dataField="Actual"
                rendererIsEditor="true"
                editorDataField="type"/>
                <mx:AdvancedDataGridColumn dataField="Estimate"/>
            </mx:columns>
    <mx:rendererProviders>
        <mx:AdvancedDataGridRendererProvider
            columnIndex="2"
            columnSpan="1"
            depth="3"
            renderer="TestStatusTypeEditor"/>
    </mx:rendererProviders>
       </mx:AdvancedDataGrid>

  • How to hide title of the list on Content Query Web Part?

    I am trying to display the description on content query web part from a list. Even when I leave the Title field blank on "Presentation" section (editing the web part), the title shows up with the link along with the description. Is there any way
    to hide the title or leave it as blank? Any help is highly appreciated.
    Thanks,
    Evilar

    Hi Evilar,
    Thanks for posting your issue, Kindly use the below mentioned CSS Style in ID of table tag to fix this issue
    #hide-title .ms-viewheadertr {
    display: none;
    }OR
    For Content Query Web part (WebPartWPQX) Note; X is a number of your web part.#WebPartWPQX .ms-viewheadertr
      display: none;
      }So only titles of the webpart within the WebPartWPQX will be hided.
    Also, browse below mentioned URL for more details
    http://www.balestra.be/2013/08/hide-column-titles-from-sharepoint-lists-libraries.html
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • How to hide edit link for  some rows in report? (according to value of col)

    Helo,
    How to hide edit link for some rows in report? (according to value of column)
    regards
    siyavuş

    Hi siyavuş
    You can do this by taking the edit link off the report and putting it into your report SQL.
    Use something like Select CASE WHEN (condition)  THEN
    'Put your edit link in here as an html Anchor like<a href="(target)">Edit</a>'
    ELSE
    tt.value
    END edit_link
    FROM test_table tthope it helps,
    Gus..
    You can reward this reply (and those of other helpers) by marking it as either Helpful or Correct.
    This allows forum users to quickly find the correct answer.
    ;-)

  • How to set focus on the last row of JTextPane

    how to set focus on the last row of JTextPane?
    import javax.swing.*;
    import javax.swing.text.html.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MyGUITest extends JPanel implements ActionListener
    {   public static void main(String[] args)
        {   SwingUtilities.invokeLater(new Runnable()
             {   public void run()
              {    JFrame f = new JFrame("My GUI");
                  MyGUITest GUI = new MyGUITest();
                  GUI.setOpaque(true);
                  f.setContentPane(GUI);
                  f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                  f.pack();
                  f.setLocationRelativeTo(null);
                  f.setVisible(true);
        JTextPane txtP;
        JButton add;
        HTMLEditorKit hek;
        HTMLDocument hd;
        String txt;
        MyGUITest()
        {     this.setLayout(new BorderLayout());
         this.setPreferredSize(new Dimension(400,200));
         txtP = new JTextPane();
         txtP.setEditable(false);
         txtP.setContentType("text/html");
         txtP.setText("");
         hek = new HTMLEditorKit();
         txtP.setEditorKit(hek);
         hd = new HTMLDocument();
         txtP.setDocument(hd);
         JScrollPane sTxtA = new JScrollPane(txtP);
         add = new JButton("add");
         add.addActionListener(this);
         sTxtA.setBorder(BorderFactory.createTitledBorder(""));
         this.add(sTxtA, BorderLayout.CENTER);
         add(add, BorderLayout.SOUTH);
         new Thread(new Runnable()
         {   public void run()
             {   while(true)
              {   try
                  {     Thread.sleep(100);
                  }catch(InterruptedException ex)
                  {     ex.printStackTrace();
                  appendText("This is <b>HTML</b> text");
                  //add.doClick();
         }).start();
        public void actionPerformed(ActionEvent e)
        {     txt = "<b>asd</b>";
         try
         {   hek.insertHTML(hd, hd.getLength(), txt, 0, 0, null);
         }catch(Exception ex){   ex.printStackTrace();   }
        public void appendText(String txt)
        {     try
         {   hek.insertHTML(hd, hd.getLength(), txt, 0, 0, null);
         }catch(Exception ex){   ex.printStackTrace();   }
    }thanks~

    anIdiot wrote:
    im not sure what is the caret location...So don't youthink you should have looked for it in the API?
    anyway, i want the scroll bar to scrolled down automatically when the output is displayed.
    normally, the scroll bar is scrolled down automatically when a new text is inserted, but it doesnt work on this timeGo through camockr's http://tips4java.wordpress.com/2008/10/22/text-area-scrolling/
    db

  • Anyone knows how to hide or dim the menu bar ?

    Anyone knows how to hide or dim the menu bar ?

    MagicMenu, but it may no longer work.
    Auto-hide the dock and menubar on a per-app basis .
    Hide Your Mac Menu Bar and Dock for a Cleaner Desktop.
    All found doing a Google search. Why not give that a try first before posting here.

  • How to open a Query in BPS Web-Layout

    Hello,
    i am new to BPS. How can I open a Query in BPS Web-Layout so that I can enter plan data manually??
    Pls give me the procedure and not links to help.sap.com. Thanks.
    pls help,
    SD

    Hi.
    You can open bex query in BPS Web Layout, but you should update data via BPS layout.
    In BPS Bex query can be opened only for display as long as BPS doesn't allow input via query (only BI7+IP).
    In BPS Web Interface builder add subcomponent "text", set HTML=TRUE, goto property "text", press F4->edit long text and enter HTML tags IFRAME with URL of bex query.
    Regards.

  • How to hide or make the row invisible in RTF report?

    Hi ,
    I am setting a flag = 'Y' in one condition as i want to display records only if flag = 'Y'. It is not displaying data in case flag != 'Y'.But it is displaying empty row in report for the record which does not have flag = ' Y'. How to hide those empty rows?
    See following code for example:
    <?for-each: LIST_G_STORE_ID/G_STORE_ID?>
    <?xdofx: if STORE_ID = '' then '-' else STORE_ID?>
    <?for-each: LIST_G_TRANSACTION/G_TRANSACTION?>
    <?for-each: Q1?><?if: PLAN_CODE = 'PLN'?><?xdoxslt:set_variable($_XDOCTX,'flag', 'Y')?><?end if?><?end for-each?>
    <?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if TRN_DATE = '' then '-' else TRN_DATE?><?end if?>
    <?for-each@inlines:LIST_Q1/Q1?>
    <?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if INVC_NUM= '' then '-' else INVC_NUM?><?end if?>
    <?for-each@inlines:LIST_Q1/Q1?><?if: xdoxslt: get_variable($_XDOCTX,'flag') = 'Y'?><?xdofx: if substr(PLAN_CODE,1,3) != 'PLN' then PRODUCT_CODE?><?xdofx: if PLAN_CODE!= 'PLN' then ','?><?end if?><?end for-each?>
    <?end for-each?><?xdoxslt:set_variable($_XDOCTX,'flag','N')?>
    <?end for-each?>
    <?end for-each?>
    please advice or let me know if more detail is needed.
    Thanks in Advance!!

    <?for-each:LIST_G_STORE_ID/G_STORE_ID [PLAN_CODE ='PLN' ]?> will only show the rows where that value of xml field PLAN_CODE is equal to 'PLN'.
    Hope this helps
    Domnic
    Edited by: Domnic_JDE_BIP on Apr 12, 2010 5:47 PM

  • How to hide exception display on results row

    I have an exception on my query, showing when the value of a certain formula is 1. I am hiding the results row display of that formula. It's being displayed as a hierarchy. The value doesn't show on the result nodes but the exception shows. How can I avoid the exception being shown on the result row?

    Hi,
    In the Exceptions, Goto Cell Restrictions Change the Operates value to Everything Except Totals.
    Then Exceptions will not be displayed for the Result Areas.
    Veerendra.

  • Nokia N97 How to hide images from the photo browse...

    I'm not even going to ask about how to hide sensitive images, i just deleted them, but still
    there are several programs that use images for they're normal behaviour, i had this same issue
    with my nokia n95, but i simply set the image atributes of the pictures i didn't want to show in the photo browser,
    and that solved the problem, but with my new n97 this is of no use, i also tryed setting the image atribute as sys file
    and that did not solvet either... Please help, i do not like having 500 images from a software showing up in my gallery...
    Thanks in advance

    how to move image from gallery to a certain album (not copy)

  • How to give a checkbox the value "row number" (like [row selector])

    I like to define a checkbox with htmldb_item.checkbox and give the checkbox the value 'row number'.
    It has to be the row number as displayed. Therefore I cannot use rownum or row_number() because the htmldb sorting functionality change the sequence after the row numbers are given.
    How can I give the checkbox this value, or as alternative how can I get the current row (checkbox element) in javascript from the checkbox onclick event.

    Vikas,
    Thanks a lot.
    This works.
    I use this number also to construct javascript and I walk in problems which are also solved now.
    therefore for anyone else who also want to use '#ROWNUM#'. keep in mind that for the sql #ROWNUM# is just a string and should be treated as a string therefore use quotes around it. The #ROWNUM# string is translated after executing the query, when the page is constructed from the result of the query.
    Fred.

  • How to hide one of the two Multi level categorization blocks in SRVR?

    Hi
    I am trying to hide one of the multilevel categorization blocks in SRVR(SERVICE request)
    Can it be done by configuration in BSP workbench. If yes then how? I went to the view but I am not able to remove the block
    Please help.
    Thanks
    Tarang

    Go to BSP_WD_CMPWB and create a new view by copying existing and remove the 2nd category block.
    This can also be done directly from webui.
    Regards
    Surya

  • How to hide "Note that the search is case insensitive" text from Query Region

    Hi,
    When create a search page with Query region : Autocustomizationcriteria mode, page is showing automatically "Note that the search is case insensitive" text is showing automatically.
    this is not needed. can you please let me know how to hide this one from page.
    Regards,
    Ram

    Check this link:
    https://forums.oracle.com/message/9227812#9227812
    --Sushant

  • How to insert data to the specified row column of the multi column list box

    Hi All
    How do i insert data into the specified column of the multi cplumn list box?
    I have a table that containsall station nos and name.Then another table contains the data the various stations having at  for 24 hrs.That is 12 am to 11 pm.
    And i want to display each stations details as follows using a multi column list box/table
    My stationinfo table
    stnno   stnname......................
    s1           stn1
    s2            stn2
    s3             stn3
    The other table
    stnno      sysdatetime       data
    s1             12am                   1
    s2              12am                   4
    s1               1  am                 2
    So the station s1,s2.... will have data for 24 hrs.
    And i want to display it as follows using a multicolumn listbox
    stnname        12am   1 am ......................................11pm
    s1                   ...................
    s2                 ........................
    What i have in my  mind is to get all station nos
    and in a for loop get the station's data from 12 am to 11 pm
    or
    select every statios data for each hor.But in this case i have to query the database 24 times.So i dont think its a good way.
    Or any other better query available?
    Can anybody suggest me a good idea?
    One more thing...how to insert data into the specified field row or column of a multi column list box?
    Thanks in advance

    hi
    i want to know,,can u say ur need clearly...and i attached two image u see that one
    Indrajit
    | [email protected] | [email protected] .
    Attachments:
    station.JPG ‏35 KB
    station2.JPG ‏79 KB

  • How to hide markups with the rectangle tool from printing

    Using the rectangle tool and applying the color white we use this as a white-out tool to hide text from the actual document (such as sensitive information)
    However, when I go to print, on the printer settings it allows me to print the document, that shows the information that was "hidden" with our rectangle tool.
    How can I restrict a user to only print what is displayed on the screen??
    Thank you,

    How do I get there and how do I apply it?
    Angela H. Ortega
    Information Technology Dept
    Savings Bank of Mendocino County
    www.savingsbank.com
    [email protected]
    707-462-6613 Ext 350
    CONFIDENTIALITY NOTICE:  This e-mail transmission and any documents,
    files or previous e-mail messages attached to it may contain
    confidential information that is legally or attorney-client privileged.
    It is intended only for the individual named above and the privileges
    are not waived by virtue of this having been sent by e-mail.  If you are
    not the intended recipient, ANY USE, DISSEMINATION, DISTRIBUTION OR
    COPYING OF THIS COMMUNICATION IS STRICTLY PROHIBITED.  If you have
    received this communication in error, please immediately notify us by
    return e-mail or telephone at the e-mail address or telephone number
    listed above and destroy this transmission and any attachments without
    reading or saving in any manner.  Thank you.

Maybe you are looking for

  • 11.0.06 crashes at data entry

    Windows XP, Service Pack 3 I never had any trouble with Adobe Reader until I installed v.11, now it frequently crashes when entering data into IRS forms or when saving the forms.  When I write "crash" I mean the application closes.  I've sent so many

  • Method Does Not Exist When It Does!

    PLEASE HELP Ages ago, i was going to do a sonic advance 3 applet to put on my website, but I gave up. Now, i have decieded to try again, and am currently not getting very far I call soundplayer.SetDir(getDocumentBase(),"audio/au"); and it compiles ok

  • Mail Body Formatting - Mail Receiver Adapter

    Hello, I use the Mail Receiver Adapter (SMTP) with and use Mail Package to set Attributes during Mapping. My Question: Is there any possibility to format the body of the Email Message (e.g. line feeds) when mapping the field "Content" of the target s

  • Connecting to an external freecom hard drive

    I have just bought a 250gb classic SL external hard drive to back up data on my ibook and pc (XP). I have connected the drive to my ibook using the usb cable supplied but a new icon hasn't appeared so presume the drive hasn't been mounted. I have che

  • IMac confused about my keyboard

    Hey, I perviously had a issue with some off my keyboard short cuts not working, e.g. Brightness, iTunes controls, dashboard. I was told a lot of interesting stuff to fix it but nothing worked... I have just finished upgrading to Snow and the problem