header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
NileshPawar
Points:280
Posts:0

3/3/2011 12:45:41 AM

Title: How to Create Itemrenderer for AdvancedDataGrid with AdvancedDataGridGroupItemRenderer with two diff


Hello,

I was extending Itemrenderer for AdvancedDataGrid with AdvancedDataGridGroupItemRenderer. Is it possible to define two different itemrendrers for single column?

Help would be highly appreciated.

Thanks,
Nilesh



1
btate
Points: 0
Posts:0
3/3/2011 10:23:29 AM



Using two itemrenderers is not possible for one column. But I have an Idea instead. You can create two containers inside the renderer . And depending upon the value show or hide the required design. for eg . If you have to show textbox or combo in a single column. Then you can create listener like creation complete inside the renderer which shows or hides its content depending upon the value of textbox. If value is String then show textbox or else show combo.

2
Shalu
Points: 0
Posts:0
3/7/2011 9:48:05 PM



Its better to maintain a state using viewstack / states in item-renderer and based upon the type of data, view can be changed and managed effectively.

Hope the idea will help u..

3
NileshPawar
Points: 280
Posts:0
3/7/2011 10:15:26 PM



Thanks,

But issue is I have two components in my itemrenderer checkbox and radio button. On createChildren() method in renderer I am not able to get data for itemrender.



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 3+8 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions