2 Replies Latest reply on Aug 24, 2011 6:13 AM by matuzalem1983

    How to get an attribut from a headerRenderer?

    matuzalem1983

      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,

      Me