Table row colors alternating

Hello Everyone,
I'm trying in the configure properties of a table change the row colors to alternating, but it has no effect.
It always remains the same formating, i.e., every row with the same blue color.
I only can set it to alternating if the table is marked in the properties as editable (Editing condition = true). It doesn't make any sense! I do not want the user to change the cells of the table, but still want to use alternating colors, and it is not possible.
I'm using Visual Composer 7.01 with SP5
Does anyone have any idea?
Tanks,
Diogo Ferreira.

Hi,
For messages about VC 7.0 version (this includes 7.01 and 7.02) please refer to the [VC 7.0 forum|SAP NetWeaver Visual Composer;.
Best regards,
Tal.

Similar Messages

  • How to join two internal table rows in alternative manner into one internal table?

    How to join two internal table rows in alternative manner into one internal table?
    two internal tables are suppose itab1 &  itab2 & its data
    Header 1
    Header 2
    Header 3
    a
    b
    c
    d
    e
    f
    g
    h
    i
    Header 1
    Header 2
    Header 3
    1
    2
    3
    4
    5
    6
    7
    8
    9
    INTO itab3 data
    Header 1
    Header 2
    Header 3
    a
    b
    c
    1
    2
    3
    d
    e
    f
    4
    5
    6
    g
    h
    i
    7
    8
    9

    Hi Soubhik,
    I have added two additional columns for each internal table.
    Table_Count - It represents the Internal Table Number(ITAB1 -> 1, ITAB2 -> 2)
    Row_Count  - It represents the Row Count Number, increase the row count value 1 by one..
    ITAB1:
    Header 1
    Header 2
    Header 3
    Table_Count
    Row_Count
    a
    b
    c
    1
    1
    d
    e
    f
    1
    2
    g
    h
    i
    1
    3
    ITAB2:
    Header 1
    Header 2
    Header 3
    Table_Count
    Row_Count
    1
    2
    3
    2
    1
    4
    5
    6
    2
    2
    7
    8
    9
    2
    3
    Create the Final Internal table as same as the ITAB1/ITAB2 structure.
    "Data Declarations
    DATA: IT_FINAL LIKE TABLE OF ITAB1.          "Final Internal Table
    FIELD-SYMBOLS: <FS_TAB1> TYPE TY_TAB1,     "TAB1
                                   <FS_TAB2> TYPE TY_TAB2.     "TAB2
    "Assign the values for the additional two column for ITAB1
    LOOP AT ITAB1 ASSIGNING <FS_TAB1>.
         <FS_TAB1>-TABLE_COUNT = 1.             "Table value same for all row
         <FS_TAB1>-ROW_COUNT = SY-TABIX. "Index value
    ENDLOOP.
    "Assign the values for the additional two column for ITAB2
    LOOP AT ITAB2 ASSIGNING <FS_TAB2>.    
         <FS_TAB2>-TABLE_COUNT = 2.                  "Table value same for all row
         <FS_TAB2>-ROW_COUNT = SY-TABIX.      "Index value
    ENDLOOP.
    "Copy the First Internal Table 'ITAB1' to Final Table
    IT_FINAL[] = ITAB1[].
    "Copy the Second Internal Table 'ITAB2' to Final Table
    APPEND IT
    LOOP AT ITAB2 INTO WA_TAB2.
    APPEND WA_TAB2 TO IT_FINAL.
    ENDLOOP.
    "Sort the Internal Table based on TABLE_COUNT & ROW_COUNT
    SORT IT_FINAL BY  ROW_COUNT TABLE_COUNT.
    After sorting, check the output for IT_FINAL Table, you can find the required output as shown above.
    Regards
    Rajkumar Narasimman

  • UIX - Changing read-only-table row colors

    Hi
    I have the requirement to alternate the background-row-color in an UIX read-only-table dependent on a value in the row.
    Can anybody point me in the right direction of a solution please?
    I'm familiar enough with the styles in the XSS style sheets, and using EL to dynamically change attributes of a UIX web page when rendered. However in the default <table> UIX tag generated by JDeveloper when dragging a data control onto a UIX web page, there doesn't appear to be a <row> tag for changing the background colour?
    Any help appreciated
    I'm using JDeveloper 9.0.5.2.
    Cheers,
    CM.

    I don't know if this works in JDeveloper 9.0.5.2, but there's a solution at least for JDevloper 10.1.2. You have to define a different styleClass (a CSS) for each column, depending on a condition. This solutions works as well together with row banding:
    <column>
      <columnHeader>
        <sortableHeader model="${ctrl:createSortableHeaderModel(bindings.MyView,'Seats')}" text="Seats"/>
      </columnHeader>
      <contents>
        <rowLayout width="100%" styleClass="${ui:cond(uix.current.IsLocked == 'J', 'OraTableCellLocked', '')}">
          <contents>
            <cellFormat>
              <contents>
                <textInput model="${ui:defaulting(uix.current.Seats, ' ')}" columns="10" readOnly="true"/>
              </contents>
            </cellFormat>
          </contents>
        </rowLayout>
      </contents>
    </column>The styleClass "OraTableCellLocked" has to be defined in the file "base-desktop.xss". An example ("Locked" cells are displayed with a red background):
       <style selector=".OraTableCellLocked">
        <includeStyle name="TableCellDataText"/>
        <includeStyle name="TableCellDataVerticalAlign"/>
        <!--<includeStyle name="TableCellDataBackgroundColor"/>-->
        <includeStyle name="TableCellDataBorderColor"/>
        <property name="background-color">#FFA4A4</property>
      </style>Hope this helps, although the original is very old.
    Regards,
    Georg

  • Table Row Color change on Edit.

    Hi,
    I have a editable table with two columns (one is inputtextbox and other is an LOV). On click of edit button, table will allow user to change the data.
    My requirement is, when ever user edits the data, I need to change the column content color.
    I tried to set the color on valuechangelistener of each component but failed.
    Please let me know whether it is possible to achieve.
    Thanks.

    Any help...

  • Table row color

    Hi all ,
    I want a more readable table (long table) so I'd like to set first row's backgroung white, second row's background light gray, third white ,fourth light gray and so on... (alternate white and lite gray rows)
    Does somenone knows how to do that???

    Hi!
    Try to look here:
    http://blogs.sun.com/winston/entry/setting_table_column_style
    I think it will be helpful for You.
    Thanks,
    Roman.

  • Alternating row colors. How to?

    All,
    When I use the Report Wizard, I can get alternating row colors. How can I get the same effect, when I use the 'create report using my sql query' option?
    thanks
    sanjay

    Sanjay,
    It is the same way that you do in it wizard reports, specify the table row colors in the display options section for gettng alternating row colors.
    Thanks and Regards
    Balaji

  • Table row change color on hover

    Hi,
    I don't know if it's possible to change table row color on mouse hover, I've been looking at skin-selectors (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/skin-selectors.html#Global%20Selectors) and I haven't found any row style class for af:table Component... if anyone knows how to achieve this I would be thankful.

    Hi,
    I replied to the other question of yours. I don't think this is possible because the row is not a component that can have a style applied to it. You may be more successful in applying the CSS to the components (outputText or inputText) on the table cells.
    Frank

  • Conditional alternating row colors

    Hello
    I have a report of companies an their country which is ordered by the column country. I'd like to have a alternating row color for every new country and not for every new row as it is in custom settings.
    Is that possible? How can I do that?
    Regards Felix
    Edited by: Felix on 21.09.2011 12:33

    Hi Scott
    sorry, I still not quite understand how to do, because which row must be colored depends on the number of countries in the database and alphabetic order of the countries.
    For example I show you only the country row of an example report and its row color as it should be right of it (because you cannot color text in this forum):
    [Country Row] [Row color]
    Albania light blue
    Albania light blue
    Albania light blue
    Albania light blue
    Andorra light green
    Andorra light green
    Andorra light green
    Andorra light green
    Argentina light blue
    Australia light green
    Australia light green
    Australia light green
    Once some data rows are inserted with a new country it should look like this
    [Country Row] [Row color]
    Albania light blue
    Albania light blue
    Albania light blue
    Albania light blue
    Algeria light green (new data)
    Algeria light green (new data)
    Algeria light green (new data)
    Andorra light blue (color switched)
    Andorra light blue (color switched)
    Andorra light blue (color switched)
    Andorra light blue (color switched)
    Argentina light green (color switched)
    Australia light blue (color switched)
    Australia light blue (color switched)
    Australia light blue (color switched)
    Now the row color of rows beneath Algeria changed (in order to keep the alternating row color alternating)
    I hope I now pointed out my problem more clearly.
    Thanks
    Felix

  • How can i set the alternating colors for a table rows

    Dear All,
    Please any one help me how can i set the Alternating colors for Table Rows.
    i created a theam there i set the background alternating color to brown and i set the table design properity to alternating. but it is not reflecting.

    Hi,
    The design property in Table properties should work for your requirement. Select "alternating" value for design.
    Please see the API below:
    design
    Determines the appearance of the table. The property design can take the following values and is represented by enumeration type WDTableDesign.
    alternating - The table rows are displayed alternately in a different color.
    standard - The table background has one color. The individual table rows are displayed with grid net lines.
    transparent - The table background is transparent. The individual table rows are displayed without grid net lines.
    Check whether you have changed the right property or not? Also table should contain more than one rows to test this scenario.
    Regards,
    Jaya.
    Edited by: VJR on Jun 17, 2009 6:43 PM

  • Table's  Properties "row color"[standard;alternating;trans.] doesn't work?

    Table's  Properties "row color"[standard;alternating;transparent] doesn't work?
    Upgraded VC to 7.01 with sp1, the table's grid color not change with the row color set.
    But set the nested  iview to show on the layer,the "row color" worked.
    But Why? why doesn't work in the primary iview.

    Hi
    Once this happened to me also. I deleted the table & created whole thing again & it worked.
    Just try to create whole thing again atleast that table. it may work.
    Regards
    Sandeep

  • Pivot table alternating row colors

    Hello,
    In ADF 11g, is it possible to format a pivot table so row colors will alternate? 1st row gray, second row white, 3rd row gray and so on..
    Can i determine which row is a DataCellContext object in ?
    Thanks.

    Any ideas ? I still could not find a way to give alternate row colors to a pivot table.

  • Row coloring in WD table (not ALV) based on condition

    HI All,
    I have created WD table with 8 columns
    8 Th columns is “color “   type wdui_table_cell_desgin
    All 7 are bounded to table except color.
    Depending on my condition I am passing the domain values colors
    Loop at itab into WA.
    Ex: if wa-abc = ‘ABC’.
        Wa-color = 27
    Modify statement …….
    End loop.
    I followed the below link .
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/707fb792-c181-2d10-61bd-ce15d58b5cf1?quicklink=index&overridelayout=true
    My problem is WD Table row is not coloring, any suggestion or related links
    Will be awarded. If iam in wrong way please correct me.
    Thanks
    Gopal

    Hi Gopal,
    There are two posibilities that, your Table row/cell coloring is not working
    1:
              Make sure that you have bound the columns "CellDesign" property to COLOR attribute as below
         Note: If you need to color whole ROW, then you need to bind the cellDesign of all columns to COLOR, otherwise, only respective cells gets colored.
    2. Make sure that the property "Design" of table should not be set to "ALTERNATING", because it overrides the color. Hence, set the design of table to "standard"
    Hope this resolves your issue.
    Regards,
    Rama

  • Alternate row color for table question

    I'm alternating the row color on a table, and if I have a
    <a href> in
    the table, the background behind the <a href> isn't the
    same as the row
    color based on:
    <tr bgcolor="###iif(currentrow mod
    2,de('ffffff'),de('efefef'))#">
    Is there a way to have the CSS that formats the <a
    href> change at the
    same time as the background color for the row??

    How about a way to do it without having to learn something
    else (like a
    framework??)
    Anyone done something like what I'm looking to do? Just
    change the <a href>
    formatting to go along with the inline iif shown below?
    <tr bgcolor="###iif(currentrow mod
    2,de('ffffff'),de('efefef'))#">
    Steve
    "Daverms" <[email protected]> wrote in
    message
    news:fgn5vi$83b$[email protected]..
    > Hi,
    >
    > Try implementing the "JQuery" framework in your
    application. It really
    > minimizes the coding time and enables you to concentrate
    on development
    > alone.
    >
    > (Try Googling, You can find more JQuery solutions for
    this TR alternative
    > bgcolor issues, ).
    >
    >
    >
    >

  • Display the background of table row alternatively and hiding cell border

    Hi all,
    I am trying to display the background of the table using different color alternative and at same time I need to hide the border of all cells.
    What I found in <af:table> is using bandingInterval="1" banding="row", but how can I set the background color? And how to hide the cell border?
    Or if there is a thing like row index so that I can mod it like rowIndex%2==0 in every column to determine the inlineStyle?
    Thanks.
    Shawn

    <af:table value="..." var="row" varStatus="status">
      <af:column inlineStyle="#{status.index % 2 > 0.5 ? 'border:none;' : ''}">
      </af:column>
    </af:table>For some reason, EL operation always seems to return a double, so the condition has to be defined with that in mind.
    Regards,
    ~ Simon

  • Alternating row color is missing a row

    Hi,
    I've made a table and have checked the "alternating row color" box.  It's working fine except for the top row, which should be colored in and isn't.
    Any suggestions on how to fix this?
    thanks.

    Is the top row a header row? That may prevent it from being the intended colour. If so, remove the header setting and reapply the alternating row colour.

Maybe you are looking for

  • How to publish with my iOS Dev Account ?

    Hi there, I wrote an iBooks and I want to publish it on the iBooks store but i can't connect to iTunes Connect. It says " The iTunes Store account entered is already being used for an iTunes Connect account that distributes Apps. To continue with thi

  • Oracle 11g available for most platforms

    I was talking so sure to my system admin that 11g only available to Linux and Windows this morning. It turns out I was so wrong , lol http://www.oracle.com/technology/software/products/database/index.html

  • Unable to import Thesaurus in SharePoint 2013 - Failed to start the flow

    I am having issue with importing Thesaurus into SharePoint 2013. I have tried with seed file on local and remote server without success. On ULS stack, it lists  "Cannot start flow. The admin service is unavailable". But if I retrieve status of search

  • Program enabling upon start up

    So I just got my Macbook yesterday and so far I love it. Everything is working flawlessy and the 2 GB of RAM i upgraded is excellent. I'm sure I'll have plenty more questions as this is the first mac OS i've owned... I downloaded IAlertU which I thin

  • IPhoto 2.0.1so sloooooow. why?

    I've been using iPhoto 2.0.1 on my G4 400 and draging pics into albums or scrolling through all the photos slows my G4 and I have to wait for ages! the spinning colour beachball goes on for ages! whats wrong? Any help much appreciated / Yhanks Alexis