DataGrid highilght problem with ItemRendered Text

I have a datagrid with some elements that are defined as
using an itemrenderer:
<mx:DataGrid id="dg" dataProvider="{dp}" >
<mx:columns>
<mx:DataGridColumn headerText="header"
dataField="element" itemRenderer="dgRenderer" />
Now, the item renderer just lists what text should be there:
override public function set data(value:Object):void
this.text = "new text";
So, as far as it goes, this works fine (all app-specific
stuff ripped out, but you get the idea). The text does show up in
the datagrid correctly. However, when I mouse over the datagrid,
normal (i.e. not-item-rendered) items get a dark background, and
change their font to a gray color. However, item-rendered objects
appear in black text, always.
Does anyone know why that is, or how I can solve it?
Thanks for any help you can provide.
-Brand

"BrandG" <[email protected]> wrote in
message
news:g7i3ne$8c4$[email protected]..
>I have a datagrid with some elements that are defined as
using an
>itemrenderer:
>
> <mx:DataGrid id="dg" dataProvider="{dp}" >
> <mx:columns>
> <mx:DataGridColumn headerText="header"
dataField="element"
> itemRenderer="dgRenderer" />
>
> Now, the item renderer just lists what text should be
there:
>
> override public function set data(value:Object):void
> {
> this.text = "new text";
> }
>
> So, as far as it goes, this works fine (all app-specific
stuff ripped out,
> but
> you get the idea). The text does show up in the datagrid
correctly.
> However,
> when I mouse over the datagrid, normal (i.e.
not-item-rendered) items get
> a
> dark background, and change their font to a gray color.
However,
> item-rendered
> objects appear in black text, always.
>
> Does anyone know why that is, or how I can solve it?
>
> Thanks for any help you can provide.
Here are some options:
1) Just use a labelFunction
2) Extend the default itemRenderer
3) Look at the code for the default itemRenderer and see how
it handles
this
HTH;
Amy

Similar Messages

  • Problems with importing text messages from PC Suit...

    Problems with importing text messages from PC Suit 7.1.18.0 to my Nokia 5800
     I am trying to import a csv file that contains text messages (Note that this file was created using PC Suit 7.1.18.0) to a subfolder that I have created to My Folders but PC Suits only imports the text messages to the Draft folder. Note that initially it shows that the messages are import in the correct folder but after a refresh it shows them in the Draft Folder. Is their any setting that I should change in the PC Suit or the phone? My computer runs on Windows XP Service Pack 3 and the Nokia 5800 was upgraded to the latest firmware v20.0.012
     Thanks for your help

    Most phones only allows importing of draft and archived box for SMS.
    To do a restoring, you need to backup the SMS as a .nbu file using PC Suite and restore later.
    If you got an SD card, you can also do a backup on the SD Card (backup.arc) then restore later (reset and restore: backup.arc and mmc).
    What's the law of the jungle?

  • A problem with copying text from english pdf to a word file

    i have a problem with copying text from english pdf to a word file. the english text of pdf turns to be unknown signs when i copy them to word file .
    i illustrated what i mean in the picture i attached . note that i have adobe acrobat reader 9 . so please help cause i need to copy text to translate it .

    Is this an e-book? Does it allow for copying? It is possible that the pdf file is a scan of a book?

  • Problem with selecting text in Adobe Reader XI

    Hi all, I am encountering a problem with Adobe Reader XI and it is very strange I could not find an alike issue on the internet so I guess I have to submit a question with it.
    So here it is, I am using Adobe Reader XI Version 11.0.2, operating system: Windows 7. I do not know it starts from when but it has the problem with selecting text - to be copied in pdf documents. I ensure that the documents are not scanned documents but word-based documents (or whatever you call it, sorry I cannot think of a proper name for it).
    Normally, you will select the text/paragraph you want to copy and the text/paragraph will be highlighted, but the problem in this case that I cannot select the text/paragraph, the blinking pointer (| <-- blinking pointer) will just stays at the same location so I cannot select/highlight anything to be copied. It happens oftenly, not all the time but 90%.
    This is very annoying as my work involves very much with copying text from pdf documents, I have to close the pdf file and then open it again so I can select the text but then after the first copying or second (if I am lucky), the problem happens again. For a few text I have to type it myself, for a paragraph I have to close all opening pdf documents and open again so I could select the paragraph to copy. I ran out of my patience for this, it causes trouble and extra time for me just to copying those texts from pdf documents. Does this problem happen to anyone and do you have a solution for this? I would much appreciate if you could help me out, thank you!

    Yeah,  I totally agree, this is very strange. I have always been using Adobe Reader but this problem only occurred ~three months ago. It must be that some software newly installed I think. But I have no idea.
    About your additional question, after selecting the texts and Ctrl + C, the texts are copied and nothing strange happens. It's just that right after I managed to copy the texts, it takes me a while to be able to select the texts again. For your information, I just tested to select the texts and then pressed Ctrl, the problem happened. And then I tried pressing C and then others letters, it all led to the problem.
    I guess I have to stick with left-clicked + Copy until I/someone figure the source of this problem. Thanks a lot for your help!

  • Problem with append += text in Text Field

    Hi guys
    i have a problem with append text.
    I have one array which contain some city names, like CityArea=["NAME 1", "NAME2" ...etc];
    Then i have one String and one Text Field.
    Using for loop im getting right results. But when im running script again then im getting  same text again.
    F.ex.
    First time:
    City name: Name 1
    City name: Name 2
    Second time:
    City name: Name 1
    City name: Name 2
    City name: Name 1
    City name: Name 2
    I have tried to make TextField to and String to Null and delete it, but it's appearing again.. :/
    How to avoid this?
    Here is script:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    _CityAreaTF1 = new TextField();
      _CityAreaTF1.border = true;
      _CityAreaTF1.wordWrap = true;
      _CityAreaTF1.multiline = true;
      _CityAreaTF1.selectable = false;
      _CityAreaTF1.antiAliasType = AntiAliasType.ADVANCED;
      _CityAreaTF1.name = "CityAreaTF1";
      _CityAreaTF1.embedFonts = true;
      _CityAreaTF1.htmlText = _CityAreaString1.toUpperCase();

    I think i found why.
    There was no problem with TextField.
    There was a problem with Array. "CityArea"
    So each time I executed script it added new string in Array. And that is because i got like:
    TextField
    City 1
    City 2
    City 1
    City 2
    Running this script is Ok:
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    But outside of this for loop there is another for loop for adding Cities in CityArray.
    I fixed it by adding empty array at the start of function
    function myFunc():void
    CityArea = [ ]; // Empty array fixed this issue
    // LOOP FOR ADDING SHOPS IN CITY AREA
    for (var j:int = 0; j < _Shops; j++)
    CityArea.push(_Shop);
    // FOR LOOP TO ADDING SHOPS IN STRING
    for (var i1:int = 0; i1 < CityArea.length; i1++)
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='32' COLOR='#ffffff'>        "+CityArea[i1]+"</FONT></P>";
      _CityAreaString1 += "<P ALIGN='LEFT'><FONT FACE='Verdana' SIZE='5' COLOR='#ffffff'><BR></FONT></P>";
    Thank you for your help kglad

  • CS3 - Problem with dynamic text -

    Hello,
    I have a problems with my text, when i write a few ligne inside a dynamic text box, if i selec the text and by the way drag it down the first line goes up and disapear. Is there any way to solve this?

    This is the Flash Player forum; please post your question in the appropriate product forum.

  • Problem with the text from previous year in current year appraisal (PPR)

    Hi Gurus,
    I have some problem with the text from the PPR of the previous year in the PPR current year.
    The text from the previous year have not the same displaying in the tab "previous year" of  the current year PPR.
    EXAMPLE :
    this is write in the PPR of year 2009 in Individual Targets without Incentives (tab My S-imple) :
    -Aufrechterhaltung der MA motivation, in dieser Zeit der Neuorientierung.
    -G1 Unterstüzung
    -Fachübergreifende Teamarbeit ausbauen
    Gefährdungsbeurteilung weiter führen
    -tragen von PSA einfordern
    -VI Opt.(Intervalle)
    -Azubi und Praktikanten AUsbildung unterstüzen
    and this is what I have in the PPR of 2010 in Individual Targets without Incentives (tab Previous Year's Targets):
    -Aufrechterhaltung der MA motivation, in dieser Zeit der-Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    -Aufrechterhaltung der MA motivation, in dieser Zeit der
    there is the error, all the end of the text isn't displayed and the begin of the text is repeated.
    I think that this issue is created at the creation of the PPR.
    If someone have a idea he is welcom.
    thanks and regards

    Hi,
    Please follow the note:425601,
    Go to Tcode: OBA5 change the error messge into warning message. carry out the settlement and roll abck the warning message into the error message after sucessfull settlement.
    Reward points if found useful.
    Thanks!

  • Problem with sending text messages replies

    After update to OS 3.0 I have problem with sending text messages:
    - I CAN send new text message to someone but
    - When someone REPLY me, then I CANNOT send next message in conversation
    - If I DELETE someone's reply from that conversation text message sends fine.
    Anyone have this problem? I have iPhone 3g with OS 3.0 update, previously on 2.x the problem didn't appear. Carrier Orange in Poland

    no my girlfriend, was useing my old N75, now she is useing her old phone last night and today. we have been texting with no problems at all. ..so i'm back in the iphone, and we're going to get her a new phone tonight,or she's going to use one of my other back-up phones till we get one for her. called at&t today to see if she could get an early upgrade before oct. just to make me happy with all the BS i've been through (10 hours or more on the phone trying to fix the problem). but at&t came through with their great customer satisfaction!!! NOT!!! so, gonna try and get her a good phone out of contract and see after hers and mine are up might just jump from at&t. very unhappy with them as how they handled this whole thing.

  • Premiere Elements 13 , Problems with new text/titles

    Premiere Elements 13, bisher keine Probleme. Nachdem die Filmlänge etwa 15 Minuten beträgt immer größere Probleme Titel/texte einzugeben. Wartezeiten sind extrem lange oder Programm stürzt ganz ab.

    High ATR,
    Computer running on Widows 7 ,64 Bit System, Service Pack 1, Processor AMD Phenom(tm) X4 945 3.00 Ghz;RAM 8 GB
    Grafikkarte: NVIDIA GeForce 8800 GT
    If the video on the timeline is longer than 10 minutes the problem will be remarkable. The response times adding a title is getting longer(2-15 seconds).
    As the video is now 18 minutes the response time is after each action(resizing of letters or any changes of the text) up to 30 seconds or the program crashes completely.
    Project settings are the following:
    General HD 1080i; 29,97frames/second; Video:1920v 1080 H, 30 fps
    Video: maximale Bittiefe, Dateiformat i-frame only mpeg, Kompressor MPRG i-Frame, Standbilder optimieren
    The video is a mixture  of full HD videos 1920x 1080 .mov and pictures up to 4608x3456 pixels.
    When the program crashes I remarked that the main memory RAM(8Gb) was fully used by the premiere program. Might there be a problem?
    Thank you for your service.
    thomasd
    Von: A.T. Romano 
    Gesendet: Sonntag, 1. Februar 2015 23:55
    An: Thomas Deschler
    Betreff:  Premiere Elements 13 , Problems with new text/titles
    Premiere Elements 13 , Problems with new text/titles
    created by A.T. Romano <https://forums.adobe.com/people/A.T.+Romano>  in Premiere Elements - View the full discussion <https://forums.adobe.com/message/7151822#7151822>

  • Problems with recieving texts?

    I am having problems with recieving text messsages, today I only had 2 hours that I recieved text messages. This has happened a few times, and when I take my phone to the verizon store they say there is no problem. Has anyone else had this problem?

    hoovie,
    I'm sorry to learn you are having issues with your text messaging. Just so I know I am up to speed, are you getting messages delivered to your phone on a 2 hour delay or do you have only a 2 hour window where you can receive any messages? Does this happen with only specific persons? Are you having any trouble sending text messages throughout the day?
    Please advise more information so I can help further.
    Thanks
    AdamE_VZW
    Follow us on Twitter @VZWSupport

  • Problem with long text

    Hi folks,
    iam uploading longtext in transaction KP06 in bdc programing using create_text.
    now my problem is if i pass selection criteria
    case 1:
    Vertion : N0
    fiscal year : 2007
    planner profile: CCPLAN4
    then the budeget plan data uploading successfully along with long text.
    case2: Vertion : N1
    in this case also everthing wrking fine
    case3: Vertion : 001
    in this case budgetplan data uploading sucessfully but longtext is not uploading,
    i debbug the proragm , create_text also returning sy-subrc = 0. but if i check in KP06  the long text is not there.
    data declaration
    vertion : VERSN type C(3)
    can u tell me the problem is in logic or with FM ?
    note : i checked with save_text also.
    regards
    neeru

    HI Naimesh,
    the FM Create_text internally contains both FMs save_text and commit_text,
    even i debug the FM in case of vertion N1, N0 and 001,
    all the cases sy-subrc = 0.
    code:
    CLEAR G_OBJNR.
    LOOP AT RECORD.
    COST = RECORD-BDC01.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = COST
        IMPORTING
          output = COST.
        CONCATENATE 'KS' p_kokrs record-bdc00 INTO g_objnr.
            SELECT SINGLE * FROM COSP WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
      IF SY-SUBRC = 0.
          LEDNR = COSP-LEDNR.
          OBJNR = COSP-OBJNR.
          GJAHR = COSP-GJAHR.
          WRTTP = COSP-WRTTP.
          VERSN = COSP-VERSN.
          KSTAR = COSP-KSTAR.
          HRKFT = COSP-HRKFT.
          VRGNG = COSP-VRGNG.
          VBUND = COSP-VBUND.
          PARGB = COSP-PARGB.
          BEKNZ = COSP-BEKNZ.
          TWAER = COSP-TWAER.
    CONCATENATE LEDNR OBJNR INTO OBJNR.
    CONCATENATE OBJNR GJAHR INTO TNAME1 separated BY SPACE10.
    CONCATENATE TNAME1 WRTTP VERSN INTO TNAME2.
    CONCATENATE TNAME2 KSTAR INTO TNAME3 separated BY SPACE.
    CONCATENATE TNAME3 VRGNG INTO TNAME4 separated BY SPACE4.
    CONCATENATE TNAME4 BEKNZ INTO TNAME5 separated BY SPACE10.
    CONCATENATE TNAME5 TWAER INTO TNAME.
    I_THEAD-TDOBJECT = 'CCSS'.
    I_THEAD-TDID = 'COSP'.
    I_THEAD-TDNAME = TNAME.
    I_THEAD-TDSPRAS = 'E'.
    APPEND I_THEAD.
    i_tline-tdformat = '*'.
    I_TLINE-TDLINE = RECORD-LONGTEXT.
    APPEND I_TLINE.
    loop at i_thead.
    CALL FUNCTION 'CREATE_TEXT'
      EXPORTING
        FID               = I_THEAD-TDID
        FLANGUAGE         = I_THEAD-TDSPRAS
        FNAME             = I_THEAD-TDNAME
        FOBJECT           = I_THEAD-TDOBJECT
      SAVE_DIRECT       = 'X'
      FFORMAT           = '*'
      TABLES
        FLINES            = i_tline
    EXCEPTIONS
      NO_INIT           = 1
      NO_SAVE           = 2
      OTHERS            = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    CLEAR I_TLINE.
    REFRESH I_TLINE.
    CLEAR I_THEAD.
    REFRESH I_THEAD.
      SELECT SINGLE * from cokp into itab WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
    if sy-subrc = 0.
       itab-TXFLG = 'X'.
       append itab.
       write:/ 'Text saved for', record-bdc00 , record-bdc01.
       else.
          write:/ 'Text saved for', record-bdc00 , record-bdc01.
          ENDIF.
    ENDIF.
    my program wrking fine but the long text is not visible for vertion 001.
    regards
    niru

  • Problem with selecting text in a PDF document

    I'm having a problem with Acrobat 9 and Reader 9.  PDF document that has copying and selecting permissions granted, when I highlight text for copying, some of it gets highlighted and some doesn't.  Put the same document on several computers in the office, same issue.  It's the document, but I can't figure out what the deal is.
    We need to copy large portions of this into a new tech manual. 
    Can someone help

    Without further information, my first reaction is to think that the texts that you cannot copy are included as images.

  • Problem with Alt Text output from thumbnail image of Lightbox widget

    I’m having a problem with the Lightbox widget not producing alternative text based on the image properties.  I’ve set ALT text for the image properties on both the larger Ligtbox image as well as the thumbnail.  But the HTML output from Muse does not include the ALT text on the thumbnail version of the image.  Here’s an example:
        <div class="popup_anchor">
           <div class="Thumb popup_element clearfix" id="u4409"><!-- group -->
            <a class="anchor_item grpelem" id="untitled"></a>
            <div class="grpelem" id="u4433"><!-- image -->
             <img id="u4433_img" src="/images/n0060292x292.jpg" alt="" width="292" height="292" />
    This may be a problem that came in a previous release of Muse.  I have a few older examples where ALT text is produced, but it’s no longer updated if I update the Image Properties.

    I'm seeing the same problem. Looks like a bug to me. Any ideas as to how we can get this on Adobe's bug fix list?

  • Problem with displaying text in flash player

    I have flash player 10.2.152.26 and opera 11.01  installed.
    The problem is that text in flash is diplayed in an awful way like this:
    http://img651.imageshack.us/img651/6918/alljo.png
    And when i choose "settings" the window appears, but it doesn't react when I click on it.
    Can anyone help, please?

    Thanks for answering
    So you have IE8 and the hardware acceleration was able to be UNchecked and FP(Flash Player) is working properly with IE.
    In IE flash works fine with any settings.
    When I unchecked "Hardware acceleration" checbox in IE it also became unchecked in opera, but nothing changed in opera's behavior.
    When you don't use the Aero it's displayed correctly but the settings do not work. What settings are you referring to?
    It's about flash settings in Opera
    With aero: http://img443.imageshack.us/i/settingsh.png/
    Without aero: http://img816.imageshack.us/i/settingswoaero.png/
    In both cases the settings dialog is displayed like in the screenshots above, but when I click on checkbox/tabs/'close' button in it nothing happens. I can't change any settings or close it (dialog disappers only after reloading page)
    Just to sum up everything mentioned above:
    - In IE flash works fine regardless of any settings
    - In Opera text is displayed wrong when using windows aero, and without aero theme it's displayed correct
    - I didn't manage to make settings dialog work in Opera
    - When I change some flash settings in IE, they are also changed in Opera
    Now Flash Player works thru the browser, do you have perhaps have an addon that is conflicting? What Anti-Virus do you have Installed? Any addons of that?
    I have 7 extensions installed in Opera, I've disabled all of them, but nothing changed.
    I use Kaspersky Internet Security 2011, disabling it also gives nothing.

  • Problem with a text in the last page of XML Publisher Template

    Oracle Applications : 11.5.10.2
    Oracle BI Publisher Template Builder for Word 10.1.3.4 Build 129
    Hi,
    I have a problem with XML Templates, I need that a text (*Este documento no confiere origen, señala únicamente país de manufactura.) is always at the bottom of a table and it has to be in every page, the problem is in the last page where the text is showed twice.
    <?start:body?>
    LINEA EN
    FACTURA
    DESCRIPCIÓN
    CANTIDAD
    NO. DE SERIE
    PAIS DE MANUFACTURA*
    F LINE_NUMBER
    ITEM_DESCRIPTION
    CF_PRIMARY_QTY
    CF_SERIAL_NUMBER
    CF_PAIS_DE_ORIGEN
    E
    *Este documento no confiere origen, señala únicamente país de manufactura.<?end body?>
    *Este documento no confiere origen, señala únicamente país de manufactura.
    Is there a way in order not to print the text twice in the last page?.
    Regards,
    Sergio.

    Whatever the problem, it's likely due to how those paragraphs
    were formatted in Word. The RH conversion usually only reflects
    what was done there.
    Are you comfortable inspecting the underlying HTML code (the
    RH TrueCode tab)? I think you'd find some type of SPAN tag or STYLE
    attribute that is determining an absolute paragraph width.
    Otherwise, you could try this experiment:
    1. Strip the base Word doc to a moderate size, but which
    includes at least one of these non-wrapping paragraphs.
    2. Select All and press Ctrl+spacebar (this removes all
    formatting from the selected text).
    3. Import that Word doc to RH and see how it looks now.
    Good luck,
    Leon

Maybe you are looking for

  • Care to play with grub2-graphical?

    UPDATES: November 2, 2009:      1) Added a section to troubleshooting for flickering graphical menus October 28, 2009:      1) Added a section to troubleshooting for failing to parse the block device      2) Fixed a few outdated pieces and typos Octo

  • SAP free memory is less than 30MB

    HI Gurus, I have a concerned with regards to the memory of our Server. As per checking from ST06N the free memory is less than 30MB. Is this normal? Because everytime I reached this low memory Users could not log on resulting to restart the SAP appli

  • Risk Analysis not highlighting SODs for critical transactions

    Hi, I am currently experiencing a problem when running risk analysis for critical transactions. SOD conflicts are not always being detected for critical transactions. This is happening both in role expert while creating a role and during role simulat

  • Manipulating the bank statement EBS

    Hello, i want to change few fields before the EBS is posted to SAP. I want to change the text by truncating it assign a trading partner change the posting rule based on the weather it is CAT D and CAT V and if it is a debit or credit Could anyone hel

  • Projects appear blank?

    I've been having an issue with Aperture 3.1.2 where an individual project or two appear blank. This often happens when I'm organizing photos. For instance, I just moved about 150 out of 300 photos from the original project to a new project. When I cl