Results 1 to 2 of 2

Thread: How do I create headerRenderer for DataGridColumn in AS?

  1. #1

    How do I create headerRenderer for DataGridColumn in AS?

    Hi!

    How do I create a headerRenderer with a TextInput for a DataGridColumn in ActionScript?

    I know how to do it in MXML but I need to know the how to do it in AS.

    Thanks for your time!
    //Kenwio
    Last edited by Kenwio; August 5th, 2008 at 06:14 AM.

  2. #2
    Check out ClassFactory - http://livedocs.adobe.com/flex/3/lan...ssFactory.html

    To assign programmatically you would say:

    Code:
    var factory:IFactory = new ClassFactory(yourHeaderRendererClass);
    factory.properties = {name/value pairs to assign to your newInstance};
    
    var dgc:DataGridColumn = //whatever column you are targeting
    dgc.headerRenderer = factory
    or where you asking how to make the actual renderer itself?
    email: jwopitz (at) gmail (dot) com
    blogs: http://jwopitz.wordpress.com
    check out the as3isolib

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012