advanceddatagrid  folderClosedIcon

Posted on 2011-10-30
Medium Priority
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
  • 2
LVL 29

Expert Comment

ID: 37054781
Both properties are available in mx

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
   <mx:AdvancedDataGrid folderClosedIcon="{null}" folderOpenIcon="{null}"/>

Author Comment

ID: 37054789
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

dgofman earned 1200 total points
ID: 37054799
It's CSS property you have to use setStyle instead

dataGrid.setStyle("folderClosedIcon", null);

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month16 days, 19 hours left to enroll

864 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