Re: TextInput in a DataGrid

2017-01-31 Thread Kyle McKnight
I had thought that useVirtualLayout to false would stop it from re-using renderers. And when I set the text initially to an empty string "" then the text i entered would be registered and my totals would show up, but the text itself wouldn't show up until i pressed another key. It was jus tweird.

Re: TextInput in a DataGrid

2017-01-31 Thread Josh Tynjala
That sounds like the correct way to do it to me. I'm not sure that itemUpdated() should be required, but I haven't dealt with Flex item renderers in a while, so maybe there some quirk I've forgotten. Ultimately, you want to store any text or other data that is associated with a specific item in

Re: TextInput in a DataGrid

2017-01-31 Thread kamcknig
I solved it by binding the TextInput's text property to a property of the ItemRenderer's data Object and setting that data in a change handler on the TextInput and then calling dataProvider.itemUpdated(). I feel this is a bit hacky, so please, if anyone else has a way to do it, let me know? :)

Re: TextInput in a DataGrid

2017-01-31 Thread Kyle McKnight
Well apparently the text didn't show up in the email but it does on the forum sight. Not sure how this will show up but here it is via email.