Hello everybody, I have a question for you today?
To explain my problem you need to know that I have created a custom headerRenderer for a spark.datagrid. Inside it I have put a textInput controler. Now I wanna save the value that the user have entered since outside. Thus I have tried to enter a stuff like:
- ArrayList(grid.columns).source[i].headerRenderer.txtInput.text. with txtInput the id of my textInput.
The issue is the headerRenderer is a classFactory so I can't acces to the attributs and it doesn't allows the cast. If you have an idea, all of them will be considerate with a great interesting.
Thx alot and regards,
Dispatch a bubbling event from the headerRenderer when the attribute changes, and listen to the DataGrid for that event.
Thx for this idea, I will try it