AdvancedDataGridColumn has some cells editable and some not

I use an advanced data grid. (In fact, I built an ActionScript class that extends from AdvancedDataGrid). Some columns are editable, using colum.itemEditor = new ClassFactory (TextInput).

I would like for some of the cells in the column to be editable and some not editable, depending on the underlying data being displayed in the line. For example, "If"xxx"Column2 = Column1 is not editable.
Also, I would like the column is editable if the cell is in a row of grouping.

I'm new to Flex and don't know how to begin to address this problem. Is there easy (or not so easy way) in ActionScript to control a single cell in a column, based on the underlying data?


Thanks for your help. A newbie appreciates.

Quote:
Posted by: ntsiii
You can specify that the column is editable, and then runs an itemEditBeginning handler, your logic and if an editing tool is not allowed, call Event.preventDefault ();

Tracy, who has been a great help. I've set up a handler for ITEM_EDIT_BEGINNING.
Unfortunately, I had some problems to work around. I use an AdvancedDataGrid, not a DataGrid control. In this case the Manager, the selectedItem property is null and the selectedData was an untyped object that had no content whatsoever, so I had to go on a hunt to find out which line of my XML was chosen. Since it is an AdvancedDataGrid and I used the pool, I couldn't watch the row index because the lines of the group prevent an easy mapping of the row index in the XML data.

I was finally able to find the selected data using the converter of element: event.itemRenderer.data.
Problem is solved.
I wonder if this is a bug that selectedItem and selectedData were unnecessary, or if for any reason any intended functionality.
Thanks for your help.

Tags: Flex

Similar Questions

  • WINDOWS 7 allow interrupt sharing. We have a system that has several COM ports and IRQS not enough.

    Original title: some j

    WINDOWS 7 allow interrupt sharing.  We have a system that has several COM ports and IRQS not enough.  In XP Pro, there was a sharing bit interruption that you can set in the registry editor that would allow this sharing.  Sound in windows 7, but it doesn't have the same results.  Any ideas?

    Hello

    I suggest you to report this issue in TechNet Windows 7 IT Pro Forums: http://social.technet.microsoft.com/Forums/windows/en-US/home?forum=w7itprohardware

    Thank you.

  • Windows xp has been partially updated and may not work perfectly

    To install the 3 XP SVC pack... Neede Svc Pak 2 do following error Yes, obtained by attempting to do so.

    Windows XP has been partially updated and may not work perfectly

    Hello

    -You installed correctly updated recently?
    -You are aware of any changes made on the computer before this problem?
    Method 1: I suggest to maintain the computer in clean boot mode and check if the problem still persists.

    Step 1: Clean Boot Mode
    A clean boot to check if startup item or services to third-party application is causing this issue.
    You can read the following article to configure the computer to boot:
    http://support.Microsoft.com/kb/929135
    Note: After the troubleshooting steps, refer to clean the start link to configure the computer to normal startup mode.

     
    Step 2: Manually disable the Antivirus

    Important note: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Step 3: Install Service Pack 2 (SP2)
     
    Steps to take before you install Windows XP Service Pack 3
     
    Include to determine which SP1 is installed
     
    Method 2: Follow the steps mentioned below and check if the problem persists.
     
    Step 1: Microsoft Windows Update Agent tool
    How to get the latest version of the Windows Update Agent?
     
    Step 2: Try to install the updates and check if the problem persists.
     
    Method 3: Try to download and install the Windows XP SP2 and SP3 manually and check if the problem persists.
    For Windows XP SP2:
    Windows XP Service Pack 2 network installation Package for IT professionals and developers
    For Windows XP SP3:
    Windows XP Service Pack 3 network installation Package for IT professionals and developers
     
    Hope this information helps.
  • "HP ToolboxFX has encountered an error and can not recover" for 1415fnw Pro Laser color MFP.

    1 HP Laser Pro 1415fnw color MFP

    2. Windows 7 Pro 64-bit.

    3. "HP ToolboxFX has encountered an error and can not recover.  Please restart HP ToolboxFX, or re-start your PC. You will not be able to receive alert messages, or use other features of HP ToolboxFX until HP ToolboxFX has been restarted.  Windows version: Win32NT - 6.1.7601.65536.  "HP ToolboxFX version: 006.015.01163.

    4. message only started appearing after that I installed and uninstalled after a Vodafone 3 G USB modem.  Then, I uninstalled and reinstalled the HP software to try to solve this problem, but the message persists.

    Hello

    I'm a little confused, you asked if you were able to solve my problem, but I have no record of all the proposed solutions from anyone at HP.

    I seem to have solved the problem by changing the compatibility of the executable for Windows NT 4.0.

  • Calendar Gadget has all orange background and does not show any date information

    My calendar gadget all orange background and does not display the date information. I tried the various help and resets listed in the site support, and also through a search engine search.  No solution that was out there was again active. I tried to reset the file .dll, re-installed McAfee, closed, deleted and re-installed the gadget.  I'm running to do a total reinstall of Vista (not), but I don't really want to do this for a simple gadget. I don't know that there is a difficulty there. I have install a registry cleaner and then uninstalled it, but I don't remember the name of the program. Thoughts?

    It is a few extra for support measures to...

    This behavior is observed if the XML registration is missing in the system. To resolve this issue, follow these steps:

    • Close the Windows Sidebar . To do this, right-click on the Sidebar icon in the Notification area, and then clickoutput (GK: in the case of Windows 7, press Windows key + R > typetaskmgr and press enter > Proccesses tab > selectsidebar.exe > click on the end process button)
    • Open an elevated command prompt window. To do this, clickStart , click principally made programs , Accessories , right-clickguest , and then click run as administrator .
    • In the command prompt window, type the following command and press ENTER:

    regsvr32 msxml3.dll

    Similarly, run these commands:

    regsvr32 scrrun.dll

    regsvr32 jscript.dll

    If the registration was successful, you will see the message DllRegisterServer in succeeded to for each executed command. OpenWindows Sidebar (sidebar.exe ) and check if the problem is resolved.  You will need to disconnect and reconnect your user account to check if the issue has been addressed.

    Aaron
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • I managed to fix an erronious in my new Windows 8 account e-mail address, but the app store, still has the old address and will not serve an order

    The title says pretty much all this. Microsoft Accounts has my wrong email address and it took a few days to correct, but when I tried to order in the games section of the app store, it still has the old address (which went nowhere) and would not be the service order.  How can I get the correct email in the app store?

    Hi EddySims,

    Thanks for posting your query in Microsoft Community!

    I understand that you are not able to download the app from the store Windows applications as it has the old email address.

    Please answer the question

    (1) have you tried to connect with the new email address?

    (2) did you get an error message?

    If this only happens in Windows Apps store, I suggest you follow the steps below to reset the cache to store and see if it works very well.

    (a) press the Windows key + R

    (b) type WSReset.exe and press OK

    See also,

    What to do if you have problems with a soft:

    http://Windows.Microsoft.com/en-in/Windows-8/what-troubleshoot-problems-app

    I hope this helps to solve the problem! If still persists, please do not hesitate to post. We will be happy to help you.

  • My trusty 2410xi has a mechanical jam and will not let me do all the work

    recently, when I turn on my trusty 2410xi all-in-One, it of a mechanical blocker and will not let me perform all tasks. I tried to disconnect the supply of the data lines, nothing helps. Looks like the print head may be stuck? I remember having the same problem a long time ago but don't remember what could be the solution to the problem.

    There are a few things that you, and not when this happens. Most of the time it's a very small piece of paper holding things to the top, or the printer just need a reset to zero more deep. The document following the link will take you through all the things you can try. If this does not work, you will need to replace the printer. Let me know what happens.

    http://goo.GL/BnGuX

  • How can I load my photoshop CS6 cd to a new Macbook that has no cd slot and does not support the cd drive external mac.

    How can I load photoshop CS6 on a new macbook, which doesn't have a cd slot and does not support the cd drive external mac? I have the original cd of the program.

    Jake

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a link to access a page to download the Adobe programs if you do not have a disk or drive

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

    - and also read https://forums.adobe.com/thread/1146459

  • 'modemdrivermac.kext' has been successfully installed and can not be used

    Hello

    If this pop-up has recently started to appear on my screen. When I was connected to wifi, this has come up a few times (think it is related to the update of itunes?) Read this in another discussion, don't really know), but no problem seems to arise. I just close the window. However, I just bought a modem, and every time I install the software required to use the pop up shows. The problem occurs when I try to connect to the internet via the modem; The connection from the menu button is just gray.

    The name of the driver pretty much says it all; It is important in the use of modems but does not work. Any suggestions to solve this? All entries are greatly appreciated.

    Thank you

    Edit: There is a connection available, so this isn't the problem. The modem flashes (blue, which means there is a link but I'm not connected to it)

  • 2 months Time Machine backup file has been changed recently and is not the old version of the file

    Good, then me Riddle this dear sweet people. I want to get an older copy of a file that was accidentally changed in recent days, according to me. I went to time machine and found that the file has been changed recently even if the backup of the States, she was saved 2 months ago. YGBFKM

    The reason for which the whole I support is to avoid this specific scenario. What is the backup if it is not the data from the date it was supposed to be archival?

    I would like to understand what has happened even as I and version current source of REAL backup software and ACTUALLY back up my data.

    Michael

    10.11.5 OS

    (21.5 inches, end of 2012)

    Intel Core i5 at 2.7 GHz

    8 GB 1600 MHz DDR3

    NVIDIA GeForce GT 640M 512 MB

    * bump *.

  • MonitorControl_drv.kext has been successfully installed and can not be used.

    I get this dialog box popping up. I ran Malwarebytes and Bitdefender, reinstalled the operating system. Any way to install this file "correctly"?

    It does not appear to have an impact on the system, but I really want to do the sorting.

    A

    Please, back up all data before proceeding.

    Triple-click anywhere in the line below on this page to select this option:

    /System/Library/Extensions/MonitorControl_drv.kext

    Right-click or Ctrl-click on the highlighted line and select

    Services ▹ reveal in Finder (or just to reveal)

    of the contextual menu.*, a file must open with a selected item. Move selected item to the trash. You may be prompted for administrator login password. Empty the trash.

    * If you do not see the item context menu copy the selected text in the Clipboard by pressing Control-C key combination. In the Finder, select

    Go ▹ go to the folder...

    from the menu bar and paste it into the box that opens by pressing command + V. You won't see what you pasted a newline being included. Press return.

    B

    Although he has not linked your question, all software known as "anti-virus" or "anti-malware" are at best useless on a Mac. I suggest that you remove the instructions of developers.

  • My XP Pro has changed its look and will not play sound.

    My computer suddenly wanted a validation because of hardware changes, he said. Now it looks like widows 98 and none of my devices work and the Device Manager has no entry and I can't reinstall the drivers for sound, Ethernet or exploit, the disk controllers. Anyone know what can happen... I run XP pro. Could it have been caused by my pc repair service... Registry Mechanic.

    Hi TonyYeyo,
     
    PC Repair tool (Registry Mechanic) who you're talking about is a third-party tool. Therefore, Microsoft cannot make any guarantees about the quality, safety or the ability of a third-party software. There are the dangers inherent in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
     
     
    Make sure that you do not have download these cleaning software that may pose a risk to your computer.
     
    -What exactly happens when you try to install the drivers for your computer?
     
    Try to complete the restore of the system on your computer to return to an earlier point when this problem did not exist.
     

    System Restore can return your files system to a point in time before you noticed a problem, without affecting documents, photos, or other personal files. If the system restore does not resolve the problem, you can undo the restore operation and choose a different restore point.

    How to restore Windows XP to a previous state

    Additional reference on:

    System Restore Windows XP is easy to use

  • Computer has a black screen and does not show the normal startup logo and more

    The computer that I use usually works well, until the next day, the day that I used it, ruined everything. My computer shows not the Windows 7 logo normal at startup, but instead, a bar with green lines in movement like the ones you see in older versions (Windows Vista), but now only the bar and did no logo in it and after starting does not display. It shows a completely black screen, but it makes a noise like the sound when she welcomes you to Windows 7. I tried safe mode and disabled the NVIDIA GeForce GT 220 graphics card and the screen works, but he is stuck at 800 x 600. In addition, the start screen is always the bar. How can I fix it? (Tried updating the gpu but still displayed black screen)

    Hello Rafael,.

    Thanks for posting your question on the Microsoft community.

    We need more information about the issue so that we can help you better.

    What is the brand and model of your computer?

    Thank you for details on the issue.

    This problem may occur because of corrupted display driver.

    I suggest to start your computer in safe mode, uninstall the display driver, restart your computer in normal mode

    mode and update driver from the website of the manufacturer of the computer display.

    Please see this link:
    Why my screen is black when I start Windows 7?
    http://Windows.Microsoft.com/en-us/Windows7/why-is-my-screen-black-when-i-start-Windows-7

    Important notes:
    Serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:
    http://Windows.Microsoft.com/en-us/Windows/back-up-registry#1TC=Windows-7

    When you use system restore to restore the computer to a previous state, the programs and updates that you have installed are removed.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • My Apple Watch has a black screen and will not load.  I have it odd, but I can't seem to pair again.  Any ideas?

    My Apple Watch appears to be dead.  The watch screen is black.  I have not matched the watch and we tried pair again, but the iPhone doesn't seem to acknowledge that she and I can't manually pair either.  Any ideas on what's going on?

    Charge the watch first. Instructions here > check your battery and load your Apple Watch - Apple Support

    If necessary, restart the Apple Watch.

    You should force reboot your device as a last resort, and only if it does not. To force the restart your Apple Watch, press in and hold the side button and the digital Crown for at least 10 seconds, and then release both buttons when you see the Apple logo.

    Try the assistance provided in this support article > If your Apple Watch does not load, or it will not turn on - Apple Support

    And here > set up your Apple Watch - Apple Support

    Apple Watch user's Guide will be useful > https://help.apple.com/watch/

  • SA40 has no startup options and does not load Windows

    Hello everyone

    I just met my first problems with my SA40-702. I got it about 2 years and everything was fine.

    The machine will not start is no longer in Windows. He's sitting there for hours with the screen of boot of windows XP, the bar of scroll nothing happens. I tried to access the CD/DVD drive to reinstall windows, but I can't boot from it!

    I have had so much try 'C' nothing happens.

    I tried "F12" nothing happens.

    I tried several copies of windows and the boot disks, but there is no success.

    I was in the BIOS and removed the password so it now reads "unregistered" I am unable to change the menu boot options. All that I can change it is time and the password.

    Any help on changing the options of startup, or as to why the machine will not let me choose the CD as boot device would be appreciated.

    Infact I can't choose ANY boot device.

    As far as windows goes all start attempts including safe mode etc do not work. They just plant rather then wait eternally for restart.

    I hope someone can help!

    Thank you
    Richard

    Hello Richard

    Usually, if the supervisor password is set, you can have this kind of problems and you will not be able to enter the BIOS settings. I put t really know if someone put the supervisor password and this way I can't help you.

    You are the owner of this device or using it in your business?

Maybe you are looking for