something like this,
<mx:datagrid id = dg
dataprovider = {somedata}....other parametes..
>
<mx:columns>
<mx:datagridcolumn datafiled = somedata.field1/>
<mx:datagridcolumn datafield = someother field itemRendere =
"mycomp.mycheckboxItem renderer />
</mx columns>
</mx:datagrid>
I am writing the code in fly, please use the right syantax
Regarding item renderes,
you can create another file, having all the functionaliy you want in
your checkbox, and then give the path of the rendere. if it is saved
in some folder, give the full path, like I said, mycomp is the folder
and mycheckboxitemrender is the checkbox rendere file.
let me know if you face any problem or need anything else
Thanks,
Shaleen Jain
http://shaleenjain.blogspot.com
On Feb 7, 12:30 am, Venkat Viswanathan <[email protected]> wrote:
> Use itemRenderer and in it, you can probably use an HBox with CheckBox and
> Label controls..
>
> Regards,
> Venkatwww.venkatv.com
>
> On Fri, Feb 6, 2009 at 9:17 PM, sravan kumar <[email protected]> wrote:
> > that i got but i have a small problem . i need to fill data grid column
> > with check box and data at same time.
>
> > On Fri, Feb 6, 2009 at 3:58 PM, sravan kumar <[email protected]>wrote:
>
> >> hi,
>
> >> How to show multiple columns in a grid.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---