1 Reply Latest reply on Oct 16, 2009 2:02 PM by rgadiparthi

    Header Renderer is getting Refreshed again & again...

    Ashudeep Sidana

      Hi ,

      I have a Advanced datagrid and I am using Header Renderer in a component for the same.. eg.

       

       

       

       

       

       

       

       

       

       

       

       

      <mx:AdvancedDataGrid

       

       

      id="adg" headerStyleName="boldHeader

      "

      dataProvider="

       

      {dataProvider}

      "

      height="

       

      100%

      "

      headerRenderer="

       

      {headerRenderer}

      "

      horizontalScrollPolicy="

       

      on

      "

      verticalScrollPolicy="

       

      on

      "

       

       

      >

       

      <mx:Component

       

      id="headerRenderer">

       

      <mx:VBox horizontalScrollPolicy="off" verticalScrollPolicy="off"

      implements="

      mx.controls.listClasses.IDropInListItemRenderer"

       

      >

       

      </mx:component>

       

       

      I have few components in my header renderer , & on basis of header text I am setting the visibility of components.

      My components are Combo boxes & Text Box...

      When i select any I tem from combobox Its not able to retain  the label to selectedItem for more that 30 secs....

      but i want it to be retain till I change the selection....

      Same is the case with text box It keeps the value for 2-3 seconds & clears the entered value

      What could be the possible solution?

      TIA