This content has been marked as final. Show 4 replies
On your DataGridColumns did you use the dataField property to name the field from your Object that should be presented in the columns? I believe the dataField defaults to 'label'.
Yep, I do specify a dataField on each DataGridColumn... my code below:
<mx:DataGridColumn dataField="companyId" width="0" resizable="false" />
<mx:DataGridColumn headerText="JDE No" dataField="jdeId" width="50" resizable="true" />
<mx:DataGridColumn headerText="Company Name" dataField="name" width="300" resizable="true" />
<mx:DataGridColumn headerText="City" dataField="primaryCity" resizable="true" />
<mx:DataGridColumn headerText="State" dataField="primaryState" width="50" resizable="true" />
<mx:DataGridColumn headerText="Max Contract Amount" dataField="maxContractAmount" textAlign="right" width="150" labelFunction="formatContractAmount" resizable="true" />
<mx:DataGridColumn headerText="SAM" dataField="samScore" textAlign="right" width="75" resizable="true" />
Any other ideas?
Appreciate the response, Peter!
The only way I got this to happen was if showDataTips was set to true. It looks like none of your columns have it set, so are you sure that your grid doesn't have it set?
Yep, it wasn't set - since I never use dataTips.
However, on a stranger note.... I have continued on with fixing other errors and now that I have come back to this one, it is gone. So, something I fixed somewhere else in the application took care of this problem. I have changed so much code, that I'm not sure what it was though. I'm in the mist of a migration from 1.5 to 2.0 (truly nasty business) for our huge flex app.
Sorry I don't have an answer... but if anyone runs into this again, my suggestion is to fix all the errors and see if this one still persists.