I tried using this method.But though the dataProvider is changed,the
checkBox is not getting selected runtime.
i am checking it by debugging,there it shows selected but on view it
is not showing checked.How can i do that.

On Dec 23, 10:46 am, sheetal <[email protected]> wrote:
> Thanks Vishal.
>
> On Dec 22, 6:11 pm, vishal lad <[email protected]> wrote:
>
> > Hi,
> >    1. You can loop through your arrcollection and add two extra
> > properties.Say
> >                   {
> >                      arr[i].strText = "";
> >                      arr[i].chkValue = false;
> >               }
> >    2. As your arrCollection would be bindable you can assign this values to
> > your components using  in your ItemRenderers
> >                    Itemrender 1 =>   <TextInput text={data.strText}/> and
>
> >                    Itemrender 2 =><CheckBox  selected={data.strText>100 ?
> > true:false} accordingly.
> >         In your  text change event assign value to data.strText =
> > txtInput.text. or directly check here the value of your textInput and change
> > the value of data.chkValue accordingly.
>
> > This will solve your problem.
>
> > On Tue, Dec 22, 2009 at 6:26 PM, sheetal <[email protected]> wrote:
> > > Hi All,
> > > I have a datagrid and 2 itemrenderers in one row.
> > > for ex.checkbox in first col and textIput in sec col.
> > > I want to change the value of one on the property of other.
>
> > > I want to check the checkbox when the textInput value reaches 100.how
> > > do i acheive this.i can see no way to access the check box of the same
> > > row even if i know which TextInput has changed.
> > > plz share ur ideas.
>
> > > --
>
> > > 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]<flex_india%[email protected]>
> > > .
> > > 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 [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.


Reply via email to