Hyperlink in table cell ?

Hi All,
We require to navigate to a path for each row in  the table control. Is it possible to have a hyperlink in a table cell for each row? or do I use button cell to do the same ?
Regards,
Kanu
Solved!
Go to Solution.

Hi Wolfgang,
Thanks for your reply. I understand that a text message control can be made a hyperlink as per simple.cws example. However, I don't know how to do the make a string cell of a table a hyperlink. Even though, I set the cell attribute as VAL_CELL_STRING, how do I make it a hypelink ?
Regards,
Kanu

Similar Messages

  • Robohelp HTML 9 hyperlinks in table cells help

    Hi,
    I'm creating a table in robohelp html 9 and adding hyperlinks in the table cells. If the hyperlink is the first word in that cell robohelp is adding styling code to the link eg <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test</a></td>.
    If I add a link to the second word in a table cell the styling does not appear or even if I add a space before the link the code does not appear eg <td>&#160;<a href="#">test</a> </td>.
    The code appears when I flick between design and HTML views but it does not make any difference in which view I create the link.
    No matter how many times I delete this code is keeps coming back. Can  anyone please help me? Is there some default that gives this the styling  code?Does anyone else get this issue?
    A table with the different examples is below. It was created in design view by clicking table>insert table>OK. Links added by clicking the insert hyperlink button.
    <table style="border-collapse: separate; border-collapse: separate;" cellspacing="0"
             width="33.333%" border="1">
        <col style="width: 100%;" />
        <tr>
            <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test
             that has the added code</a></td>
        </tr>
        <tr>
            <td>&#160;<a href="#">test with space in front of link</a> </td>
        </tr>
        <tr>
            <td><a href="#" style="color: #0000ff; text-decoration: underline; ">test</a></td>
        </tr>
        <tr>
            <td>A <a href="#">test</a> </td>
        </tr>
    </table>
    Thanks in advanced

    I have the same problem with those stupid links in tables - I've been working on this for HOURS and HOURS...... Based on previous experience, I assumed it must only be me and an ill-formed stylesheet. The table/link issue just came to my attention because I am in the process of changing styles/formats to a new company standard (new link color) and thought I really screwed my CSS up as I was changing things!
    My only workaround thusfar has been to rewrite some data in the tables so that text will precede the link (yes, I did).  And where I just couldn't do that, I resigned myself to the problem and forced a different color on the links (changing the #0000ff).  One plus was that RH didn't rewrite the color code once it was changed manually..... but then I realized later that I didn't consider the hover color when I did this, so I now have to go back and correct them. 
    So glad to find your post...........
    I played with the idea of adding hidden text, but was worried that the problem was really a result of an issue with my CSS and doing that wasn't the proper way to fix it.   So, without guilt, I took Rick's suggestion and added an invisible dot/period at the beginning of every link in a table, when that link is the first or only content in the td.  Did the trick!  Now the links assume my declared css style! 
    I submitted a bug report.......
    Thank you!!!

  • Hyperlink in table cell possible?

    Hello experts,
    is it possible to have a table that contains hyperlinks? If so, how?
    I've tried to configure a column as Action: System action: Hyperlink; Apply to: Self; Hyperlink address: "http://localhost/", but the column doesn't react to clicks.
    Your help is much appreciated,
    Florian

    Hi Florian,
    it seems, that some elements do not react to actions, even though they have an action tab in the properties dialogue.
    I suggest you insert a button into the table, use the hyperlink-action an include the url into the caption of the button.
    Kind Regards,
      Benni

  • Add Hyperlink to table cell content dynamically

    Hello,
              I have a xdp form created in Livecycle designer. We populate a table by dynamically merging XML to this xdp form uing livecycle FormServices.
    For example:
    the XML:
    <data>
    <person>
         <name> George</name>
         <age>11</age>
    </person>
    <person>
         <name> John</name>
         <age>30</age>
    </person>
    </data>
    populated in table of pdf:
    Name
    Age
    George
    11
    John
    30
    How do I add the hyper link to "George", "John" programmatically, so it can be link to some other URL.
    Thanks,
    Joanna

    So my table is like this:
    Product
    Price
    Apples
    1.29
    Oranges
    2.49
    Grapes
    1.99
    and my XML is like this:
    <
    Product ProductType="Apples">
    <URL>www.apples.com</URL>
    <Price>1.29</Price>
    </Product>
    <
    Product ProductType="Oranges"> 
    <URL>www.oranges.com</URL>
    <Price>2.49</Price>
    </Product>
    <
    Product ProductType="Grapes"> 
    <URL>www.grapes.com</URL>
    <Price>1.99</Price>
    </Product>
    What I want to do is populate the table from the XML file, and make the URL element be linked from the product name (Apples for instance) at runtime  when I fill the table.  Any ideas?

  • Tutorial for hyperlinking table cell

    Anyone know where i might find a tutorial. Google bringing up
    nothing
    I want to be able to hyperlink table cells and change table
    cell background
    color on mouse over etc.
    I am really struggling with this therefore need a tutorial
    TIA

    Why do you need to hyperlink the *cell*?
    If you put a normal hyperlink in the cell, and use CSS to
    make that <a> tag
    display:block, then it will fill the cell, and make the whole
    thing
    clickable. Further it allows you to use the pseudo-class of
    a:hover to
    change the background color....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Andrew" <[email protected]> wrote in message
    news:e7bgvq$eog$[email protected]..
    > Anyone know where i might find a tutorial. Google
    bringing up nothing
    >
    > I want to be able to hyperlink table cells and change
    table cell
    > background color on mouse over etc.
    >
    > I am really struggling with this therefore need a
    tutorial
    >
    > TIA
    >

  • I have a table which shuffles cells, can i add hyperlink to each cell?

    I have a table containing 8 different names. I have a shuffle code which randomly shuffles the cells around within the table. However i want to have a hyperlink to each name in each cell, is this possible?
    I am an amateur at dreamweaver! all help would be greatly appreciated.
    here is my code so far:
    <html>
    <head>
    <!--***************
    CSS section
    ****************-->
    <style type="text/css">
    body {
                 background:white; color:black;
                 font-family:Georgia, Times New Roman, Times, serif;
    .tableItem {
       position: relative;
       background: #ffffdd;
       color: rgb(255,0,0);
       border: 1px solid black;
       font-size : xx-large;
       text-indent: 1em;
       padding-right: 1em;
    </style>
    <!--***************
    Javascript section
    ****************-->
    <script language="javascript">
    var names = new Array();
    var offset = 0;
    var numPlayers = 8;
    var maxShuffle = numPlayers -1;
      names[0] = {id:'Monet', pic:'flower0.png'};
      names[1] = {id:'Renoir', pic:'flower1.png'};
      names[2] = {id:'Manet', pic:'flower1.png'};
      names[3] = {id:'Gaugin', pic:'flower1.png'};
      names[4] = {id:'Cezanne', pic:'flower1.png'};
      names[5] = {id:'Morisot', pic:'flower1.png'};
      names[6] = {id:'Picasso', pic:'flower1.png'};
      names[7] = {id:'Matisse', pic:'flower1.png'};
    function initialise(){
      for (i=0; i<numPlayers; i++) {
         document.getElementById('cell_'+i).innerHTML = "<div class = \"tableItem\">"+names[i].id;
    function changeText(){
      offset++;
      for (i=0; i<maxShuffle; i++) {
         document.getElementById('cell_'+i).innerHTML = "<div class = \"tableItem\">"+names[(offset+i)%maxShuffle].id;
    </script>
    </head>
    <body onLoad="initialise();">
    <p> </p>
    <table width="240" border="0" cellspacing="0" cellpadding="0" >
      <tr>
        <td id="cell_0"><div class = "tableItem">  </div></td>
        <td id="cell_6"><div class = "tableItem">  </div></td>  </tr>
       <tr>
        <td id="cell_1"><div class = "tableItem">  </div></td>
        <td id="cell_5"><div class = "tableItem">  </div></td>  </tr>
        <tr>
        <td id="cell_2"><div class = "tableItem"> </div></td>
        <td id="cell_4"><div class = "tableItem"> </div></td>  </tr>
       <tr>
        <td id="cell_3"><div class = "tableItem">  </div></td>
        <td id="cell_7"><div class = "tableItem"> </div></td>  </tr>
    </table>
    <p> </p>
    <a href="javascript:changeText()">Shuffle</a>
    </body></html>

    Maybe this will help.
    http://alt-web.com/DEMOS/CSS-Clickable-Table-Cells.shtml
    Nancy O.

  • Multiple dynamic Hyperlinks in Single Cell

    My Requirement is similar to
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/c3f1cbeb-20b8-4457-9189-3e451c2a5af9/multiple-hyperlinks-in-single-cell-in-ssrs?forum=sqlreportingservices
    single Data column will be displaying csv values and need to build hyperlink for each item in new window.
    Eg- 
    Bike,car,bus
    Bike,car,Bus,Tram
    When user selected data,
    In an single cell of my ssrs, i need to display an column which can hyperlink to respective page
    The values are coming from an table column as comma separated values.
    ShanmugaRaj

    Hi,
      I think you can use place holders to put these three values seperatly and set an action property on the placeholder. Is the values in the hyperlink are static or dynamic ?
    Best Regards Sorna

  • How to enable hyperlink for a cell in excel thru OLE?

    Hi,
    Iam using OLE2 to download data from an internal table into excel sheet.I want to enable hyperlink for one cell in each line of the excel. Please advice how to go abt it?
    Regards,
    Shambu

    To hyperlink to the specific sheet in your workbook, you need to first create the sheet and use the parameter #3 of the Hyperlink's ADD method.
    Try like this:
    *.....Hyperlink to another sheet
      GET PROPERTY OF e_appl 'Range' = e_range
        exporting
        #1 = 'A1'
        #2 = 'A1'.
      GET PROPERTY OF e_activesheet 'Hyperlinks' = e_hyperlink.
      get property of e_work 'Sheets' = e_sheets.
      CALL METHOD OF e_sheets 'Add' = e_work2.
      CALL METHOD OF e_hyperlink 'Add'
        EXPORTING
        #1 = e_range
        #2 = ''
        #3 = 'Sheet2!A1'.   "Targeted Sheet & Cell
    *.....Hyperlink to another sheet
    Regards,
    Naimesh Patel

  • Hyperlink from a cell to text in Pages

    Hi everyone,
    Here's my problem,
    I'd like to create a kind of hyperlink from a cell in a table in a Pages doc, so that the number in the cell automatically copy where I want in the doc.
    Ex: you want to copy an number  from a cell and paste it in a sentence so that you only have to change the number in the cell.
    Does anyone know how to do it?
    Thanks
    J

    Hi J,
    Nice! I was puzzled to know how it would work in Pages (your original post). I see that you have used Numbers to do this, with some of the Table (Tableau) borders white.
    Thank you!
    Now I know what you were trying to do, I found that this will also work in Pages with the same formulas:
    Here with all borders black:
    Cost cells formatted in Inspector > Table > Format > Currency > Euro
    Regards,
    Ian.

  • How to highlight the table cell color in respective colors as needed per the requirements??

    var aData = [
        {notificationNo: "10000000", description: "Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000010", description: "Genreal Maintenance for boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
        {notificationNo: "10000011", description: "boiler Maintenance", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000012", description: "Pump breakdown", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "ordered"},
        {notificationNo: "10000013", description: "External service boiler", location: "G001-STG-UTLR-BLR", equipmentNo: "100000053", orderStatus: "notordered"},
    jQuery.sap.require("sap.ui.model.json.JSONModel");
    var oEnterpriseAsset_NotificationConsole;
    sap.ui.model.json.JSONModel.extend("EAM_Notification_Console", {
        CreateNotificationConsole:function(){
            oEnterpriseAsset_NotificationConsole = this;
                var oTable = new sap.ui.table.Table({
                //title: "Table Example",
                visibleRowCount: 7,
                firstVisibleRow: 3,
                selectionMode: sap.ui.table.SelectionMode.Single,
            /*    toolbar: new sap.ui.commons.Toolbar({items: [
                    new sap.ui.commons.Button({text: "Button in the Toolbar", press: function() { alert("Button pressed!"); }})
                extension: [
                    new sap.ui.commons.Button({text: "Button in the Extension Area", press: function() { alert("Button pressed!"); }})
            }).addStyleClass("tableform");;
            oTable.addColumn(new sap.ui.table.Column({
            label: new sap.ui.commons.Label({text: "Notification"}),
            template: new sap.ui.commons.Link().bindProperty("text", "notificationNo").bindProperty("href", "href",
                    function(aValue)
            //    sortProperty: "notificationNo",
                //filterProperty: "notificationNo",
                width: "200px"
            oTable.addColumn(new sap.ui.table.Column({
                label: new sap.ui.commons.Label({text: "Description"}),
                template: new sap.ui.commons.Link().bindProperty("text", "description").bindProperty("href", "href"),
                //sortProperty: "notificationNo",
                //filterProperty: "notificationNo",
                //width: "200px"
            var oModel = new sap.ui.model.json.JSONModel();
            oModel.setData({modelData: aData});
            oTable.setModel(oModel);
            oTable.bindRows("/modelData");
        var idForTable= "DimTable"
            //alert("id of tbale " + idForTable);
            var htmlOutput = '<table id=' + idForTable + ' name="DimTab" style="border: 1px solid black;margin-left:15px;" cellpadding=6 cellspacing=0><tr style="background-color:#E5E5E5"><td><b>Dimension</b></td><td><b>Value</b></td></tr>';
            for(var i=0;i<aData.length;i++)
             alert(aData[i].notificationNo);
            htmlOutput += '<tr style="display:none;"><td style="border-right:1px solid #e5e5e5;">Contract No</td><td>'+ aData[i].notificationNo+'</td></tr>';
            htmlOutput += '<tr style="display:none;"><td  style="border-right:1px solid #e5e5e5;">Unit No</td><td>'+ aData[i].description+'</td></tr>';
            htmlOutput += '</table>';   
             var html2 = new sap.ui.core.HTML({
                 // static content
                 //content : "<div style='position:relative;background-color:white;'>Weather</div><script src='//www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/builtin_weather.xml&synd=open&w=320&h=200&title=__MSG_weather_title__&lang=en&country=ALL&border=http%3A%2F%2Fwww.gmodules.com%2Fig%2Fimages%2F&output=js'></script>",
            content : htmlOutput,
                  //2 wrkng sydney content : '<div id="cont_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><div id="spa_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"><a id="a_Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx" href="http://www.weather-wherever.co.uk/australia/sydney_v37463/" target="_blank" style="color:#333;text-decoration:none;">Weather forecast</a> © weather</div><script type="text/javascript" src="http://widget.weather-wherever.co.uk/js/Mzc0NjN8NXwxfDF8NHxlZGY1ZjV8M3xGRkZGRkZ8Y3wx"></script></div>',
                  //content : '<div style="margin-left:-10px;margin-top:10px;width:100%;"><LINK rel="StyleSheet" href="http://weatherandtime.net/new_wid/w_5/style.css" type="text/css" media="screen"><div class="ww_5" id="ww_5_2119"><div class="l_b"></div><div class="c_b"><div class="day" id="d_0"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_1"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="day" id="d_2"><span class="den"></span><br><span class="date"></span><br><span class="temp"></span><div class="pict"></div><span class="press"></span><br><span class="hum"></span><br><span class="vet"></span><br></div><div class="cl"></div><div class="links"><a target="_blank" title="Pune Weather forecast" href="http://weatherandtime.net/en/Asia/India/Pune-weather.html">Pune Weather forecast</a><br><a style="font-size:12px !important;color:#12A0D7 !important;text-decoration:none !important;" href="http://weatherandtime.net/en/widgets-gallery.html" title="weather"></a></div></div><div class="r_b"></div></div><script type="text/javascript" src="http://weatherandtime.net/w_5.js?city=2119&lang=en&type=2&day=3"></script></div>',
              // initially behaves the same as Sample 1
                 preferDOM : false,
                 // use the afterRendering event for 2 purposes
        return     oTable;
    /* In the screen shot as u can see.. I have to highlight the table cell in green color and red color for ordered and unordered status(which is binded to a json data) respectively....anyone please help??

    Hi Abhi,
                   Check this link it may helpHow I made highlight of specific values in Table

  • Looping table cells....... is it possible to loop more than one table cell?

    Hi there
    Hope everyone is doing well
    I have been using the addt looper wizard and it works great.....
    I usually put all the things I want to loop into one cell.... then select all the things and apply the looper.... which works fine....
    But..... it is hard to align all the elements I want to loop
    I have been using transparent gif images to space the loops evenly but when I space dynamic taxt on top of each other there is a large gap.....
    It is a nightmare to get it looking even
    Ok say I want to loop this.....
    A thumbnail
    Product ID
    Price
    It would look like this
    A thumbnail
    Product ID
    Price
    Because I cannot reduce the space between the lines......
    So I would like to place all the different elements in separate table cells and loop them..... I have tried and get really strange results....
    When you look at most online shops, their product pages have a thumbnail image the id, price, description, etc.... all spaced evenly.... and looks like is looped...... So.... how do I do it?
    Is there any easier way to align the things I want to loop?
    Any help would be great

    Hi there
    I seem to have figured out how to loop cells....
    Should have thought of it earliar but anyway
    Was easy....
    Just create a looped (repeat) region and insert a table into the region and edit the table to align all the looped elements easily....
    Cool

  • Highlighting text in a table cell

    Im trying to get text in a table have it background shaded a different colour to the rest of the table cell but it doesnt work. No exceptions are thrown does anyone have any idea.
    public Component getTableCellRendererComponent(JTable table,
            Object value,
            boolean isSelected,
            boolean hasFocus,
            int row,
            int column)
            setFont(table.getFont());     
            this.setText(value));
            this.selectAll();
            this.setSelectionColor(new Color(0,0,255,100);
            return this;
        }

    The answer is similar to what someone else asked recently for highlighting text in a JFormattedTextField cell.
    class MyFocusListener extends FocusAdapter
    public void focusGained(FocusEvent e)
    SwingUtilities.invokeLater(new Runnable()
    public void run()
    selectAll();
    Put that in your cell editor or its base class. You can change the color or whatever you want. I think the problem is a timing thing where normal focus processing is interrupting your changes. So give the focus processing time to run with this Runnable triggering your processing to occur on the Awt thread (as is proper) after the system is doing whatever it wants to do. Let us know if it works for you.

  • How can I make a table cell extend beyond the page?  The text disappears when the cell becomes larger than the page.

    How can I make a table cell extend beyond a page?  The text disappears when the cell becomes bigger than the page.  I want the table to continue to the next page.

    As a student, you might be able to get Office for Mac from the college bookstore at a substantial discount. Otherwise, I think your best option for documents that need to be shared with Office users is to get one of the free Office clones such as LibreOffice.

  • How to use a checkbox table cell in FXML

    I've figured out how to make a column in a TableView render as a checkbox rather then just text when the UI is written in Java. Now I'm trying to figure out how to do the same thing with FXML. I've tried a couple experiments which have all failed, usually with an exception complaining that it can't coerce a table cell class type (or extension) to an interface (i.e. Callback).
    Right now I'm just trying to make one of the columns be a checkbox. I'm not trying to use any custom type. In other words, in Java I would have done the following:
    TableColumn<MyModel, Boolean> col1 = new TableColumn<MyModel, Boolean>();
    col1.setCellValueFactory(new PropertyValueFactory<MyModel, Boolean>("col1Field"));
    col1.setCellFactory(CheckBoxTableCell.forTableColumn(col1));This works when I build the UI using Java API calls. Does anyone know how to do this in FXML?

    Thank you both.
    I used Luca's suggestion as a first step.
    You'll find attached my v.i. that enables me to do what I wanted. It finally works as I expected. It would have been much simpler if my DAQ was able to measure directly a resistance!
    Loris
    Attachments:
    banc_de_test_température.vi ‏205 KB

  • Changing the color of a Basic line object nested in a table cell

    Can anyone help me out here...I have inserted a line object from the Basic palette into a table cell on my web page and it displays fine but is default black color...I would like to change the color but haven't been successful in doing so..any ideas

    Hmm - doesn't sound right.
    "color=#hex" is not appropriate HTML markup.... Can you show us where you
    made this change?
    Murray

Maybe you are looking for

  • My iphone display is not working after apple logo. But the touch screen works fine.

    My Iphone 4S Was fully submerged in water, it has not worked for weeks but i plugged it in to the charger today and it worked started up, charged fine the apple logo appeared and then it just stayed black, I managed to type my passcode in without see

  • Presentation Director

    I have a T41 and have attached it to a Sony WEGA TV.  I can get the the systems linked but the picture is black and white only. Since I want to review photos on the TV, how do I get color?

  • My ipod wont register on my itunes

    so here's the deal.. i've rebooted my ipod and everytime i plug it in to my computer it goes through the whole scan disk mode and it comes back with a checkmark but my computer wont recognize it or something. i'd really appreciate some help getting i

  • SOLVED : Lenovo X60 spontaneou​s sleep mode problem.

    The problem is the flat panel screen! (either t-conn board and/or backlight). Viewiz HV121X03-100 Part No. 42T0359 FRU No. 13N7205. LCD : Wistron P/N:60.4Q443.001 I have 2 identical of Lenovo X60 laptops, with swivel-type-hinge at center. One has thi

  • Viewing raw + jpeg problem

    I shoot raw + jpeg. When I import from camera or from folders on my hard drive, both the raw and jpeg versions are transferred, but I only see the raw. There is no extension, but I can tell it is the raw because of the info in the metadata. I know th