0 Replies Latest reply on Nov 6, 2007 3:38 AM by Noppadon Sodram

    DataGrid can not display correct value

    Noppadon Sodram Level 1
      My app follow this

      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" layout="absolute">
      <mx:ArrayCollection id="arrCollSomething">
      <mx:source>
      <mx:Object label="one" value="1e1"/>
      <mx:Object label="two" value="2e2"/>
      <mx:Object label="three" value="3e3"/>
      <mx:Object label="four" value="4e4"/>
      </mx:source>
      </mx:ArrayCollection>
      <mx:Panel>
      <mx:DataGrid dataProvider="{arrCollSomething}"/>
      </mx:Panel>
      </mx:Application>

      but my DataGrid display

      ---------------------
      label | value
      ---------------------
      one | 10
      two | 200
      three | 3000
      four | 40000
      ---------------------

      why my DataGrid not display 1e1,2e2, 3e3, 4e4
      Help me please, tell me reason for this result