Thanks - I am not familiar with DevNet (new to development with 
Flex). Could you please give me a reference to "DevNet". Is this a 
free or fee based service ?

- viraf

--- In flexcoders@yahoogroups.com, Matt Chotin <[EMAIL PROTECTED]> wrote:
> You need to specify the classes so that they will get linked in. 
If Flex
> doesn't see a class reference it doesn't know to link it into the 
SWF.
> Roger has an article on DevNet that goes into this in great detail.
> 
> 
> 
> Matt
> 
> 
> 
> _____ 
> 
> From: viraf_bankwalla [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, February 26, 2005 10:27 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Specifying renderers in DataGrid
> 
> 
> 
> 
> Hi,
> 
> I have the following code that is called to create DataGridColumn's
> 
> var col:mx.controls.gridclasses.DataGridColumn;
> col = new mx.controls.gridclasses.DataGridColumn(cname);
> col.columnName=cname;
> col.headerText=cname;
> col.cellRenderer="MyCellRenderer";
> col.headerRenderer="MyHeaderRenderer";
> grid.addColumn(col);
> 
> I have noticed that when I specify the renderers as a String the 
> columns are not rendered. However, if I simply specify the class 
as:
> 
> col.cellRenderer=MyCellRenderer;
> col.headerRenderer=MyHeaderRenderer;
> 
> They are being instantiated. Could someone please explain the 
> difference. The renderers were created as MXML and have the 
> setValue method in a script.
> 
> Thanks.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
> 
> 
> 
> ADVERTISEMENT
> 
> 
<http://us.ard.yahoo.com/SIG=1298qteg0/M=298184.6018725.7038619.30011
76/D=gr
> 
oups/S=1705007207:HM/EXP=1109528842/A=2593423/R=0/SIG=11el9gslf/*http
:/www.n
> etflix.com/Default?mqso=60190075> click here
> 
> 
> 
> <http://us.adserver.yahoo.com/l?
M=298184.6018725.7038619.3001176/D=groups/S=
> :HM/A=2593423/rand=239372553> 
> 
> 
> 
> _____ 
> 
> Yahoo! Groups Links
> 
> *     To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
> <http://groups.yahoo.com/group/flexcoders/> 
> 
> *     To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]
subject=Unsubscribe> 
> 
> *     Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/> Terms of Service.





Reply via email to