cancel
Showing results for 
Search instead for 
Did you mean: 

Flash Island : unable to populate DataGrid with Context Node data

Amey-Mogare
Contributor
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Amey-Mogare
Contributor
0 Kudos

See last reply of mine in thread -->

Former Member
0 Kudos

HI Amey,

What WD you are using WDA or WDJ..?

Thanks,

Arun.

Amey-Mogare
Contributor
0 Kudos

WDJ (CE 7.1 EhP1)