on 03-25-2011 4:51 AM
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Amey,
What WD you are using WDA or WDJ..?
Thanks,
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.