Datagrid with LinkButton/Hyperlink for DataGridColumn(simple one)...

Hi All,
   I'm having below code
   <mx:Script>
     [Bindable]
             public var mySourceDataProvider:Array = new Array({isRowSelected: false, name:'Name1', age:10, comment:'Comment1'},
                         {isRowSelected: false, name:'Name2', age:20, comment:'Comment2'},
                         {isRowSelected: false, name:'Name3', age:30, comment:'Comment3'},
                         {isRowSelected: false, name:'Name4', age:40, comment:'Comment4'});
   </mx:Script>
   <mx:DataGrid id="mySourceDataGrid" dataProvider="{mySourceDataProvider}" headerRelease="headRelEvt(event);" x="54" y="65" width="365">
             <mx:columns>
                     <mx:DataGridColumn sortable="false">
                             <mx:headerRenderer >
                                 <mx:Component>
                                     <mx:HBox horizontalAlign="center" verticalAlign="middle">
                                         <mx:CheckBox selected="{outerDocument.check_flg}" click="outerDocument.headerCheckBoxSelection(event);"/>
                                     </mx:HBox>
                                 </mx:Component>
                              </mx:headerRenderer>
                             <mx:itemRenderer>
                                     <mx:Component>                                             
                                             <mx:VBox horizontalAlign="center" verticalAlign="middle">
                                                     <mx:CheckBox id="source"
                                                         selected="{data.isRowSelected}"
                                                         click="outerDocument.updateSelectedRowFlag(event);"/>
                                             </mx:VBox>
                                     </mx:Component>
                             </mx:itemRenderer>
                     </mx:DataGridColumn>
                     <mx:DataGridColumn dataField="name"/>
                     <mx:DataGridColumn dataField="age"/>                    
                     <mx:DataGridColumn dataField="comment"/>
             </mx:columns>    
</mx:DataGrid>
   The grid is showing correctly with data and it is working fine. Now I need to have hyperlink/linkbutton on name column displayed in DataGrid. When I press this link/button it should navigate to different page(.mxml)...
    Can someone please let me know how to do this?
    Thanks in advance.
Regards,
sharath.

I'm able to solve this problem but having question on setting style on linkbutton. Linkbutton style is not working
<mx:DataGridColumn editable="false" textAlign="center" id="dgCol_buttons" >                       
                        <mx:itemRenderer>
                            <mx:Component>
                            <mx:LinkButton styleName="htmlLink" label="{data.name}" toolTip="Accept WorkOrder"/>                                                   
                            </mx:Component>
                        </mx:itemRenderer>
</mx:DataGridColumn>
<mx:Style>
       .htmlLink        {
            fontSize: 12;
            fontWeight: normal;
            text-decoration:underline;           
</mx:Style>
text-decoration is defined as underline but it is not showing underline for linkbutton column.
Can you please advice, how to solve this problem.

Similar Messages

  • I have 2 macbooks each with an account for me and one for my wife. I use one Macbook logged in with my account and my wife uses the other Macbook only loged in on her account. We both make regular time-machine back-ups each on a separate external disk

    I have 2 Macbooks each with an account for me and one for my wife. I use one Macbook logged in with my account and my wife uses the other Macbook only logged in on her account. We both make regular time-machine back-ups each on a separate external disk. Is it possible to update her account on my macbook using her external disk without overwriting my stuff on the same Macbook and vice versa?

    Time Machine does not do individual accounts. It records the complete drive. So if you were to use her TM backup on your Mac it would make your Mac just like hers. Both yours and her account on your MAC.
    Just copy the missing files over from her Mac to yours. If there are differennt programs on each then they would need to be installed on both.

  • My problem is too complex for a simple one-line question. Is there an upload facility where I can describe the problem in some detail?

    My Problem with Word and Excel for Ms Office 2011
    I work on a MacBook Pro (Mavericks, v.10.9.1) as an editor of a scholarly journal.
    I regularly receive submissions as Ms Word, Excel and PowerPoint files, mostly created  on Windows computers.
    For the past 10 years I have been using Ms Office software for Mac without any problems to open and process these documents.
    I have since 2012 been using Ms Office 2011 for Mac without without any problems.
    About 10 days ago, I started getting  error messages when trying to open Ms Word and Excel  files, but I have no problems with opening and editing PowerPoint files.
    Failed Clean Reinstallation Attempts
    I completely removed all traces of  Ms Office from every nook and cranny of my Mac, following the procedure  “How to completely remove Office for Mac 2011”  from the MS support website at  http://support.microsoft.com/kb/2398768, and then made a clean reinstallation of Ms Office 2011, followed by two recommended updates.  The problem is back.
    The Error Messages
    When I click on an existing .DOC or .DOCX Word file I get the following error message:
    (1)
    "The Open XML file Normal-dotm cannot be opened because there are problems with the contents or the file might contain characters (for example, \ /)."
    Details
    No error detail available.
    It then lists the name of the document that I was unable to open.
    (2)
    If I click on the image of a Blank page in the Word Document Gallery the following error message is displayed:
    "Word cannot open the existing global template
    (Normal.dotm)."
    (3)
    If I then click on OK, a blank document 1 opens up. When I type information and try to save it I again I get the error message:
    This is not a valid file name. Try one or two of the following:
    *Check the path to make sure it was typed correctly.
    *Select a file from the list of files and folders.
    Workaround Solution by Editing Ms Word Documents Via Pages
    I can open the Word documents that Word cannot in My Mac’s Pages word processing program, and after editing, export them again in Ms Word format, but cannot open the in Ms Word for Mac to see if everything is alright. This is no way to work, using Ms Word.
    Any suggestions how I can solve the problem, sort of buying Ms Office 2013 for Mac?
    (By the way, I am writing this message in Mac’s Notes application).
    <Edited by Host>

    Rembrandt,
    Did the two updates to Office 2011 get you to 14.3.9? That's the latest Mac version of Office.
    I use Office 2013 and Mac Office 2011 on the same machine and have no problems opening any files shared between the two. You followed the instructions for uninstalling and updated your new installation correctly, I have to assume. It sounds as if there is a problem with your cuurent configuration but if it's not an update problem, or an installation problem, I can only direct you to the MS Office for Mac user community -> http://answers.microsoft.com/en-us/mac (sometimes you get lucky and get an actual MS employee answering your question).
    Good luck,
    Clinton

  • Help With Flash Update for Android (Nexus One)

    Hello, not sure why this issue isn't addressed but it's a big issue.
    I have an Android Google Nexus One running update 2.2. Flash was working perfectly before the update.
    This is apparently an issue for those that have uninstalled Flash and re-installed and/or on new update. Check the comments in the Marketplace on the Flash app. Several users are now rating the app. one star and commenting on their same issue as mine. SkyFire browser has the same issue.

    Hi, I'll check Marketplace. However, my understanding is that there was not any Flash Player for any Android until the 2.2 update was out. And also there were some differences as to what was available depending on whether it was the HTC Android or the Motorola. I don't think there was any Flash Player 10.0 available for any Android. I have links for this and when I get some time, I'll post them. In fact I recall Google saying at the time, the 2.2 was almost ready and some customers would get the upgrade according to geographical locations. Adobe was waiting on Google to upgrade as the 10.1 was ready on their end.
    Here is a thread from back in May 2010 that has some info:
    http://forums.adobe.com/message/2835786#2835786
    Another thread:
    http://forums.adobe.com/message/2701591#2701591
    You can also use the "Search Forums" at the top of this Forum.
    I think if I had the Android, whether the HTC or the Motorola, I would contact the carrier. Perhaps they have more info.
    Thanks,
    eidnolb

  • Need for a Datagrid with variableRowHeight="true" and custom Item Renderer to display exact rows

    Hi again, developers:
    I'm in a search of a datagrid  with certain characteristics:
         - variableRowHeight = "true"
         - only one column
         - each row must have a custom item renderer with possibly different heights, and a fixed width
         - the datagrid must show always every item in the data provider with no vertical scroll bars, what means that the datagrid height must have always the exact height sum of all the item renderers it is displaying.
         - and no extra empty rows must appear in the last positions of the datagrid
    The last two requirements are something difficult to achieve... for some reason, empty rows appear at the last positions of the datagrid. I post what i've managed to get:
    <mx:Script>
         <![CDATA[
         private function resize():void
                    if (dg.dataProvider)
                        var h:Number = dg.measureHeightOfItems( -1, dg.dataProvider.length);
                        dg.height = h;
         ]]>
    </mx:Script>
    <mx:DataGrid id="dg" width="530" horizontalCenter="0" verticalScrollPolicy="off"
            dataProvider="{dp}"
            wordWrap="true" variableRowHeight="true" showHeaders="false" dataChange="resize()" height="{dg.measureHeightOfItems(-1,dg.dataProvider.length)}" click="Alert.show(dg.rowCount.toString());">
            <mx:columns>
                <mx:DataGridColumn headerText="ID" width="50">
                    <mx:itemRenderer>
                        <mx:Component>
                            <mx:TextArea height="{Math.random()*100}" wordWrap="true" backgroundColor="{Math.random() * 16777216}" paddingTop="0" paddingBottom="0"/>
                        </mx:Component>
                    </mx:itemRenderer>
                </mx:DataGridColumn>
            </mx:columns>
        </mx:DataGrid>

    Thanks Harui, but it doesn't help. If the border is set it will help, but the very big problem is the empty rows that appear at the end of the datagrid... I can't find a way of measuring correctly the height of the itemRenderers!
    I'll update this thread if I manage to do it.

  • How to display swf Files and have a datagrid with paging for javaFX

    is there any example of javaFX which can display swf files or have a datagrid with paging.
    sorry for my bad english and by the way i am new to javaFX
    any help wil be appreciate

    Please, refrain from posting identical messages in several forums. Thanks.
    And I doubt JavaFX can display SWF files (it is a concurrent technology, after all! :-)), unless using some JNI/JNA technology (via JDIC? a long way...).
    Datagrid: it is expected in next version (hopefully), there are some implementations around (look for CRUDfx, for example).

  • Printing salesinvoices, is it possible to do it for more then one invoice?

    Is there a method to use VF03 with a selection for more then one sales invoices?
    I want to print them as pdf file, so I have to fill in the field billingdocument, but I need it for more then one invoice at the same time.
    I tried but it seems not to work. Is it not possible? Or is there another solution to print more then one invoices at the same time?

    Hi,
    check in the Commnication method of your Output type whether In the NUMBER OF MESSAGES field was maintained as 4
    No of messages field will control the Number of invocies to print
    check this and revert
    thanks
    santosh

  • Hints why all Update Routines are coming with 0.00. Even the simple ones?

    Hi,
    any hints why about 5 update routines that I have written are coming with 0.00 or blanks.
    Even very simple ones such as the one for MyCclQTY in the cube, which has the only line in the update routine between ODS and Cube:
    RESULT = SOURCE_FIELDS-QTY.
    shows in the cube output as blanks while QTY has data:
    e.g. of Cube Output:
    QTY-Field2-MyCclQTY----MyCalField2
    300--125--BLANK--
    0.00
    600--42.9-BLANK--
    0.00
    Basically all my routines, e.g. MyCclQTY, MyCalField2
    are not showing values while the direct mappings show the correct data.
    In the above simple case, with the routine shown above, I expected to see 300 and 600 for MyCclQTY but they come out blank.
    Any hints as to what may be wrong?
    Thanks

    <Font Face="Tahoma" Color="Blue">
    Dear Friend,
    Can you please try
          RESULT = COMM_STRUCTURE-Qty.
    Also please check that you have assigned correct Unit of Measure in the field "Unit of Routine".
    Hope it helps.
    Regards,
    Abhijit
    </Font>
    Edited by: Siegfried Szameitat on Nov 3, 2008 12:23 PM
    deleted request for points. it is against the rules.

  • I have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    i have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    First we need to know which one of the 9 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.
    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.

  • How to download versions of apps compatible with OSX 10.7 not the ones updated for 10.9

    how to download versions of apps compatible with OSX 10.7 not the ones updated for 10.9?
    I'm trying to download iLife and iWork apps for my MacBook. For example: The GarageBand app will not download because it says it is compatible with 10.9. I have 10.7 and cannot update to 10.9 because I'm on a 13in. Late 2007 MacBook. Any suggestions?

    Click here and follow the instructions. If they’re not applicable, you can’t download them and need to install them from a DVD.
    (108988)

  • Setting up two  iPod Touches on one account with gift cards for app and in-app purchases

    I have multiple devices on one account - 2 iPod classics, one iPhone 3G and two recently acquired iPod Touches for my 8 year old boys.  They want to make in-app purchases (for Dragonville).  They each have their own gamecenter ID.  I want to set up each of them with gift cards for their purchases.  Is this possible?
    If not, what is the recommended approach to manage all devices in one place while allowing individual devices to have a seperate payment mechanism?
    Thanks.

    I recommend that you
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
    http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/
    Use the new ID on her iPod but only for:
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    and Settings>iCloud if you want her to have separate Contacts Calendar and some other things.   
    Continue to use the same/common Apple ID for Settings>iTunes and App stores so you can share purchases.
    To make sure you only sync the media yoo want, configure iTunes syncing so that only checked media is synced to the idevices.
    iTunes: Syncing media content to iOS devices and iPod
    Also see:
    How to use multiple iPods, iPads, or iPhones with one computer

  • I have one home computer and our household has 2 iphones. I am signed up on itunes and now my husband would like to have an account with itunes as well. Can there be two accounts for 2 users for itunes on one home computer? How do I add another account ?

    I have one home computer and our household has 2 iphones. I am signed up on itunes and now my husband would like to have an account with itunes as well. Can there be two accounts for 2 users for itunes on one home computer? How do I add another account ?

    Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show up.  How do I prevent this?

    I have set up two users, one for myself and one for children.  The computer automatically logs in for the children with no password required.  When the children go to spotlight and type in a search criteria all of my files show and open up.  How do I prevent this?

    Log in to your account, and move all your files to your home folder. No other users should be able to access them there and they won't show up with a Spotlight search.
    Make sure your kids' account(s) do not have admin privileges.

  • I have garagaband for iOs in my iPhone 4S, I connect my squire iOs guitarr to the iPhone, I select a Guitar Amp at the GB app then I Only can tune the guitar but I m not able to make the guitar ring with the amps. May some one help me?

    I have garagaband for iOs in my iPhone 4S, I connect my Squire iOs guitarr to the iPhone, I select a Guitar Amp at the GB app then I Only can tune the guitar but I m not able to make the guitar ring with the amps. May some one help me?

    You got the new iphone?????   I have same problem.  I transferred audiobooks to device to find no audiobooks on device (despite it being in iTunes as if it was).  Have you found a solution?????   I even tried to change import settings on format transfer but hasn't worked. 

  • I am looking for a simple app to enable me to crop a face from one pic to another(fun). is it possible to do this via iPhoto or aperture?

    i am looking for a simple app to enable me to crop a face from one pic to another(fun). is it possible to do this via iPhoto or aperture?

    No, you will need something more advanced, like Photoshop.

Maybe you are looking for

  • Using TimeCapsule with a Comcast modem AND Airport Express. Way slower after updates! What's up?

    I've been running this set up for two years now without a hitch.  Comcast Modem to TimeCapsule by Ethernet.  Then TimeCapsule to Airport Express via WiFi.  It used to work great because my TC was far away from my family room and the AE extended my ne

  • Nokia Lumia 2520 Domain Capability, Ethernet cable...

    Hi all, Trialling a Nokia 2520 for corporate use and need to have this connected to our domain (initially) to enable VPN certificate installs, profile management etc.... Now, I'm having some issues finding some hardware for the Nokia 2520 - anyone pr

  • Imac 2010 , Lion- crashing

    I am up to date on all the iOS. Here's what is happening. I was just typing an email through my yahoo: sceen goes white and freezes- had to reboot.  Another instance was just checking some items on ebay- screen goes white and then all vertical lines

  • Number of antenna in iPad 4th Generation

    Hi, can someone indicate me the number of wifi antennas embedded in Wi‑Fi + Cellular iPad with Retina Display (4th Gen) ?  And also specify the power gain of each antenna, and the combinations of all antennas ? Thanks.I have searched this forum witho

  • Trial premiere pro cs6 won't run anymore

    Hello, I downloaded a trial for premiere pro cs6 yesterday and it worked great. But today, it wouldn't run anymore. I got the message that the program 'could not find any capable video play modules. Please update your video display drivers and start