开发者

buttons in a datagrid in flex

开发者 https://www.devze.com 2022-12-28 17:31 出处:网络
i am using a data grid in flex and i am generating data from a mys开发者_JAVA技巧ql server. However, my problem is with adding a button within the datagrid so each row has one.

i am using a data grid in flex and i am generating data from a mys开发者_JAVA技巧ql server. However, my problem is with adding a button within the datagrid so each row has one.

i have set the columns itemRenderer to mx.controls.Button although with the buttons shown in the grid there is no label on them (even though one has been set) and the assigned click event does not trigger when hitting the button. anyone have any ideas or guidance on what i am doing wrong. Thanks Mark


Not to worry I have sorted it. anyone with a similar issue i suggest reading this http://www.axelscript.com/2008/02/29/using-the-itemrenderer-with-a-datagrid-in-flex/

an excellent source.

0

精彩评论

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