3 Replies Latest reply on Jan 28, 2011 1:07 PM by Zolotoj

    Spark Datagrid -  custom header renderer

    Zolotoj Level 3

      I am trying to come up with  custom header renderer in my mxml code. What's a way of specifying  a custom renderer for a column in new Spark (Hero) DataGrid?

       

      Thanks

        • 1. Re: Spark Datagrid -  custom header renderer
          Zolotoj Level 3

          Got it:

           

          <s:headerRenderer>
                                                       <fx:Component>
                                                            <s:DefaultGridHeaderRenderer>
                                                                 <s:Label text="test"/>
                                                            </s:DefaultGridHeaderRenderer>
                                                       </fx:Component>
                                                  </s:headerRenderer>
          
          • 2. Re: Spark Datagrid -  custom header renderer
            Lior Bruder Level 1

            Hi,

             

            I am trying to create my custom header to spark daagrid and can't find any documentation. can you please tell me how did you do it?

             

            Thanks,

            Lior

            • 3. Re: Spark Datagrid -  custom header renderer
              Zolotoj Level 3

              Hours if not more searching on Internet. Adobe TV presentation from last MAX, I think. Adobe specs for new Hero datagrid.