ItemRenderer in a datagrid column   setStyle() does not do anything to the appearance

I have a custom ItemRenderer in a datagrid column, however
the setStyle() does not do anything to the appearance. when it is
called. Any ideas?
<mx:DataGridColumn dataField="area" width="50"
headerText="Area">
<mx:itemRenderer>
<mx:Component>
<mx:Text>
<mx:Script>
<![CDATA[
override public function set data( value:Object ) : void {
super.data = value;
setStyle("Color",0xff0000);
if(data.area == 'G'){
setStyle("backgroundColor",0xff0000);
}else{
setStyle("backgroundColor",0xff0000);
]]>
</mx:Script>
</mx:Text>
</mx:Component>
</mx:itemRenderer>
</mx:DataGridColumn>

Your renderer code looks a little strange. This works, and
may get you started:

Similar Messages

  • Does anybody know why my ipod touch 3rd generations screen does not show anything? The screen is all black, when I try to synchronise my ipod to my library it comes up with a message saying "iTunes could not back up the ipod because a session could not be

    Does anybody know why my ipod touch 3rd generations screen does not show anything? The screen is all black constantly. When I try to synchronise my ipod with my iTunes library it comes up with a message saying " iTunes could not back up the ipod because a session could not be started with the ipod. Please help and reply if you know an answer!!!

    Try this previous discusssion:
    https://discussions.apple.com/message/12518406#12518406

  • HT5953 How can I speed up the "start speaking" feature in iBooks? (System Preferences Dictation and speech does not do anything to the speech speed.) The rate is a bit to slow.

    How can I speed up the "start speaking" feature in iBooks? (System Preferences Dictation and speech does not do anything to the speech speed.) The rate is a bit to slow.

    Hi, I had the same problem you described, and I noticed that there are two ways of activating text to speech on iBook for Mac, with different speed results (at least on my MacBook Pro Retina display)
    On your iBook you can select the text and and then click on > More> Start speaking,  and you will get a certain speed, which tends to be too slow.
    But you will get the speed you had selected with "Go to System Preferences>Dictation and Speech>Text to speech. In there is a slider to adjust the speaking rate." if you use the TOP MENU (next to the black apple)  under Edit>Speech>Start Speaking. I also learned that under System Preferences>Dictation and Speech>Text to speech, there is an option for a shortcut which is very helpful. And you can change Key. Hope this was helpful.

  • The "Awesome Bar" is not working. It does not recall anything from the Bookmarks

    Just updated to new Firefox. In the past, when I would start to type a site in the address bar firefox would complete it as it was already in my bookmarks. But now it does not do anything. It just sits there waiting for me to complete the address. I could start to type Netf and it automatically finish Netflix.com
    Why is this happening. Also, for the first couple days of the new version I had to go back into Tools, Options and reset things at least 3 or 4 times before they would finally stay the way I wanted them.
    I would tell it Never Remember History and after while I would look and it would say, Remember History. I wanted a Blank Start page, and it kept changing it. It's okay now but the Awesome Bar is not working at all.

    Do your bookmarks show up in the auto-suggest drop-down list?
    ''If not:'' Under Options > Privacy, in the bottom section, does it still show that Firefox should suggest Bookmarks in the Location bar?
    If auto-suggest works but the autofill isn't happening, you could double-check that it has not been disabled here:
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''autof''' and pause while the list is filtered
    (3) If the '''browser.urlbar.autoFill''' preference is bold and "user set" to false, double-click it to switch its value back to the default value of true. That should work in new tabs.
    It's it already true, hmm, I wonder whether this is a private browsing issue? (I didn't test with automatic private browsing.)

  • Does anybody know why my ipod touch 3rd generations screen does not show anything? The screen is all black but my ipod synchronises to my iTunes library. Please help!

    Does anybody know why my ipod touch 3rd generations screen does not work show anything? The screen is all black like it is switched off, but my ipod synchronises to my iTunes library. It is fully charged. Please Help!!!

    Try here:
    iPod touch: Hardware troubleshooting

  • SetActionListener method does not print anything in the html file...

    Hi
    I want to add the actionlistener from my Javacode, but the setActionListener method does not have any effect on the Html. I can not figure out why. Can someone tell me what I'm doing wrong?
    tnx
    Andras
    public class Links {
    private HtmlPanelGrid topLinks;
    public HtmlPanelGrid getTopLinks() {
    TopLinks links = new TopLinks();
    Class args[] = {ActionEvent.class};
    if (topLinks == null) {
    topLinks = new HtmlPanelGrid();
    }else {
    topLinks.getChildren().clear();
    MethodBinding mb =
    FacesContext.getCurrentInstance().
    getApplication().
    createMethodBinding("#{event.actionevent}", args);
    HtmlCommandLink command = new HtmlCommandLink();
    command.setValue("Link 1");
    command.setActionListener(mb);
    topLinks.getChildren().add(command);
    return topLinks;
    public void setTopLinks(HtmlPanelGrid topLinks) {
    this.topLinks = topLinks;
    generates this html:
    <body>
    <form id="_id0" method="post" action="/Test/event.faces" enctype="application/x-www-form-urlencoded">
    <table>
    <tbody>
    <tr>
    <td><a href="# onclick="document.forms['_id0'['_id0:_idcl'].value='_id0:_id2'; document.forms['_id0'].submit(); return false;">Link 1</a></td>
    </tr>
    </tbody>
    </table>
    <input type="hidden" name="_id0" value="_id0" />
    <input type="hidden" name="_id0:_idcl" /></form>
    </body>
    As you can see there is no sign of the actionListener... :(

    You may completely misunderstand something.
    Don't worry even if you can't see the actionListener in the html.
    There is one in the server side.

  • I just purchased Apple USB SuperDrive and connected to my Mac mini 2012 but does not show anything on the screen. Not sure if its working.

    I just purchased Apple USB SuperDrive and connected to my Mac mini late 2012 USB slot but nothing shows up on the screen.
    I have OS X versus 10.10.3

    The system bus and all connected products should appear in the system profile or in the
    hardware part of About this Mac (more info) and if that does not, restart the computer with
    the external Apple USB SuperDrive plugged in. •As a last resort, if nothing else, before a
    return trip to be rid of the SuperDrive, you could try a system management controller reset.
    The SMC reset is not a first choice, so I won't post a link to the support instruction page.
    A new Apple USB SuperDrive should be seen as hardware in system information report.
    Of course, an icon of disc media should appear once the disc is inserted into the drive, too.
    Good luck & happy computing!

  • SCCM 2012 MP does not monitor anything but the central site

    Hi,
    We've tried implementing the SCCM 2012 MP (5.0.7804.1000) to monitor our SCCM 2012 SP1 setup running on Server 2012 from our SCOM 2012 SP1 setup.
    Everything imports fine and after ~30 minutes the servers are discovered and appears.
    After a while longer the central site and the SDK-service shows up as monitored but the resto of the 5 DPs and all other server roles remains unmonitored even after 3 days.. ..?
    All the agents are set to enable proxy.
    The SCOM servers runs with one service accounts and the agents with different action accounts.
    The SCOM action accounts on the SCCM-servers all run with the same domain service account with administrator-privileges on the SCCM-servers but no permissions within SCCM.
    Does the action account need any specific permissions in the SQL DB or in SCCM? To be part of any specific role?
    Any advise is greatly appreciated :)

    We have resolved this issue, I'm not exactly sure how we resolved it but what I think fixed the problem for us was creating overrides for the object discovery rules contained in the MP. 
    See my blog on our implementation: http://damonjohns.com/2014/07/01/monitoring-configuration-manager-2012-r2-with-the-scom-2012-r2-management-pack/
    My blog contains a screen shot and all the values I changed.
    You may ask why we increased the rate at which the hierarchy discovery rule executed with an override? Well
    in part it was due to:
    A. Us having the issue and
    B. I was sick of trying to trouble shoot the event log error that by default only registered every 6 hours.
    After I created the overrides, the MP started discovering data. It wasn't immediate though, it took another 6 hours or so for it to start working correctly. I think what might be happening is that one of the discovery rules is not completing correctly which
    causes the others to fail - hence no data. I have no idea why shortening the time on the discovery objects made any difference. But...it worked for me.
    Cheers
    Damon

  • Problem creating new sites. The formula refers to a column that does not exist

    Good morning,
    I have a problem creating new sites in my development environment. We have a template which works properly when we create new sites with it. However, when we add one new content type in the site created and save it as a new template, we can't create new sites
    with this template. The error log is that there are one problem in one column [The formula refers to a column that does not exist.  Check the formula for spelling mistakes or change the non-existing column to an existing column]. 
    I have opened the wsp template with visual studio but I can´t discover what column is the problem because the log only refers to the feature (ListInstances).
    Anybody knows how to find my problematic column?
    The error is:
    Feature Activation: Threw an exception, attempting to roll back.  Feature 'plantilla Llave en Mano 20141222 v2ListInstances' (ID: '6c61a3bf-3c51-4064-958b-d154729233e7').  Exception: Microsoft.SharePoint.SPException: La fórmula hace referencia a una
    columna que no existe. Compruebe que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista. ---> System.Runtime.InteropServices.COMException (0x81020057): La fórmula hace referencia a una columna que no existe. Compruebe
    que la fórmula no tiene errores ortográficos o cambie la columna que no existe por otra que exista.     at Microsoft.SharePoint.Library.SPRequestInternalClass.UpdateField(String bstrUrl, String bstrListName, String bstrXML)     at Microsoft.SharePoint.Library.SPRequest.UpdateField(String
    bstrUrl, String bstrListName, String bstrXML)     --- End of inner exception stack trace ---     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionListInstances(SPFeaturePropertyCollection props, SPSite site,
    SPWeb web, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean
    fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)
    Thanks in advance

    Hi Enrique,
    According to your description, after added a content type into the new site and save the site as a template, there is an issue when creating another new with the newly
    site template.
    Based on the error message “The formula refers to a column that does not exist…”, seems that it would be an issue of a Calculated column in the content type you added,
    please go through all the Calculated column in that content type to see if the formulas all work well.
    Feel free to reply if there any progress.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Calling a method in a signed applet from JavaScript does not do anything. Same functionality works in IE, Safari and Chrome. Is this a limitation of the JavaScript implementation?

    It does not seem that the JavaScript engine in FF 4 is allowing me to call inside a signed Java applet. When calling the script the browser does not do anything. The same functionality works in IE, Safari, Chrome.

    It does not seem that the JavaScript engine in FF 4 is allowing me to call inside a signed Java applet. When calling the script the browser does not do anything. The same functionality works in IE, Safari, Chrome.

  • Firefox displays "Stopped" in the status bar; stops all the tabs and does not do anything!

    Firefox displays "Stopped" in the status bar after running for a few minutes. It does not do anything on the page unless it is killed by opening the task manager. Sometimes I even have to restart the computer. And if that also doesn't work that shut down using the power button. Others have reported similar issues too.
    == This happened ==
    Every time Firefox opened
    == couple of weeks ago

    See:
    * http://kb.mozillazine.org/Windows_Media_Player#Missing_plugin
    * http://windows.microsoft.com/en-US/windows/downloads/windows-media-player (see Firefox)
    * http://port25.technet.com/pages/windows-media-player-firefox-plugin-download.aspx

  • HT1386 I am trying to sync my ipad3 to my itunes on a pc laptop, the ipad does not show up in the itunes left hand column. an ipod is already synced to the itunes. any suggestions welcome

    I am trying to sync my ipad3 to my itunes on a pc laptop, the ipad does not show up in the itunes left hand column. an ipod is already synced to the itunes. any suggestions welcome

    Hi lindaasw,
    Welcome to the Support Communities!
    Do you have the latest version of iTunes for Windows installed?  I would turn on the sidebar and the menu bar just to make sure you are seeing everything.  If the iPhone is still not recognized in iTunes, follow these troubleshooting steps:
    iTunes: Turning on iTunes menus in Windows 8 and 7
    http://support.apple.com/kb/HT5610
    iTunes 11: Frequently used features
    http://support.apple.com/kb/HT5649
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
      - Judy

  • Sharing does not show up on the side column ... tried turning off home sharing then turning it back on ... shared shows up untell i click "done " then its gone.

    sharing does not show up on the side column ... tried turning off home sharing then turning it back on ... shared shows up untell i click "done " then its gone.

    Yes, I have also tried and failed when setting up Home Sharing.  I have followed the instruction given on the Support website, but this is all I see:
    Both computers are on the same local network and both allow Home Sharing and are signed in with the same user name. I am not sure what else to do.  Any suggestions?

  • Error in formula field: Column 'TASK_BCWP' does not belong to table Task

    Hi,
    We have a formula field to calculate the a cost KPI and that field throws an error in the ULS logs. The error is: PWA:PWA, ServiceApp:Project Server Service Application, User:GDFN\IPL_Content, PSI: SSP: Formula Evaluation Failed! - trying to continue - (System.ArgumentException:
    Column 'TASK_BCWP' does not belong to table Task.
    We are running EPM 2010. Recreating of the custom field did not work. We are not running with the latest CU yet.
    The formula that we use is:
    IIf([BCWP] > 0; [ACWP] / [BCWP]; 1)
    The stack trace from the ULS log is:
    PWA:http://gdfn-ipl-14/PWA, ServiceApp:Project Server Service Application, User:GDFN\IPL_Content, PSI: SSP: Formula Evaluation Failed! - trying to continue - (System.ArgumentException: Column 'TASK_BCWP' does not belong to table Task.
    at System.Data.DataRow.GetDataColumn(String columnName)
    at System.Data.DataRow.get_Item(String columnName)
    at Microsoft.Office.Project.Server.BusinessLayer.FormulaDataProvider.HaveColumn(DataRow row, String columnName)
    at Microsoft.Office.Project.Server.BusinessLayer.FormulaDataProvider.GetTaskData(Guid nodeId, Int32 fieldId)
    at Microsoft.Office.Project.Server.BusinessLayer.FormulaDataProvider.GetDataInternal(Int32 entityId, Guid nodeId, Int32 fieldId, Boolean canChangeEntity)
    at Microsoft.Office.Project.Server.BusinessLayer.FormulaDataProvider.GetData(Int32 entityId, Guid nodeId, Int32 fieldId)
    at Microsoft.Office.Project.Server.BusinessLayer.Formula.FieldExpression.Evaluate(IFieldEvaluator context, Guid nodeId)
    at Microsoft.Office.Project.Server.BusinessLayer.Formula.GreaterExpression.Evaluate(IFieldEvaluator context, Guid nodeId)
    at Microsoft.Office.Project.Server.BusinessLayer.Formula.ConditionalExpression.Evaluate(IFieldEvaluator context, Guid nodeId)
    at Microsoft.Office.Project.Server.BusinessLayer.Formula.FormulaEvaluator.Evaluate(PlatformContext context, Expression formula, Int32 entityId, Int32 fieldId, Guid nodeId, Dictionary`2 entityFormulaFields)) + -- FieldId = 188776525 -- NodeId = 1b1149c1-52c2-4f7f-ba60-6d65effdb6b3
    -- Formula = IIf(Greater([MSPJ188743691], 0), Divide([MSPJ188743800], [MSPJ188743691]), 1)
    I have no clue where to start looking for the cause of this error. Any help would be appreciated.
    Thanks,
    Quint Mouthaan

    Hi Quint,
    This can because of database fragmentation. I would recommend you to re-index the databases and perform a de-fragmentation and can check the behavior.
    On the other hand when you receive this message, you can try an IISRESET and check. Additionally you can use refer to following link for de-fragmenting queries.
    http://support.microsoft.com/kb/943345
    Happy troubleshooting.
    Vikram Daruru - MSFT

  • "Always open in column view" does not hold

    "Always open in column view" does not hold the preference when applied to my hard drive.
    I select Macintosh HD and choose the column view. I go to View > Open View Options and check "Always open in column view". Then if I click on a different folder and go back to Macintosh HD, column view is retained... that is until I restart the computer.
    After a restart, when I click on Macintosh HD I am back to icon view. Again I go to View > Open View Options, and somehow the preference has changed to "Always open in icon view". If I switch back to column view, the preference is retained again until I restart, then it's back to icon view.
    Other folder and external drives open in column view after a restart, it is just Macintosh HD that always reverts to icon view.
    Sent a bug report to Apple, but any ideas how to fix this?
    Message was edited by: Bazzography

    V.K. wrote:
    install ONYX and use it to delete all .DS_Store files on your drive. every folder has one and they store the folder view settings. you seem to have some corrupt ones. also reset your finder preferences. delete the file homedirectory/library/preferences/com.apple.finder.plist. then control-option-click on finder in the dock and choose "relaunch".
    try setting default views after that.
    Did both suggestions and it appears to be working as expected now. Many thanks for the quick (and very useful) reply VK!

Maybe you are looking for

  • Can we use Substitution variables in MAXL?

    Hi, Can we use substitution variables in MAXL script? I have to run this MAXL command for clearing a slice of ASO cube on V11.1.1.3. alter database Apname.DBname clear data in region 'CrossJoin({[2009]},{[Dec]})'; I am planning to use Current_year &

  • Error in creating standby db... need HELP !!!

    Hi, i want to set up a standby db for current production db and i did the following: 1) shutdown the production db; 2) cp $ORACLE_HOME/oradata/testdb/*.dbf(on production) to the the standby db server; 3) startup the production db; 4) create a standby

  • On Hold for 2 Hours. Need new CD's PLEASE HELP

    I have been having trouble reinstalling Acrobat 9 from my discs for 3 days now. The installer freezes with "preparing to install..." in the installer window.  Since Tuesday, I have been following the instructions of the difficult to understand Indian

  • Uploading ESS packages in to NWDS????

    HI, I am new to wd-java.My requirement is i want to customize the tax excemption in ESS.please tell me how to customize the ess business packages in NWDS.Please provide step by step and also tell component usage here.and also tell me FloorPlanManager

  • Can't get help files after install of CS4 Standard

    The programs seem to be working fine, but whenever I click on the specific Help link the programs say there was an error in installation and I should re-install (InDesign, Photoshop, Illustrator, Acrobat) How do I get to access Help? Also, with PsCS3