开发者

buttons in a datagrid in flex

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜