Just assign mb.text = "YOUR STRING";
Did you mean the same or updating the backend if so send the string to
you backend through the service you are using.....
On Tue, Dec 9, 2008 at 9:52 PM, Ashish <[EMAIL PROTECTED]> wrote:
>
> How do we update data in a textinput?
> I am getting a data from the back end,
> eg.<mx:TextInput id="mb" restrict="[Y,N, ]"
> text="{modelLoc.vehicleInfoCmbSelectItem.mbOrderable}" width="110"/>
> when the user update this textfield, onclick of update, it should call
> the update function,
> I am not able to put the updatefuncion in proper form.
>
> for grid i knw, like
> eg.private function updateRow():void
> {
> if (dg.selectedIndex != -1) employees.setItemAt({name:
> frmName.text,
> email: email.text, phone: phone.text}, dg.selectedIndex);
> }
> how my updatefunction be???
> since i have multiple text input, and all willbe called on click of
> update..
>
> Pls let me know, thanks in advance...
> Cheers
> Ashish
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---