Creating hyperlink on DataGrid Cell Data

Hi All,
Having created a Datagrid with displays Product names in the 1st column, is it possible to create individual hyperlinks on the data in this column. The result would be that when the User clicks on any one of the Product names a Internet Explorer browser window would open showing more details about the Product selected?
Thanks,
J

Here is my column definition for a link:
<mx:DataGridColumn
headerText="View" dataField="link" width="50" editable="
false" textAlign="center">
<mx:itemRenderer>
<fx:Component>
<mx:LinkButton label=". . ." color="blue" fontSize="16" fontWeight="
bold">
</mx:LinkButton>
</fx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>
You will need to set a click listener for LinkButton. To open a new window I use this:
reportString =
"window.open('" + reportString + "',
ShipInfo', 'status=0,toolbar=0,resizable=yes')";ExternalInterface.call(reportString);
Basically it is a JavaScript window.open method.
HTH

Similar Messages

  • How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?

    How Do i create a list that will show in a dropdown box with the list being pulled from another tab and not the cell data format junk?
    I currently run OS X 10.10.1
    Now i have been trying to work on this for a while now and what i want to do should be simple but its apparently not.
    Here is an example of what i want to happen.
    I will have 2 tabs: Contact | Sales
    Now Contacts will have the list of names and various information about a customer, While Sales will have one drop-down box for each Cell Row that will show the names of the person in tab contacts
    for what i am wanting to do i cant use the data format pop-up menu because the list is edited everyday several times a day.
    Now how do i do this, Excel can do this so how can numbers do it?

    Hi Shegra,
    Paste this into a applescript editor window and run it from there. In the script you may need to adjust the four properties to agree with your spreadsheet. Let me know if you have any questions.
    quinn
    Script starts:
    -- This script converts column A in one table into an alphabetized list of popups. It copies the last cell in that column. Then reverts the column to text. It then refreshes popups in column A of a data table starting with a user defined row.
    property DataEntrySheet : "Sheet 1" --name of sheet with popups to be refreshed
    property DataEntryTable : "Sales" --name of table with popups to be refreshed
    set copyRange to {}
    property PopValueSheet : "Sheet 1" --name of sheet with popup values table
    property PopValueTable : "Contacts" --name of table with popup values
    set PopStartRow to {}
    tell application "Numbers"
      set d to front document
      set ps to d's sheet PopValueSheet
      set pt to ps's table PopValueTable
      set s to d's sheet DataEntrySheet
      set t to s's table DataEntryTable
      set tf to t's filtered --this records filter setting on data Entry Table
      display dialog "Start from row #..." default answer "" with icon 1 -- with icon file "Path:to:my.icon.icns" --a Week # row
      set PopStartRow to {text returned of result}
      tell pt --convert list to alphabetized popups
      set ptRows to count rows
      set copyRange to ("A2:" & name of cell ptRows of column "A")
      set selection range to range copyRange
      set selection range's format to text
      sort by column 1 direction ascending
      set selection range's format to pop up menu
      -- popupsmade
      set selection range to cell ptRows of column 1 of pt
      set v to value of cell ptRows of pt
      end tell
      activate application "Numbers"
      tell application "System Events" to keystroke "c" using command down
      tell pt
      set selection range to range copyRange
      set selection range's format to text
      end tell
      tell t
      set filtered to false
      set tRows to count rows
      set pasteRange to ((name of cell PopStartRow of column "A") & ":" & (name of cell tRows of column "A"))
      set selection range to range pasteRange
      tell application "System Events" to keystroke "v" using command down
      set filtered to tf
      end tell
    end tell

  • How to create hyperlinked text in F1 help of a particular Data Element.

    Dear Guru
    I have encountered an issuse regarding to create hyperlinked text in F1 help of a particular Data Element.
    For Example what i am trying to do is ---
    If you open a particular data element say "ATNAM" in se11 you will found the below documentation available for ATNAM -->>
    DE ATNAM
    Text
    Characteristic Name
    Definition
    Name that uniquely identifies a *characteristic*.
    >> The "characteristics" comes in hyperlinked bluecolor and if we press this it linked to below --- >>
    Definition: characteristic
    Classification (CA-CL)
    Property for describing and distinguishing between objects, such as length, color, or weight.
    Profitability Analysis (CO-PA)
    I am able to make 1st part of the documentation using SE61.
    But I am not able to make Hyperlinked part of that documentaion .
    please show me some way to develop this
    Thanks & regards
    Saifur Rahaman

    HI,
    you can give the hyperlink in the documentation by going to the path below
    MENUBAR ----> INSERT -----> TEXT -----> HYPERTEXT.
    this will solve the issue
    have a good day
    regards
    sarves

  • Certain Numbers templets allow you to drag and drop contacts to populate cell data, how can I create that functionality in my own tables?

    Certain Numbers templets allow you to drag and drop contacts to populate cell data, how can I create that functionality in my own tables?

    If you haven't come across the workarounds thread you may find helpful tips there on this and other ways to work with Numbers 3.
    ronniefromcalifornia discovered how to bring contacts into Numbers 3. As described in this post:
    "Open Contacts
    Select all the cards you want
    Copy
    In Numbers, in a table, select cell A1
    Paste
    Boom. Works great. Even brought in the pictures. Cool."
    So instead of drag and drop, just select in Contacts, copy, and paste into Numbers
    SG

  • Creating hyperlink in column based on data, in ALV Web Dynpro ABAP

    Hi,
    I have a scenario in which i need to create hyperlink on a column. However all rows in that column need not be hyperlink. Based on the data i need to create it as hyperlink.
    eg: Column1 Column2
          ABC        1234
          DEF     5678
          GHI          9123
          DEF     5678
    So in above case where data is DEF i keep it as hyperlink, other rows are not.
    I am using ALV component to display data in a view container element.
    Please help me with this.
    Regards,
    Saud

    hi,
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    lr_column = l_value->if_salv_wd_column_settings~get_column( 'CONNID' ).
    DATA: lr_link_to_action TYPE REF TO cl_salv_wd_uie_link_to_action.
    CREATE OBJECT lr_link_to_action.
    lr_link_to_action->set_text_fieldname( 'CONNID' ).
    *lr_link_to_action->SET_ENABLED_FIELDNAME( 'BOOL' ).*
    lr_column->set_cell_editor( lr_link_to_action ).
    Here BOOL is my context attribute of type wdy_boolean inside the context node.
    Now based on the value of BOOL , your link to action will vary.
    DATA lo_nd_cn_flight TYPE REF TO if_wd_context_node.
      DATA ls_cn_flight TYPE wd_this->element_cn_flight.
      DATA lt_cn_flight TYPE wd_this->elements_cn_flight.
    *   navigate from <CONTEXT> to <CN_FLIGHT> via lead selection
      lo_nd_cn_flight = wd_context->get_child_node( name = wd_this->wdctx_cn_flight ).
      SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE lt_cn_flight.
        *LOOP AT LT_CN_FLIGHT INTO LS_CN_FLIGHT WHERE CARRID = 'AA'.*
          *LS_CN_FLIGHT-BOOL = ABAP_TRUE.*
          *MODIFY LT_CN_FLIGHT FROM LS_CN_FLIGHT TRANSPORTING BOOL.*
          *ENDLOOP.*
      lo_nd_cn_flight->bind_table( lt_cn_flight ).
    CN_FLIGHT is my context node binded to ALV. Now in above code you can set the  value of BOOL attribute and link to Action will depend on this value.

  • Creating Hyperlink to Another Report in Same Document

    Hi
    Is it possible to create a hyperlink from a cell in one report, to another report in the same WebI document, that doesn't involve the entire reloading of the document.
    Also, I want to be able to pass through a filter value.
    The reason for the request is we have a report which list certain information about an article. The 2nd report (still in the same WebI document) lists all sorts of other information about the article. The 2nd report contains a lot of information about the article, which doesn't make sense including in the 1st report.
    I can create a hyperlink on the article number, which uses the OpenDoc functionality to reload the report and navigate to the 2nd tab (report). If the article number is provided as a prompt on the query, then the data is filtered according to the selected article. That works, but it is not nice, as the report has to reload, and when you click on the tab to go back to the 1st report, that article prompt has been applied there as well.
    To get rid of that last error, we could conceivably create 2 queries, 1 for each of the reports, and only have the article input prompt on the 2nd query ... getting messy though.
    I would prefer to pass the article number and have that applied to the filter on the 2nd report ... doesn't seem possible in OpenDoc format though, unless I just can't find the querystring parameter to use.
    Is there not a way of linking to the tab, without reloading the whole document?
    Cheers,
    Andrew

    Hi Andrew,
    try getting the parameters to be displayed in a cell and use the parameter lsS or lsM(for multiple values) and pass the parameters to report 2 using openDoc.
    The document here lists the options with openDoc,  might be helpful otherwise
    http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_opendocument_en.pdf
    Thanks,
    Rajesh

  • Dynamic Hyperlinks in DataGrid/AdvancedDataGrid

    Forgive me, but when the web was build around hyperlinked text, it should be easier to create hyperlinks in a Rich INTERNET Application.
    Ok - enough griping. I do have a legit question:
    For historical reasons, I have to construct hyperlinks from a number of parameters passed in the URL (aka GET params). Since I write reporting systems, those hyperlinks usually have to appear in a table of some sort: a DataGrid or AdvancedDataGrid.
    My typical code looks something like this:
    <mx:Application blah=blah>
         <mx:Script>
              <![CDATA[
              ]]>
         </mx:Script>
         <mx:HTTPService id="getStuff" method="get" url="http://www.example.com/getData.php" result="processServerData(event)"/>
         <mx:AdvancedDataGrid blah=blah>
              <mx:columns>
                   <mx:AdvancedDataGridColumn blah=blah itemRenderer="ADGcustomItemRenderer"/>
              </mx:columns>
         </mx:AdvancedDataGrid>
    </mx:Application>

    OK, I didn't mean to post that yet. Why can't I edit my post?
    Anyways...
    <mx:Application blah=blah>
         <mx:Script>
              <![CDATA[
                   import a.bunch.of.stuff
                   protected function onInitialize():void {
                        getStuff.send();
              ]]>
         </mx:Script>
         <mx:HTTPService id="getStuff" method="get" url="http://www.example.com/getData.php" result="processServerData(event)"/>
         <mx:AdvancedDataGrid blah=blah>
              <mx:columns>
                   <mx:AdvancedDataGridColumn blah=blah dataField="dataFieldName" itemRenderer="ADGcustomItemRenderer"/>
              </mx:columns>
         </mx:AdvancedDataGrid>
    </mx:Application>
    ADGcustomItemRenderer.mxml
    <mx:Canvas blah=blah>
         <mx:Script>
              <![CDATA[
                   import mx.controls.dataGridClasses.DataGridColumn;
                [Bindable] protected var myURL :String;
                override public function set data(value:Object):void {
                        myURL = '<a href="http://www.example.com/dosomething.php?dept_num=00000&vendor='+value['dataFieldName']+'" target="_blank">'+value['VendorName']+'</a>';
              ]]>
         </mx:Script>
         <mx:Text htmlText="{myURLl}" height="100%" width="100%" />
    </mx:Canvas>
    Notice the dept_num? I need to pass that data to the itemRender, since it can change from page to page (though not row by row) in addition to the column-specific data passed via the "value" object. How can I access that data from the custom itemRenderer?
    Thanks

  • Enlarging a Flex DataGrid cell on RollOver

    Hi, I have a DataGrid which has a column named Hyperlinks where I show useful hyperlinks for the user. Sincce typically Hyperlinks are too big to show in a DataGrid cell, I need to have the column width at max 100px to be able to fit other columns in the Grid.
    What I am looking for is a way to show content of the cell when the user mouse over the cell. May be when user rollover, the cell shows the content increasing its size overlapping on the adjucent cells.
    Can anyone pls give me some suggestion on this? a code snippet would be very helpful if possible...
    Thanks in advance, Bose.

    Hi
    Instead of enlarging a cell you can display data using showDataTips="true" for the respective column.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:mx="library://ns.adobe.com/flex/mx" layout="absolute" minWidth="955" minHeight="600" applicationComplete="initData()">
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                private var DGArray:Array = [
                    {Artist:'Pavement', Album:'Slanted and Enchanted', Price:11.99},
                    {Artist:'Pavement', Album:'Brighten the Corners', Price:11.99}];
                [Bindable]
                public var initDG:ArrayCollection;
                public function initData():void {
                    initDG=new ArrayCollection(DGArray);
            ]]>
        </fx:Script>
        <mx:DataGrid id="myGrid" dataProvider="{initDG}" >
            <mx:columns>
                <mx:DataGridColumn dataField="Album" dataTipField="Album" showDataTips="true" />
                <mx:DataGridColumn dataField="Price" />
            </mx:columns>
        </mx:DataGrid>
    </mx:Application>

  • 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

  • Report navigation after creating hyperlink

    Hi,
    I am using Webi rich clinet XI R3.1. I have one main report with six dashboards and associated detailed reports. I created hyperlink for each of the dashboard and linked to detailed report in infoview.
    If i need to see main report i've to close this detailed report.Now how can i make the detailed report open in same window and navigate forward and backward to the main report instead of closing.
    I would appreciate if some one could provide any work around available if possible atleast.
    Thanks,
    Eswar

    Hi
    Create two links one Back and one Next in each report.
    Drag two free standing cells in the report and use opendocument syntax to create the links.
    The thread Re: Hyperlink Back functionality may give an idea.
    Regards

  • Can not retrieve cell data content From BLOB object.

    I have load Image into Georaster with Raster_Table following:
    create table rdt_1 of mdsys.sdo_raster
    (primary key (rasterId, pyramidLevel, bandBlockNumber,
    rowBlockNumber, columnBlockNumber))
    lob(rasterblock) store as (nocache nologging);
    After I load Image successful, I continue load all cell data into BLOB object by:
    DECLARE
    gr sdo_georaster;
    lb blob;
    BEGIN
    SELECT georaster INTO gr FROM georaster_table WHERE georid=2;
    dbms_lob.createTemporary(lb, FALSE);
    sdo_geor.getRasterData(gr, 0, lb);
    dbms_lob.freeTemporary(lb);
    END;
    Please give me simple PL/SQL to retrieval content from BLOB object!
    Thank You very much!
    YuMi

    BLOB stands for Binary Large OBject. However the acronym has a pleasing affinity with the actual nature of the thing. In a database a BLOB is an undiffereniated mass of bytes. We don't know whether it's a spreadsheet or a word document or an image. So there is no out-of-the-box API for treating a BLOB as it's native file type.
    Having said that there may be something in the Spatial API that works with such things - you might be better off asking the question in Spatial. Although I suspect that venue doesn't get as much through traffic as this one.
    Cheers, APC

  • The Difference between "Cell Data" and "Dimension Data"?

    What is the difference between the tab "Cell Data" and "Dimension Data" in SSAS?

    Article quote: " SSAS provides the way to secure analysis services database/cube data from unauthorized access. Analysis services provides secure access by creating object called "roles". After creation of role, user's windows login credential can be used
    to enroll into particular role because analysis services identifies user from their windows login credentials . You can protect your data in roles at two levels:
    1) Dimension level
    2) Cell level
    If user has been assigned more than one role, analysis services loop through all assigned roles after login. Analysis services finds all permission level for the particular user and  union all the permission levels.
    If two roles has contradictory access for user then particular access will be allowed. Suppose role1 says Australia data access and role2 denies Australia data access then access to Australia data will be allowed. "
    LINK:
    http://www.msbiconcepts.com/2010/10/ssas-data-security-dimension-and-cell.html
    Kalman Toth Database & OLAP Architect
    IPAD SELECT Query Video Tutorial 3.5 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • How to enter a value into datagrid cell in wpf through manually?

    Hi,
        Here my datagrid rows are in readonly mode here how can i enter the values in to the datagrid cell.(means how can i edit the cell value).i am adding the value to datagrid through programetically, I think  for this reason my datagrid rows
    are visible in readonly mode. Then how can i edit. Please guide me.
    Regards,
    Bhadram

    Hi Barry,
       Thank you for your reply, Now i sending my sample please check it once and suggest me.
    MainWindow.xaml.cs
    private void Save_Click(object sender, RoutedEventArgs e)
     List<CustomerMainViewModel> customer = new List<CustomerMainViewModel>(); customerviewmodel.NameTextField = tbName.Text;
    customerviewmodel.AddressTextField = tbAddress.Text;
    customerviewmodel.CountryField = countryddl.Text;
    customerviewmodel.StateField = stateddl.Text;
    customerviewmodel.Product = customerviewmodel.Product1 + "," + customerviewmodel.Product2;
    foreach(string str in customerviewmodel.actionCollection)
    customerviewmodel.ActionColl.Add(str);
    customerviewmodel.actionCollection.Clear();
    customer.Add(customerviewmodel);
    dataGrid1.Items.Add(customer);
    MessageBox.Show("Data Successfully Saved", " MessageBox", MessageBoxButton.OK, MessageBoxImage.Asterisk);
    clearValues();
    MainWindow.xaml
    <DataGrid
    Height="144"
    HorizontalAlignment="Left"
    Margin="79,447,0,0"
    Name="dataGrid1"
    VerticalAlignment="Top" CanUserAddRows="True"
    Width="399" Grid.RowSpan="2" IsReadOnly="False">
    <DataGrid.Columns>
    <DataGridTextColumn Header="NAME" Binding="{Binding NameTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False" />
    <DataGridTextColumn Header="ADDRESS" Binding="{Binding AddressTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="GENDER" Binding="{Binding GenderField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="COUNTRY" Binding="{Binding CountryField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="STATE" Binding="{Binding StateField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTextColumn Header="PRODUCT" Binding="{Binding Product,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
    <DataGridTemplateColumn Header="ACTION" MinWidth="140" IsReadOnly="False">
    <DataGridTemplateColumn.CellTemplate>
    <DataTemplate>
    <ComboBox x:Name="actionddl" ItemsSource="{Binding ActionColl}"/>
    </DataTemplate>
    </DataGridTemplateColumn.CellTemplate>
    </DataGridTemplateColumn>
    </DataGrid.Columns>
    </DataGrid>
    In the above "xaml" file i am using the attribute "Readonly="False"" but its not effected on my code still my datagrid is in readonly mode, i don't know why it happens. 
    And I am adding data to my datagrid through "Wpf controls (TextBox,CheckBox,ComboBox and etc...)"  while click on "save" button the data added to grid. adding to grid works properly but the entire row is in readonly mode. How can
    i solve my problem.  

  • Help needed to add an image to a datagrid cell in actionscript

    Morning all,
    I am still quite new to flex development and I have an application which uses xml to populate a datagrid. One of the row columns should display a small image but I don't know how to do that.
    Can anyone show me how to add an image to a datagrid cell in actionscript?
    I've added a sample of the code I have written already below. Any help would be much appreciated.
    Thanks in advance,
    Xander
    My XM
    <?xml version="1.0" encoding="UTF-8"?>
    <dataset>
    <modules>
    <module id="1">
    <icon>assets/sample_image1.png</icon>
    <key>core</key>
    <name>Core</name>
    <description>Description of module</description>
    <installed>Wednesday, 24th June 2009 @ 15:59 UK</installed>
    </module>
    <module id="2">
    <icon>assets/sample_image2.png</icon>
    <key>webproject</key>
    <name>Web Project</name>
    <description>Description of module</description>
    <installed>Wednesday, 24th June 2009 @ 17:32 UK</installed>
    </module>
    </modules>
    </dataset>
    My Actionscript
    private function dataSetHandler(event:Event):void {
        var ds:XML = new XML(event.target.data);
        var rows:XMLList = ds.elements('modules').elements('module') as XMLList;
        var columns:Array = new Array();
        for (var i:int=0; i<rows[0].elements().length(); i++) {
            var column:DataGridColumn = new DataGridColumn();
            var tag:String = rows.*[i].name();
            column.headerText = rows.*[i].name();
            column.dataField = rows.*[i].name();
            if (tag == 'icon') {
                var img:Image = new Image();
                img.id = "iconpath";
                img.width = 23;
                img.height = 20;
                img.source = rows.*[i].name();
               column.itemRenderer = img;   <-- this line shows as an error when I try to compile
            columns[i] = column;
        mydatagrid.columns = columns;
        mydatagrid.dataProvider = rows;

    you cant just set image object to itemrenderer, you need to use classfactory.
    http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_4.html

  • How do you create a column of sequenced dates in Numbers

    How do you create a column of sequenced dates in Numbers without typing in each date? For example: 01/05/15, 01/12/15, 01/19/15, 01/26/15, 02/02/15, etc.

    Hi Cha Ling,
    Another way,
    Enter your first two dates that show the desired interval- i.e. 01/05/15 and 01/12/15.
    Select both cells and choose fill from the contextual menu.
    Drag down to fill your column.
    quinn

Maybe you are looking for

  • Where did Xcode go???

    Hi All, I just downloaded and installed Xcode 2.4, the installation process was ok. But when I tried to find the Xcode icon (the little hammer) in Developer>Applications, I couldn't find it. Previously I had Xcode 2.5 (and I was able to see the icon)

  • Due date

    Why has the date my cell phone bill is due changed from the 28th of the month to the 23rd of the month? Shouldn't the customer have some say in this? Will my bill be pro-rated then seeing as it's due 5 days earlier? Thank you julianne sullivan 774-29

  • Configring and instaling 10g RAC on two Nods win 2003 Local Area

    All Experts I want to configure and instal 10g RAC using three database server on difirent network groups (Head office , processing, stitching). i am unable to configure ip etc. ip address is as: work group ip address computer name HO 192.168.0.29 ma

  • BX initialization for new materials

    Hi, I have a question on 0ic_c03 cube. According to the doc 'How to Handle Inventory managemnet Scenarios in BW', we have done all the procedures for Bx initialization, BF/UM history data load, and BF/UM delta load every day. so now the question is:

  • DBXML errors

    Anyone seen these errors ? trying out dbxml. All OWA,PLSQL packages are compiled fine...no invalids etc.... SQL> execute dbxml.query('select * from tab$'); BEGIN dbxml.query('select * from tab$'); END; ERROR at line 1: ORA-06502: PL/SQL: numeric or v