1 Reply Latest reply on Mar 30, 2011 6:32 AM by Ameya Mogare

    Flash Island : Unable to populate DataGrid with Web Dynpro Context Node data

    Ameya Mogare

      Hi,

       

      I am trying to populate DataGrid in my Flash Island with WD context node data.

       

      Here are properties of my Context node (this is a child node of node 'User')
      Node 'Skills' (singleton : false, cardinality: 0..n, selection: 0..1)
                attr1: skillText (string)
                attr2: skillProficiency (string)

       

      And this is my Flex code:

       

      Inside Script CDATA: -
      [Bindable]
      public var Skills : ArrayCollection;

       

      Coding for DataGrid -
      <mx:DataGrid id="tblSkills" dataProvider="{Skills}" variableRowHeight="true" width="90%" height="100%" showHeaders="false" rowCount="5">
            <mx:columns>
                   <mx:DataGridColumn id="colSkill"  dataField="skillText"  wordWrap="true" />
                   <mx:DataGridColumn id="colProficiency"  dataField="skillProficiency" />
            </mx:columns>
      </mx:DataGrid>

       

      When I run this,
           1. DataGrid doesn't contain any data?
           2. even though I have set rowCount = 5, DataGrid shows many empty rows?

       

      Please help.

       

      Thanks and regards,
      Amey