Reg: Table's Design Property Alternating

Hi,
I'm having a table and i'm setting its design property as alternating.In the NWDS2004 its showing alternating colors in the table but when i deploy and run it in the browser its not reflecting there. its displaying the ordinary table with no changes in it.
please help me out how to solve this?
Regards,
Suresh

Hi,
You need to set the readOnly property of the table to true. This is how it worked for me for WDTableDesign.ALTERNATING.
But then you would not be able to do anything with the table.
Well i dont have idea why it works with readOnly property as true. May be displaying some kind of WD reports which is only for reading purpose(for which i have used).
thanks & regards,
Manoj

Similar Messages

  • Inconsistency in table cell design binding

    Hi All,
    I have a strange issue. I have a table in which i am coloring the cells based on certain condition. Upon execution of a method , the color should change.
    However color changes sometimes and sometimes it does not happen. For the times it doesn't not happen, the changes take effect after i refresh the window.
    I have debugged and checked, the data is being populated properly and binding is also done.
    Your help is appreciated.
    Thanks,
    Pris.

    Hi,
    Check ahve you follow same or not..
    Create one attribute of type WDUI_TABLE_CELL_DESIGN and bind this table column celldesign property.
    Based on condition you want design cell color..
    code like this... i am using dropdown in one column, based on value select in this i am coloring cell.
    DATA lo_nd_segment1 TYPE REF TO if_wd_context_node.
      DATA lo_el_segment1 TYPE REF TO if_wd_context_element.
      DATA ls_segment1 TYPE wd_this->Element_segment1.
      data lt_segment1 type wd_this->elements_segment1.
      DATA lv_segment TYPE wd_this->Element_segment1-segment.
      data lr_column type ref to cl_wd_table_column.
    * navigate from <CONTEXT> to <SEGMENT1> via lead selection
      lo_nd_segment1 = wd_context->get_child_node( name = wd_this->wdctx_segment1 ).
    * get element via lead selection
      lo_el_segment1 = lo_nd_segment1->get_element( ).
      lo_el_segment1 = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
    * get all declared attributes
      lo_el_segment1->get_static_attributes(
        IMPORTING
          static_attributes = ls_segment1 ).
      DATA : lv_dropdown type string .
      data desnval type WDUI_TABLE_CELL_DESIGN.
    lv_dropdown =  ls_segment1-segment.
      if lv_dropdown = 1.
        desnval = cl_wd_table_column=>e_cell_design-badvalue_medium.
      endif.
      if lv_dropdown = 2.
        desnval = cl_wd_table_column=>e_cell_design-criticalvalue_medium.
      endif.
      if lv_dropdown = 3.
        desnval = cl_wd_table_column=>e_cell_design-key_medium.
      endif.
    Cheers,
    Kris.

  • PayPal buttons inside table scramble Design View in DW CS5.5

    I developed my web site using Dreamweaver 8:
    http://www.harmonize.com/hatleymusic/classic.html
    As  you see, I have PayPal buttons inside table cells.  I did this using  Design View, putting the insertion point in the table cell, going to  code view, and pasting the PayPal button code at the insertion point.   This all worked fine.
    I just upgraded to DW CS5.5. and now  when I try to use the same procedure, the Design View image gets  scrambled  after I paste the button code in code view.  The table format  is no longer in place, and I can no longer see where the cells of the  table are.  However, when I go to Live View, everything looks fine  including the table and the buttons.
    Can anyone tell me  how to overcome this problem?  As it stands, I cannot use DW to work on  my web site, which is a major problem for me.
    Thanks.

    How do I get someone to respond to my question here?
    Let me try again.
    With DW CS5.5 when I try to insert a PayPal button into a table (which I always did with DW8) the table in Design View gets scrambled, making it unusable.  Please would one of you out there who is much more knowledgeable about DW than me try it and see if there is a solution?  If you create a new HTML page in Design view, create a table in it, place the insertion point inside one of the table cells, go to the code view and locate the insertion point there, then paste the PayPal button code at that point. Here's the code:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="XSXQ9CUMUVLQC">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    Now go back to Design view and see how it looks.  If it acts the way it does for me, the table is no longer visible, but if you go to Live View everything looks fine with the table and the button inside it.  Of course, I can't design in Live View.
    PLEASE can someone out there help me.
    Many thanks.

  • How to create a type table in designer 9i

    Hi
    In our company we use designer 9i. I want to create a type table using designer. Is it possible? I have a requirement where i need to create a type table and use in creating a view through designer.
    Create or replace type varchar2_ntt as table of varchar2(4000);
    [\pre]
    Please suggest.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi
    Here I am giving the step by step process.
    1. select the container in which container you are going to create the type.
    2.Go to tools then design editor and expand the container. There you will find oracle collection types. there we have to create a new one by clicking the + button on the left side.
    3. Give the name of the new collection type.
    4. And in the collection of tab, let it be scalar, give the scalar data type,and the size and click finish.
    5. then right click on that object and give generate. there you select theDDL files only and the give the path where the scripts have to go.
    This the process.
    Thanks,
    raju

  • Table control designed by wizard greys out after pressing enter

    Dear Gurus
    I have implmeted a badi to show some data on vl02n in a extra tab inside a table control designed using table control wizard. I have caught sy-ucomm event to display corrsponding data on the table control  to what I am already sending from pbo of the screen everything is working fine beside just one thing. Initially all the rows of table control stays in editable mode but When I enter some record and hit enter the corresponding record is properly shown along with the record from pbo and enterd on the table control but beside the current row all the rows below it turn grey and I cannot enter any further data. Please help me out.
    Anurag
    Edited by: Anurag Jain on Sep 17, 2009 12:28 PM
    Edited by: Anurag Jain on Sep 17, 2009 12:29 PM
    Edited by: Anurag Jain on Sep 17, 2009 12:29 PM
    Edited by: Anurag Jain on Sep 17, 2009 12:29 PM

    Solved. The problem was with the sequence in which code was written for all table control in PBO module. PBO code sequence for table controls should be as per the sequence on screen.

  • Adding One Line Code in all tables in Designer Trigger.

    I have 300+ tables in my Schema (All tables generated through Designer), I want to add one line of code in the begining of "Before Inset Row Trigger" of all tables, So what is the fastest way of doing that,
    Adding One Line Code in all tables in Designer Trigger.
    I don't want to go and modify each and every table

    You'll have to write a script that reads out the current contents of your triggers, add your line to this contents and dynamically "create or replace" the new trigger text.
    Beware, trigger_body column of user/all/dba_triggers is in a column with datatype LONG, so you'll have to use some sort of conversion.
    Good luck.
    regards,
    Rob.

  • Table UI Design

    Hi,
       What I want to acheive right now is something like this..
       For every row in Column 1 i need multiple rows in the remaining columns. Something corresponding to the following context node {Please ignore the dots(.) they're substitutes for blank spaces, for formatting }
    Context
    |
    Table (NODE)
    ...|-OuterAttr1 (Attribute)
    ...|----InnerNode (NODE)
    ......|-InnerAttr1 (Attribute)
    ......|-InnerAttr2 (Attribute)
    ......|-InnerAttr3 (Attribute)
    Is there something like a ROWSPAN that I can set for the 1st column? And even then the problem is that the number of rows corresponding to that is dynamic.
    OR
    Alternatively is there anyway to embed a Table( or a Container Element such as Group) into the 2nd column of the Outer Table?
    The second alternative is very lucrative.
    Regards,
    Ashish.

    Hi Ashish
    The table control as far as I know does not give these kinds of functionalities. Or we should wait for Armin to respond  .
    But you could achieve something like this
    Column1 |
    Master
    Column2| Column3 | Column4
    Detail1 Detail1    Detail1
    Detail2 Detail2    Detail2
    ===================================
    Column1 |
    Master2
    Column2| Column3 | Column4
    Detail1  Detail1   Detail1
    Detail2  Detail2   Detail2
    ===================================
    What you could do is generate tables dynamically on the fly ,I assume that you have two kinds of data here master and detail and you want the master to be shown first and then the set of detail. For every master record generate a table dynamically with a single row and bind it to the record. Remove your footer.
    And for a group of detail records generate a table dynamically with and bind to the detail records. Remove the footer. You can use the invisble UI element to achieve some padding at the start
    Regards
    Pran

  • Reg Table Design

    Hi,
    Iam working on the Customization of table in WebDynpro.I have an application which has 2 views - TableView and CustomView.In the CustomView i have a dropdownbyindex ui element which has the values as "Standard", "Transparent", "Alternating".When the user selects any of these values and clicks on the Apply button, the table design should be changed in the TableView.
    Can anyone guide me as how to proceed with this?
    I hope i made my requirement very clear.
    Regards,
    Padmalatha.K
    Points will be rewarded.

    Hi,
    Create an attribute of type "TableDesign" [com.sap.ide.webdynpro.uielementdefinitions.TableDesign]
    bind this attribute to the Type property of the table.
    In the init set the values as follows. or else change according your need.
    wdContext.currentContextElement().setTableDesign(WDTableDesign.STANDARD);
    And in the action handler of your drop down by index you can use the following code
    In the below code my attribute name is TableDesign
    Based on the condition you can use the following code to change the Type.
    //Assuming the key returns you the selected value as int 0..1..2
    switch (key) {
         case 1:
              wdContext.currentContextElement().setTableDesign(WDTableDesign.ALTERNATING);
              break;
         case 2:
              wdContext.currentContextElement().setTableDesign(WDTableDesign.TRANSPARENT);
              break
         default:
              wdContext.currentContextElement().setTableDesign(WDTableDesign.STANDARD);
              break;
    Regards
    Ayyapparaj

  • Generating table in designer

    Hello,
    When I try to generate my table I am getting this error message:
    CDS-11006 Error: Unique Key 'CDS_IGP_UK2' has namespace conflict with Unique Key 'CDS_IGP_UK3'
    Can someone tell me what this means and how to correct it?
    Thanks
    Cathy

    Well, I don't know a way to do this directly, but I can provide you with 2 alternative solutions:
    1-To generate a HTML file having the list u need. This can be done using Repository Reports. On the main window of Designer you find a button labeled "Repository Reports".
    1-To transfer ERD into server model using Database Design Transformer, and then transfer this server model into an Oracle Database user, and then using Data Dictionary Views (USER_TABLES, USER_TAB_COLUMNS and etc.) you can select the information you need and put them into a table (CREATE TABLE x AS subquery;) Using Microsoft Access you can import data from this table and export them as a Microsoft Excel spreadsheet.This choice needs some effort but it enables you to put information into spreadsheet.
    I hope this will be helpful.

  • Reg: table control values to be updated during POV event

    Hi all,
          i need to design the screen for table control. which should contain Four input fields and input should be selected by F4 help. So i have used POV event to handle this. Once the user selected values from the F4 help, Immediately it has to populate the Table control fields based on input selection. I have tried several ways but it was not successful.
    Please help me regarding this will be appreciated .
    Regards,
    Sreenivasa Sarma K.

    Hi,
    Make use of the 'SEARCH HELP' property of the fields in the table control.
    Just get the search help names for those 4 fields and place it to this property.
    Also change the 'Poss. Entries Key' property as 1 or 2.
    Regards,
    R.Nagarajan.

  • Very Urgent Table Column Design

    Hi,
    This is what i have done, I am having a table with 2 columns.One is Text view and the other is Link to Action. I set the Table row count as 10. Table design is standard and all columns design is standard. Now The first text view column appears blue in colour and the second Link to action appears in White. To make both to have same white colour i made the table as Read only now both columns appear as white. If the table have more than 10 records it works fine. But if it is less say 4 records then first four records are in  white remaining are in light blue. I want to make every thing to appear same white or same blue color. How to do this .
    Kindly Help this is very Urgent
    Rk

    hi rk.......
              try this out.......
              consider your are having 4 records but the line count is 10 in the table.
              insert 6 empty records into the table.
              it will work fine.
    ---regards,
       alex b justin

  • Table in design view not displaying properly

    I put in a table at 100% width - to house a spry menu.  It shows up fine in all browsers and in live mode, but in dreamweaver design view the table and menu display off to the right - outside of the workspace. It's a pain!  How do I fix this?

    You certainly do NOT need a table to hold your menu -- no matter which one you use.
    Table layouts went the way of the dinosaur last century.  Nowadays, we use CSS for layouts.  To illustrate, copy & paste this code into a new, blank document and preview in browsers.
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>HTML5 Document</title>
    <style>
        /**fixes the box model**/
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    /**basic layout**/
    body {
        width: 80%; /**adjust width in px, em or % as desired**/
        margin:0 auto; /**with width, this is centered**/
        background: maroon;
        font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, sans-serif;
        font-size: 100%;
    header, footer { color: #FFF; }
    /**left sidebar**/
    aside {
        display:table-cell;
        width: 25%;
        padding: 1%;
        background: #C99;
    /**main content**/
    article {
        width: 75%;
        display:table-cell;
        padding: 2%;
        border-left: 1px dotted silver;
        background: #EAEAEA;
    footer {
        clear: left;
        font-size: 80%;
        text-align: center;
    /* BEGIN HORIZONTAL DROP-MENU */
    nav {
        position: relative;
        width: 100%;  /**adjust width as needed**/
        margin: 0 auto;
        padding: 0;
        text-align: center;
        z-index: 1000;
    nav ul {
        margin: 0;
        padding: 0
    nav li {
        list-style: none;
        font-size: 12px;
        float: left;
        text-align: center;
    /**top level menu**/
    nav li a {
        display: block;
        text-decoration: none;
        margin-right: 2px;   /* space between links */
        width: 12em;   /* adjust as needed or use auto */
        padding: 6px 15px;
        font-weight: bold;
        line-height: 2em;
        color: #1e5799;
        border: 1px solid #FFF;
        background: #C7D5E3;
    /**top menu style on mouse over**/
    nav li:hover > a {
        color: #FFF;
        background: #1e5799;
    /**sub-menu**/
    nav li ul {
        display: none;
        text-align: center;
        margin: 0;
        padding: 0 1em;
        background: #C7D5E3;
        font-weight: normal;
        font-style: oblique;
    /**sub-menu, help for older IE**/
    nav li:hover ul, nav li.hover ul {
        display: block;
        position: absolute;
        padding: 0;
    nav li:hover li, nav li.hover li { float: none; }
    /**drop-menu style**/
    nav li:hover li a, nav li.hover li a {
        width: 12em;  /* adjust width as needed or use auto */
        margin-top: 0;
        line-height: 1.25em;
        font-weight: normal;
        border: none;
    /**drop-menu style on mouse over**/
    nav li li a:hover {
        background: #D3E1B7;
        color: #004A43;
    /**clear floats**/
    nav:after {
        clear: both;
        display: block;
        content: '';
    /**END DROP MENU STYLES**/
    </style>
    </head>
    <body>
    <header>
    <h1>Your Awesome Site Name</h1>
    <h2>Some Pithy Slogan</h2>
    </header>
    <nav>
    <ul>
    <li><a href="#">Menu Item1 &#9660;</a>
        <ul>
        <li><a href="#">Sub_menu1a</a> </li>
        <li><a href="#">Sub_menu1b</a> </li>
        </ul>
    </li>
    <li><a href="#">Menu Item2 &#9660;</a>
        <ul>
        <li><a href="#">Sub_menu2a</a> </li>
        <li><a href="#">Sub_menu2b</a> </li>
        <li><a href="#">Sub_menu2c</a> </li>
        <li><a href="#">Sub_menu2d</a> </li>
        </ul>
    </li>
    <li><a href="#">Menu Item3</a></li>
    <li><a href="#">Menu Item4</a></li>
    <li><a href="#">Menu Item5</a></li>
    </ul>
    </nav>
    <aside>
    <h3>Left Sidebar</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus. </p>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. </p>
    </aside>
    <article>
    <h3>Aritcle Heading</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </article>
    <footer>
    <small>© 2015 Your Site Name. All rights reserved.</small>
    </footer>
    </body>
    </html>
    Nancy O.

  • Unable to create Tables in design view

    One of the two problems I am having (the other will also be
    posted) is that I am no longer able to use Design View to Insert
    Tables at all - I get the following error message: (I made a
    printscreen of the error but not sure how to embed the picture in
    this post so here is the message verbatim).
    "While executing objectTag, the following JavaScript error(s)
    occured:
    At line 26 of file "Macintosh HD:Applications:Macromedia
    Dreaweaver 8:Configuration
    bjects:Common:Table.htm":
    Type Error: cmdDOM.parentWindow.createTableStr is not a
    function"
    I can create tables only if I type the html for them by hand
    into the code pane. The file that the error message references does
    exist, and appears to look fine (code-wise). I've also tried
    uninstalling and reinstalling DW8, removing and recreating the
    Configuration Folder as well as the site prefs and site definitions
    - nothing has cured this problem.
    I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
    I am positive that I did not have this problem, or any of the other
    current problems, with DW MX , and I installed DW8 as a stand-alone
    app so that I could still use MX if needed. This and the other
    problems don't occur with MX but I would really like to get them
    solved because 8 offers other benefits that I want to be able to
    use.
    I'm wondering if anyone else has had this problem and managed
    to find a fix for it.

    One of the two problems I am having (the other will also be
    posted) is that I am no longer able to use Design View to Insert
    Tables at all - I get the following error message: (I made a
    printscreen of the error but not sure how to embed the picture in
    this post so here is the message verbatim).
    "While executing objectTag, the following JavaScript error(s)
    occured:
    At line 26 of file "Macintosh HD:Applications:Macromedia
    Dreaweaver 8:Configuration
    bjects:Common:Table.htm":
    Type Error: cmdDOM.parentWindow.createTableStr is not a
    function"
    I can create tables only if I type the html for them by hand
    into the code pane. The file that the error message references does
    exist, and appears to look fine (code-wise). I've also tried
    uninstalling and reinstalling DW8, removing and recreating the
    Configuration Folder as well as the site prefs and site definitions
    - nothing has cured this problem.
    I am using DW8 v. 8.0.2 on a Mac Quad G5 running OS X 10.4.6.
    I am positive that I did not have this problem, or any of the other
    current problems, with DW MX , and I installed DW8 as a stand-alone
    app so that I could still use MX if needed. This and the other
    problems don't occur with MX but I would really like to get them
    solved because 8 offers other benefits that I want to be able to
    use.
    I'm wondering if anyone else has had this problem and managed
    to find a fix for it.

  • Very Urgent!!!! Reg Tables in Web Dynpros

    Hi all,
    The following is my requirement.
    I need to display values in my table on the view. But based on the Field content in one perticular column i need to make that entire row editable/in editable.
    Say I have a column Status in my Table.
    If the status field content for a given row is 'In progress' then that row should be made Editable and all other rows with status other than 'In Progress' should be made Ineditable.
    Please Revert back ASAP.
    Thanks
    Sravan.

    No, do not use wdDoModifyView().
    You could add a calculated boolean attribute "ReadOnly" under the data source node "Rows", and (assuming the table cell editor is an InputField) bind the "readOnly" property of the input field to this attribute.
    In the generated getter for the calculated attribute, you would write something like
    boolean getRowsReadOnly(IWDNodeElement element)
      //@@begin ...
      IRowsElement row = (IRowsElement) element;
      return row.getState() != State.IN_PROGRESS;
      //@@end
    Armin

  • Select all fields of a table while designing the layout of a query

    Can some one tell me how to select all fields of a table at a single stroke while designing the layout of a query....this would greatly reduce the time spent to select each and every field of a table into the layout....
    Thanks in advance

    Hi,
    Declare your internal table (Say it is itab).
    Then :-
    Select * from <tablename>.
    Eg,.Select * from mara.
    Then display it using:-
    Loop at itab.
    write:/ wa_itab.   "Workarea.
    endloop.
    Thanks and regards,
    Prerna

Maybe you are looking for

  • Please, nano users, help me

    Hey all... well...my problem is...my nano 2gb do not accept images...because..every time this message appear... ''The Ipod ''ipod name'' cannot be updated. The disk could not be read from or written to. '' The music transfer is OK..but the pics...doe

  • Snow Leopard (10.6.4) Doesn't See Time Capsule Printer But 10.5.8 Does

    Snow Leopard (10.6.4) doesn't recognize the Lexmark printer connected to my Time Capsule v 7.4.2. However, the printer is nicely recognized on Leopard (10.5.8) on my PowerBook as well as on the two Windows computers in my Home. In fact, with printer

  • How to HIDE one data field in BEx???

    Hi all, I tried to HIDE one CHAR's value from report but no matter what I did. It still shows in the report. Need advice, please. <b>EX: In the FILTER, I drag & drop 'product ID' to filter section and assign certain' value' under it and then run the

  • MacBook Pro scans images fine, but only saves as gray page with banding

    I purchased a new MacBook Pro recently. I used my HP Deskjet F4580 to scan with my old MacBook and it worked fine. Now when I scan the image it appears fine on my screen, but when I go to save, there is no trace of the image, just a full gray page wi

  • Copying slideshow to CD/DVD

    Is there any way to transfer or copy or backup a complete slideshow made in lightroom to a CD or DVD so that contains photos and music so I could play it on another computer? Anway to save it to Hrd Drive? Thanks. Matthew Kraus