advanceddatagrid  folderClosedIcon

Posted on 2011-10-30
Last Modified: 2012-05-12
hi guys

I have defined a advanceddatagrid
private var dataGrid:AdvancedDatagrid = new AdvancedDatagrid();
i want to set the folderClosedIcon to null but i am not able to find it
this.dataGrid.folderClosedIcon = null;   --->cant find folderClosedIcon property.

any idea?
Question by:royjayd
    LVL 29

    Expert Comment

    Both properties are available in mx

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="">
       <mx:AdvancedDataGrid folderClosedIcon="{null}" folderOpenIcon="{null}"/>

    Author Comment

    i know..but i am not able to access it in actionscript

    import mx.controls.AdvancedDatagrid
    private var dataGrid:AdvancedDatagrid = new AdvancedDatagrid();
    dataGrid.folderClosedIcon = null;   --->says "Access of undefined property "folderClosedIcon"

    LVL 29

    Accepted Solution

    It's CSS property you have to use setStyle instead

    dataGrid.setStyle("folderClosedIcon", null);

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Suggested Solutions

    Title # Comments Views Activity
    Flex dropdownlist displays [object][object] 2 1,352
    Vertical ScrollBar on RichTextArea 2 1,065
    adobe air 1 282
    rebuild swf 5 434
    First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
    Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now