vicache
29 Mar 2012, 4:25 AM
Hi,
I made an EditorGrid has 4 columns, columns types are textfield<string>. First one of columns is name of production, second one is price, third one is life time. I fill these three columns with keyboard and I wanna calculate price / life time to write in fourth column.
I can get values of price and life time fields, evaluate division and write in fourth column BUT text of text field doesnt display. I commit changes of list store, update selected object, refresh grid and call layout method of panel contains of grid. I can not show text of 4. columns but its getValue() method can return value, it is set.
How can I show text of it in grid column ?
I made an EditorGrid has 4 columns, columns types are textfield<string>. First one of columns is name of production, second one is price, third one is life time. I fill these three columns with keyboard and I wanna calculate price / life time to write in fourth column.
I can get values of price and life time fields, evaluate division and write in fourth column BUT text of text field doesnt display. I commit changes of list store, update selected object, refresh grid and call layout method of panel contains of grid. I can not show text of 4. columns but its getValue() method can return value, it is set.
How can I show text of it in grid column ?