In the item render do the following thing,

  override public function set data(value:Object):void {
                super.data = value
                if(value){

                      //value.isSelected---> isSelected is temp var in dp,
which wil keep track of
                      //whether it selected or not
                      rad.selected = value.isSelected
       }

On Tue, Feb 16, 2010 at 1:16 PM, pradeep gorijavolu <
pradeepflex.gr...@gmail.com> wrote:

> selection of radiobutton changes when i scroll the grid...
>
> And Ravi,
> how can i update the dataprovider when i scroll the grid...
>
> please let me know the solution asap
>
> Regards,
> Pradeep
>
> On Tue, Feb 16, 2010 at 11:14 AM, Ravi Mishra <ravi.achi...@gmail.com>wrote:
>
>> Hi Pradeep,
>>
>> You have to update your dataprovider on the selection of radiobutton.
>>
>> -Ravi
>> http://achieveravi.blogspot.com
>>
>> On Feb 16, 10:17 am, nithya flex <nithya4f...@gmail.com> wrote:
>> > selection of row change or selection of radio button is changed?
>> >
>> > On Tue, Feb 16, 2010 at 10:18 AM, pradeepflex
>> > <pradeepflex.gr...@gmail.com>wrote:
>> >
>> > > Hi All,
>> >
>> > > I got a problem with rendering a radio button in the datagrid.
>> > > The problem is intially the radiobuttons are renderered but when i
>> > > select one radiobuton
>> > > and scroll the grid the selection row(radiobutton) got changed .
>> >
>> > > Thanks for any information
>> >
>> > > Regards,
>> > > Pradeep
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "Flex India Community" group.
>> > > To post to this group, send email to flex_in...@googlegroups.com.
>> > > To unsubscribe from this group, send email to
>> > > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
>> <flex_india%2bunsubscr...@googlegroups.com<flex_india%252bunsubscr...@googlegroups.com>
>> >
>> > > .
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/flex_india?hl=en.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Flex India Community" group.
>> To post to this group, send email to flex_in...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/flex_india?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Flex India Community" group.
> To post to this group, send email to flex_in...@googlegroups.com.
> To unsubscribe from this group, send email to
> flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/flex_india?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_in...@googlegroups.com.
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to