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.
mastan
Points:0
Posts:0

10/4/2010 6:32:00 PM

Title: Difference between itemrender and itemeditor


Hi,

What is the Difference between itemrender and itemeditor.



1
Shawn
Points: 680
Posts:0
10/4/2010 11:21:00 PM



itemrenderer is used to format and display the contents in a components whereas itemeditor allows us to edit the displayed content

2
Justin
Points: 600
Posts:0
10/4/2010 11:30:26 PM



Interesting question itemrender vs itemeditor

say you have a listcontrol , now you can use a itemrenderer to display the data in any look and feel . Like display images in the list with radio button etc. Normally we have just text in list rows. So itemrenderer is used to customize data and design.

In case of itemeditor say you have a text field but on click you don't want the text to be edited directly but instead use a component like numeric stepper to edit the value. So you will use itemeditor as numericstepper. Now when user will click the text field to edit he will get numeric stepper to edit the value. So its used to define how the value will be edited.

3
Jeena
Points: 0
Posts:0
12/14/2010 9:11:38 PM



ItemRenderer is for configuring how something will look in a list control (i.e. a Picture + text might be a use case for an ItemRenderer). Thus "Render", how it will display


ItemEditor is used when you want to override how the user might change the value in the list


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 4+6 



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