PDA

View Full Version : How to get value from flex table and how to set integer value to text box ?



Amulya
1 Jun 2009, 10:24 PM
Hi All,

Im using flex table, which contains 3 columns. whenever I add a new row to a table I need to retrive the last column value, which is integer and I need to increment that and then have to set to a textbox.


My problem is how to retrive a perticular column value from table which is in integer ?

and

How to set that incremented value to a text field. I know setValue() method is only to set String, where as my incremented value is in integer ?

Help me to solve this problem.


Thanks in advance!

kolli
2 Jun 2009, 5:06 AM
There is a numberField class which just takes in integers, or you can use a textField and try parsing back and forth.