开发者

flex - add java object bean list in data grid

开发者 https://www.devze.com 2023-02-01 07:31 出处:网络
I am using flex with java. I am fetching data from DB and put in object bean by setter and getter . and make list of beans.

I am using flex with java.

I am fetching data from DB and put in object bean by setter and getter . and make list of beans.

this list i want to show in da开发者_开发百科ta grid in flex.

How should i do that?.

Thanks in advance.


You need to use data service. The company currently I'm working in use BlazeDS. You have to read this easy to understand tutorial to know how it works and how to do. The example used chart, in your case will be datagrid. Just give the returned ArrayCollection from server to your datagrid, you will be fine.

0

精彩评论

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

关注公众号