开发者

array collection set foreign keys

I have an array collection set as a datagrid's dataprovider. I'm pull开发者_开发知识库ing content from my relational database and 2 of the columns in the grid appear as foreign keys.

How do I go about replacing the foreign key id with information from the other table?

I'm guessing I need to do some sort of: for each, but I'm really not sure how.


Ideally you would be using Itemrenderer's for those two columns where you will replace those two foreign key id's with the respective labels(values etc.). Further details on Itemrenderers: http://help.adobe.com/en_US/flex/using/WS03d33b8076db57b9-1c32bcb9124deadc3e9-8000.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜