Using Color Gradients in Table header

Hi,
Can I use Gradient colors for PanelCollection header or Table Column Header in ADF page. If Yes, what will be the code for it. I have tried for
af|column::column-header-cell{
background: -moz-linear-gradient(bottom, rgb(39,167,178) 34%, rgb(67,201,214) 67%, rgb(94,242,255) 84%);
}but it is not working.
regards,
Rajan

anybody??

Similar Messages

  • Has anyone tried changing the color of the table header in Dynamic Pages?

    When you generate the sample Dynamic Page you get a table header with the color of #C0C0A0.
    Has anyone ever found where this value is coming from within the database ?
    I'd like to change it so I can control the background color in the TH tag for Dynamic Pages.
    TIA
    Mark.

    You probabli dispay the data as
    <oracle> select empno,empname from scott.emp</oracle>
    However, you could do it like this:
    <oracle>
    being
    htp.p('<table>');
    htp.p('<tr>');
    htp.p('<td bgcolor=#ffaabb>empno</td>');
    htp.p('<td bgcolor=#ffaabb>empname</td>');
    htp.p('</tr>');
    for c in (select empno,empname from scott.emp) loop
    htp.p('<tr>');
    htp.p('<td>');
    htp.p(c.empno);
    htp.p('</td>');
    htp.p('<td>');
    htp.p(c.empname);
    htp.p('</td>');
    htp.p('</tr>');
    end loop;
    htp.p('</table>');
    end;
    </oracle>
    htp is package in sys schema in oracle.

  • Different color lines in tables?

    Hi
    I want to create a predefined table (tag) with lines of different colors. The table header is dark blue and I want to make the inside column lines white. But only in the header. The table body cells are white with black column lines. I don't want to insert a table first and then use the "custom ruling&shading..." every time I want to insert this table in my document.
    Has anyone any solution to this?
    BR/Björn

    Can Frame save colored table rules and shading?
    Hi,
    Are there any Frame 10 users who can tell me whether Frame will save a table with colored rules or shading in Table Designer?  I'm on Frame 7.2 and I've got the hang of the clunky UI. I designed a table layout with colored rules and shading, then used it to create a new table format. When I inserted a new table using that format, all the color reverted to black.
    This is an ablility that Adobe should have implemented by now. If it does, then that gives me one more reason to get Frame 10 in this shop.
    Yours,
    Michael F
    =======

  • Table Header is required in each page

    Hi,
    Inside the main window I have two tables say 1st table, 2nd Table . In the 1st  table I have only one row of data with header. In the 2nd table different header with many line items. It may go to next page.
    Now my requirement is if due to 2nd table line item's if it moves to next page then 1st table header is also need to be printed in the second page.
    For example.
    1st Table:
    Head1     Head 2         Head 3    Head 4
    Val1        val2              val3          val 4
    2nd Table
    Title 1       Title 2          Title 3           Title 4
    1              2                    3                   4
    2              3                    5                   6
    300        400                  500               452
    Please let me know the solution. How i will display the header of 1st table if the line items of 2nd table exceeds to next page.
    Thanks in Advance,
    Abhijit

    Hi Abhijit,
    One basic query I have with your statement:
    If I understand correctly, you have used text element inside table header without using line type.
    I have not used the Line type. So those two options are not coming. I have used the text elements only.
    Is it possible to create a text element directly inside table header without any line type?
    If so may we know the steps you followed?
    Regards,
    Swarna Munukoti

  • Fixing the Table Header in the default JSF Table

    I am using the default JSF Table in Sun JS Creator (Version JSC 2 EA 2) with a
    Scroll Bar Option (instead of Pagination Control). However I have not
    been able to fix the table header and scroll only the data rows in the
    table.
    I have tried to use CSS style for table header, but it has not worked
    either. Where do I set the CSS style - in JSCreator JSF Datatable or
    JSCreator Table component, neither seems to work for me?
    Is there any other way to fix the table header default JSF Table in Sun
    JS Creator?
    Using the scroll bar is critical user requirement for me and fixing the
    table header will ensure that I can use the default JSF Table in Sun JS
    Creator, alternatively we will have to use some other JSF table e.g.
    from myFaces or an HTML Table and lose on the productivity benefit of
    JSCreator.

    Hi,
    There please just replace the If with IIF mentioned in Visakh Post. There is spell mistake
    It should be
    =IIF(CountRows("Dataset") > 0, True,False)
    Regards, PS

  • How to change the color of a Jtable header

    Hi All
    I want to know how can i place a different foreground color on the table header in my JTable which is placed on an applet .
    Swaraj

    Then you will probably have to set the HeaderRenderer on that specific column.
    table.getColumn().setHeaderRender(yourRenderer)
    Just extend the defaultrenderer but change the colorsetting-methods. You might even pass the color along as a variable, so to easily change it....

  • How can i add a table header using DefaultTableModel?

    Im having problems finding examples of creating a table header using the DefaultTableModel. Can anyone point me in the right direction?
    so far i am able to create a table and add rows, but i need the first row to be the header with title and i am not able to do that with this model.
    Below is an excerpt of what i have thus far...
    JTableHeader header = new JTableHeader();
            checkOutTable.setModel(tableModel);
            checkOutTable.setRowSelectionAllowed(true);
    private DefaultTableModel tableModel = new DefaultTableModel(
                new Object [][] {
                        {"Item ID", "Title", "Type", "Serial ID", "Status", "Response", "Print"},
                    new String [] {
                        "TITLE 1", "TITLE 2", "TITLE 3", "TITLE 4", "TITLE 5", "TITLE 6", "TITLE 7"
                ){Class[] types = new Class[] { java.lang.Object.class,
                        java.lang.Object.class, java.lang.Object.class,
                        java.lang.Object.class, java.lang.Object.class,
                        java.lang.Object.class, java.lang.Object.class };
                public Class getColumnClass(int columnIndex) {
                    return types[columnIndex];
                }};

    Use the constructor that takes a Vector of column names and a row count.
    http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/table/DefaultTableModel.html#DefaultTableModel(java.util.Vector,%20int)

  • Using Color Lookup Tables with cwgraph3d

    Hi,
    When searching old forums and other references, I can only find information regarding using color lookup tables in labview and I am using VB6.
    I want to let the user to pick a given amount of colors, have this turned into a gradiant over a table of size 256, and then using the custom colormaptstyle in my 3d graph. I want to be able to change the palette in real time to change my image. Basically I want to have the color palette screen to show up all the time and that gradiant that appears on the right side(vertically) to be my new color lookup table for the image(if that makes any sense).
    Thanks. Any help would be greatly appreciated.
    Kevin
    [email protected]

    Hello Kevin,
    Attached is a small VB6 example that uses the CWGraph3D's ColorMap properties. I think this will demonstrate the color lookup table capability that you're asking about, and you'll be able to use this as a building block for your own application.
    David Mc.
    NI Applications Engineer
    Attachments:
    colormap.zip ‏5 KB

  • How can I change the color of a column header?

    I need to change the color for some column header, how can I do it in webdynpro ABAP? Is it possible?

    hi ,
    i have used in alv....
    <font color="RED">text</font>
    but i think it is not possible to change the colour in table ui element.
    regards,
    sahai.s

  • Add image to table header

    Hello dear All
    My requirement is to add an image in jTable header( *.png or *.gif image in the tabel header.) I.e if there are 5 columns i have to add 5 images in the table header.
    Please help me to overcome this issue.
    Thanks

    Sorry, it looks like the tutorial has recently been updated. Sorting is now supported in JDK6. Prior to this you needed to write your own code for sorting and the tutorial include sample classes to help you out.
    Anyway, I found some old code lying around that should get you started:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.table.*;
    public class TableHeader extends JFrame
         public TableHeader()
              Object[] columnNames =
                   "Some Text",
                   new ImageIcon("copy16.gif"),
                   new ImageIcon("add16.gif")
              //  Columns headings are cast to a String when created automatically.
              //  We want Icons, so use a special renderer and create the columns manually
              DefaultTableModel model = new DefaultTableModel(columnNames, 5);
              JTable table = new JTable();
              table.setAutoCreateColumnsFromModel( false );
              table.setModel( model );
              table.getTableHeader().setDefaultRenderer( new HeaderRenderer() );
              for (int i = 0; i < columnNames.length; i++)
                   TableColumn newColumn = new TableColumn(i);
                   newColumn.setHeaderValue( columnNames[i] );
                   table.addColumn(newColumn);
              table.setPreferredScrollableViewportSize(table.getPreferredSize());
              JScrollPane scrollPane = new JScrollPane( table );
              getContentPane().add( scrollPane );
         class HeaderRenderer extends DefaultTableCellRenderer
              public Component getTableCellRendererComponent(
                   JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col)
                   setBorder(UIManager.getBorder("TableHeader.cellBorder"));
                   setHorizontalAlignment(CENTER);
                   //  display text or icon
                   System.out.println(value.getClass());
                   if (value instanceof Icon)
                        setIcon( (Icon)value );
                        setText( "" );
                        setBackground( Color.green );
                   else
                        setIcon( null );
                        setText((value == null) ? "" : value.toString());
                        setBackground( Color.yellow );
                   return this;
         public static void main(String[] args)
              TableHeader frame = new TableHeader();
              frame.setDefaultCloseOperation( EXIT_ON_CLOSE );
              frame.pack();
              frame.setLocationRelativeTo( null );
              frame.setVisible(true);
    }

  • Sending custom colors/gradients to someone else

    Can a color and gradient saved to the swatches palette be
    saved to a
    .fla and be given to someone else with the color and
    gradients available
    on their own computer?
    Thanks.

    I want to know if you can import an .aco file into Flash 8???
    Want to know as I found a firefox add on that will save
    colour palettes to .aco files to use with Flash and Photoshop.
    The program/app is called Palette Grabber.
    Does anyone know if this can be done? and How it can be done
    because I cant see the way to do it!!!
    Found it... Looks like it works but in the help it says the
    following...
    Importing and exporting color palettes
    To import and export both RGB colors and gradients between
    Flash files, you use Flash Color Set files (CLR files). You can
    import and export RGB color palettes using Color Table files (ACT
    files) that can be used with Macromedia Fireworks and Adobe
    Photoshop. You can also import color palettes, but not gradients,
    from GIF files. You cannot import or export gradients from ACT
    files.
    SO how come my .aco file works?
    I am using Flash 8.

  • Weird and unwanted color gradient after Photomerge

    Hi all,
    I got an annoying problem with a weird color gradient that appears where it shouldn't. My context is, that I'm producing underwater photomosaics. I use Photomerge for merging, which works great for the often uniform seabed sediment images.
    [merge1.jpg]
    The example is 65 images, btw. After placing the images manually within Photomerge, all looks great and ready for a perfect result after rendering (see above). However, when doing so, the final merge from within Photomerge (by clicking the OK button) creates perfect smooth blending, but a weird color gradient crossing the whole mosaic. this might originate in the fact, that the individual images also are not perfect, due to the uneven lighting situation underwater. In case all images are a bit reddish at the top and yellowish at the bottom, the final gradient over the full mosaic shows that as well. So to me it looks as if Photoshop just tries to be too smart and thinks, reapplying that pattern to the whole would be a great thing to do, which it isn't of course.
    [merge2.jpg]
    I discussed this "bug" with (indeed very helpfull) Adobe staff and they recommended, to create the merge with the "Blend Images Together" option in the "Load" dialog unchecked. This creates a mult-layer document after rendering, with the images being placed properly but not blended.
    [merge3.jpg]
    From here on, Adobe staff  recommended, I shall use the "Auto Blend Layers" function (File menu), but the result is identical as image 2. Ok, then, they recommended, to uncheck "Seemless Tones and Colors" in the "Auto Blend Layers" dialog. Indeed, this gets rid of the gradient, ...
    [merge4.jpg]
    ... but shows very hard edges of the images, which get very prominent after optimizing levels:
    [merge5.jpg]
    Was that understandable? Would anyone have experienced (and solved) the same issue? Or would anyone have an idea, how this could be handled in a way, that my resulting mosaic looks as perfect with respect to the original colors as in the initial merge window before rendering it (image 1)? Maybe it's a specific Color Setting (Edit menu)? I tried a lot so far but nothing helped and I might not have tried the right thing.
    The problem appears, btw, in CS3 to CS6!
    Any help appreciated, more information on request! Many thanks,
    g

    H there,
    @TLL: you're right with what you said about the subjective element. Getting spoiled is easy, but staying ambitious is good as well. I do these mosaics since 2003, when Photomerge was part of Elements only. Then, in the first years with CS and CS2, I never had this bug with the color gradient being applied to the final merge. This started with, I guess, CS3 and I think it's due to enhancements Adobe made to the programm (making it more "intelligent"). Unfortunately, sometimes enhancements have dark sides and cause unexpected issues elsewhere. And since we are a minority (making large merges), these do not get fixed, since the majority, stitching what, 20 image panoramas of their home and garden do not suffer. Their images have strong contours and contrasts and the issue gets effective only on uniform images like underwater sediment or, in your case, landscapes shot from above. Going back to CS or CS2 is no option, since only the newer versions give me the processing power I need, also is the blending much smoother.
    I played around with gradient masks but I haven't got the right touch yet. Even if I get rid of the color differences, there will always be a brightness gradient, since borders of the images are always darker. And then, the weird gradient is a bright / dark one, not a red / yellow one. Not much better. Also, each batch job has to work for thousands of images, so has to be a compromise. I just cannot spend more than a day for a 1000 image mosaic, or a week for 6000 images, time is money on a ship (and elsewhere).
    I just think the solution would be, splitting the "Seemless tones and colors" function up into "Seemless Blending" (doing soft blending but not changing the colors) and "Seemless Color Transitions" (just dealing with the colors). And making both optional by check boxes...
    So far,
    g

  • How to hide the table header if no data present

    Hi
    I need to hide the table header if no data present. Table has 5 column. if no any clolumn has data then this table section should not be display.
    i am using <?if:count(Installation_Event_S19)= 0?> but this is not work for me.
    Could you please help me out.
    Thanks
    Indrajeet Kumar

    Hi Priya,
    Thank you very much !!! its work fine.
    Thanks
    Indrajeet Kumar

  • How to add the Row count(number of rows in table)  in  the table header?

    Hi,
    I'm having a table. This table is viewed when i click on a search button.
    <b>On the table header it should dynamically display the number of rows in the table, i.e., the row count.</b>
    How to do this? could any one explain me with the detailed procedure to achieve this.
    Thanks & Regards,
    Suresh

    If you want to show a localized text in the table header, you should use the <b>Message Pool</b> to create a (parameterized) message "tableHeaderText" like "There are table entries".
    Next, create a context attribute "tableHeaderText" of type "string" and bind the "text" property of the table header Caption UI element to this attribute.
    Whenever the table data has changed (e.g. at the end of the supply function for the table's data source node), update the header text:
    int numRows = wdContext.node<TableDataSourceNode>().size();
    String text = wdComponentAPI.getTextAccessor().getText
      IMessage<ComponentName>.TABLE_HEADER_TEXT,
      new Object[] { String.valueOf(numRows) }
    wdContext.currentContextElement().setTableHeaderText(text);
    Maybe you want to provide a separate message for the case that there are no entries.
    Alternatively, you can make the attribute calculated and return the header text in the attribute getter.
    Armin

  • Change the background color of a table created by ADDT (Login)

    I am trying to change the background color of a table in the login form created by the developer's toolbox. I then go and select the table and change the background color. But it has no effect. The only insight I have is when I delete this "" from the Action in the form, then the table's background color changes. As far as I can tell this line of code is only return the url of the page.
    I am not understanding something.
    Does anyone have any insight?
    Thanks!

    the table is linked using a CSS rule..
    the CSS rules comes from something called Skins..
    see mxkollection2.css.
    KT_XXX are the class ID's for table names.
    if u change this rule it will effect all the tables which use that rule in ur whole website.
    u can try switching skins from ADDT control panel.
    KT_tngtable is the tables css rule name defined in skins /Skinname/tng.css
    hope this helps u ..
    mohnkhan
    http://www.mohitech.com

Maybe you are looking for

  • Synching Ipod with External Hard Drive

    Hey there, I have a Powerbook G4 and a 5G video ipod with itunes 7. Now, my computer hard drive space is rapidly approaching full capacity, so its getting to the stage where I will need to transfer the 30 odd gigs of music to my external hard drive.

  • DVD Studio Pro won't accept my H.264 QT asset

    Hi, I want to import my HDV 1080i FCP project into DVD Studio Pro v.4.2.1 to create a SD Disc. I exported the FCP project in Compressor using H.264 10.3mbps in the HD DVD: H.264 60 minutes folder. I was able to import the audio asset but not the vide

  • Connecting a G4 and an iMac by airport express

    I am trying to connect my iMac and my G4 wireless. I cannot use an Airport card on my G4 due to a damaged connector pin on the main board, so I bought an Airport Express Base Station, which I connect to my G4 using the Ethernet port. According to the

  • How to invoke a method in TF Template

    Hi All, Is there any way to execute a method in Taskflow template before executing the extended TF. I have two Bounded TF which are based on a Bounded TF Template, I want to execute the method in Template before executing my TF. Let me know if there

  • CAPITAL ONE DISPUTED LATE PAYMENT WITHOUT MY PERMISSION!

    HELP! I am in the processes of working on 3 late payments on my Capital One card. I called yesterday and very clearly stated to the rep that I was looking for a GW removal and NOT a dispute. He gave me the typical scripted speech that they would make