7 Replies Latest reply on Feb 3, 2011 12:51 AM by afxgroup1976

    Refresh problem with Internet Explorer



      I'm using an Advanced Data Grid in a flex application that works in push with blazeds and tomcat.

      I have a strange problem only in one field and only with internet explorer. With all other browsers (firefox, chrome and safari) i have no problem at all.

      The problem is this one:

      A colum is bounded with a field that i receive via push but the value disappear when i go with mouse over the component and also after few seconds.. Since the web page has a scroll bar (in IE and not that one of the scroller), if i click with the mouse on the scroll bar the data in the column is redraw again..

      That's weird.. My AdvancedDataGrid has an itemrender that cause this problem. If i remove the itemrender and use the value into the dataField i have no problem at all:


      The code of the item render is very simply:


      <?xml version="1.0" encoding="utf-8"?>
      <s:MXAdvancedDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009" 
                <mx:NumberFormatter id="numberFormatter"
                <s:State name="default" />
                <s:State name="disabled" />
           <fx:Style source="fonts.css" />
                     import beans.Constants;
                     import beans.Odd;
                     public var odd:Odd;
                     public var oddValue:String;
                     public var oddActive:Boolean;
                     public var oddSignId:Number;
                     override public function set data(value:Object):void {
                          if (value!=null) {
                               odd = value as Odd;
                               oddSignId = odd.signid;
                               if (odd.active) {
                                    if (odd.value>0)
                     protected function openPopup():void     {
                          var eventid:Number = parentApplication.eventList.selectedItem.row_id;
                          ExternalInterface.call('sendbet',eventid, oddSignId, oddValue, parentDocument.aux);
           <s:Label id="lblData" text="{oddValue}" width="100%" right="5" textAlign="right" verticalCenter="0" styleName="negot" visible="{oddActive==true}"/>
           <s:Group click="openPopup();" top="0" left="0" right="0" bottom="0" alpha="0.4" includeIn="default" enabled="{oddActive==true}"/>


      i use itemrenders everywhere and i have no problem at all.. only in this case.. keep in mind that i've also tried to remove the override, the group, the autoDrawBackground to true, no numberFormatter and so on... no way.. the only solution is to remove the itemRender..


      Any hint?