PDA

View Full Version : Populating rest of RowEditor fields on basis of first combobox field.



slashn10
4 Jan 2011, 12:11 PM
I have a simple grid for displaying and editing Product, Price and Quantity. I am using a RowEditor to allow adding or updating the rows. The Product is selected via a combobox. I would like to populate the Price textfield with a default price(from the Product store), once a Product is selected. This price can then be manually changed by the user.

I am not able to figure out which event to handle to populate the Price and Quantity(default 1) textfields. I could happily do it outside of RowEditor by handling the selected event on the product combo. But how do I do it inside the RowEditor?

Any help would be appreciated.