Checked CheckBoxes moving around in DataGrid

I have a DataGrid and I use a CheckBox as a custom
ItemRenderer/ItemEditor. I make the CheckBox a custom renderer so I
can disable it in certain rows depending on the value of the data
in that row.
When I select a few check boxes in the DataGrid and then
scroll through the DataGrid other CheckBoxes that I did not check
will show a check. Even some of the disabled CheckBoxes will show a
check mark.
The data binding works properly no matter how screwed up the
rendering is. Only the CheckBoxes that I actually check show up as
checked in the data. It is just the rendering that is screwed up.
Here is my code from the DataGrid and my custom renderer:
<mx:DataGridColumn
id="distributeCB"
rendererIsEditor="true"
headerText="Distribute"
width="70"
dataField="distribute"
editorDataField="selected"
itemRenderer="com.avaya.im.decm.branches.CheckBoxItemRenderer"
/>
<?xml version="1.0" encoding="utf-8"?>
<mx:CheckBox
xmlns:mx="
http://www.adobe.com/2006/mxml"
enabled="{data.status==notDistributedStr}"
change="data.distribute=selected" >
<mx:Script>
<![CDATA[
// Must match BranchCoveragePathTemplates.NOT_DISTRIBUTEDD
public const notDistributedStr:String = "Not Distributed";
]]>
</mx:Script>
</mx:CheckBox>
Has anyone seen this and solved it?
Thanks.

The list components re-use the item renderers when you
scroll. This means that the checkbox state must be driven by the
dataProvider.
Your checkBox renderer must override the set Data method and
set the selected property based on a value in the dataProvider
item.
When the user clicks the checkbox, the renderer must updte
the dataProvider item with the value.
Here is a full example:
http://www.cflex.net/showfiledetails.cfm?ChannelID=1&Object=File&objectID=559
Tracy

Similar Messages

  • Muse form checkbox wiggling around, hard to check

    Funny things are happening with the checkbox at the bottom of this page. http://opbarks02.businesscatalyst.com/general.html The box is moving around on mouseover and is nearly impossible to check unless I click the text to the right, which makes no sense. Here's a link to a video showing the problem in action Dropbox - 2014-12-09 09.43.51.mov

    I was having the same issue.  When I added a new checkbox, the box and label were not lined up horizontally. So I moved the box down slightly (in relation to the label).  This caused the checkbox to jump when hovering over it. Whether I moved the checkbox or label (any amount) it jumped (wiggled) when hovering.  Even if you moved it back in the same position, it continued to move.  I finally figured out the solution.
    I was trying to line up the label with the checkbox.  Moving the checkbox separate from the label created the issue, if I added a new checkbox and left it alone, it would be fine. There were two problems. 
    First,the label text box "Leading" setting was at 200%.  This was adding more space at the top of the label box, requiring that I move the check box down (this leads to the second and the main cause).  The real cause of the checkbox jumping was that the checkbox was located below the dashed line of the checkbox element.  Anytime I moved the box lower than the element top dashed line, it would "jump" the equivalent amount.
    SOLUTIONS:
    1. If you want the label to line up with checkbox, select just the label box, click on text properties, change the "Leading" value to 100%.  The text can be located below the checkbox and still work fine but the main point is to make sure label box is below checkbox, when it is properly located at the top of the element (see #2).
    2. My main problem was that when you initially select the checkbox element (checkbox and label together), there is a dashed box surrounding them.  Anytime the the check box was not located at the very top of the element, it would "jump". To correct, select the element and see where it is located on the "Y" axis.  Now, select only the checkbox, insert the same value for "Y". Now the checkbox is at the top of the element and it does not "jump" or "wiggle". You can proceed to move the label box lower than the checkbox but for some reason, when you move it above it, it causes the issue.
    I hope this helps.  It worked for me.

  • InDesign CC (CS7) Scrolling and moving around so slow and choppy!!

    Adobe - please send out an update for CC!! Me and IT dept checked my Mac system requirements and all is fine there. Moving around on my pages (e.g. hand tool) and scrolling is so choppy, slow, and lags. And sometimes my art disappears and I'm looking at blank pages until I stop or let refresh for a bit.
    I also noticed that when I'm in "preview mode," CPUs go down and much less choppy and smoother moving around, but I can't work in preview mode. (e.g. I need hidden characters on for Indexing markers, and my frames and guides on).
    CS6 works MUCH smoother, but I can't save client files down if that's how they provide them to me. Please recommend any other suggestions or hopefully an update will help this issue.

    I also hop on the issue to give it some more attention.
    InDesign scolling lags badly, Tools are slow, Program crashes. Equal problems using Illustrator/Photoshop.
    My Mac is not the newest – but CS6 was running like a charm before.
    Some TechSpecs:
    OSX Mavericks (Clean Install)
    Core2Duo 2.4 GhZ
    8GB 1067MhZ DDR3 RAM
    OCZ Vertex SSD 256GB
    Currently using the Test-Period of CC on this machine to figure out how it works – but that should not be a problem as the Programs are the same. As a student I would prefer the current discount offer (the normal rate is al little too much for me right now). Please fix this problem, otherwise I can't buy it the next year. Btw. Subscription method is great compared to the old payment method.

  • Columns moving around

    For the past few months when I move the mouse over the spreadsheet, columns (with figures) move around, often out of sight, especially off to the left of the sheet.  This means that if I want to change a number in a particular cell, I often have to chase it around the screen!
    I have Numbers '09, version 2.3 (554) and OSX 10.8.5.  I am not sure of the timings but I wonder if this started when I upgraded the operating system to 10.8.5. All I know is that it used to behave well - I haven't always had this problem. 
    It is probably something simple that I have not done, but I cannot find anything that matches what is happening here.  As you will realise, I use the program in a very basic way, just for home use.
    I would be very grateful if someone could please tell me how to stop the spreadsheet moving around!
    Anne Mowlam

    Badunit - I am sorry I did not explain very well.
    All the columns move together, so I lose sight of one or several columns off to the side of the screen (or page).  I have spent a lot of time on this spreadsheet over the past few months and I realised today that I have had the problem for around the same time.  So I checked another sheet that was fairly similar and it seems that the problem is linked to the spreadsheet I am using a lot.  I matched the settings of the two but other than having a different font, they looked the same.  Nothing fancy is set up in either of them.
    The problem one seems to be extremely sensitive to any movement of the mouse.  A slight movement of the mouse can send it off 2 inches to the side.  There is no problem vertically.
    I know it does not solve the problem but I am now wondering if I should create a new spreadsheet and manually enter the figures in again.  Start with a clean slate.
    One last thought - I have the Apple wireless mouse but it is about 4 years old now, and used a lot.  Could it perhaps be wearing out and causing a problem with the task I am using it for most right now?
    Anne

  • Moving Around the Timeline

    Hi,
    Just a quick question about moving around the timeline. I'm using the up and down arrow keys to jump between cuts, but for some reason I can jump back beween cuts, but when clips are stepped up it doesn't seem to let me jump forward to the next edit.(I'm on the FCP keyboard config)
    Also, to jump forward the begining, or back to the end I'm supposed to use the home/end key. does anyone know what this is on a MacBook Pro keyboard?
    Thx

    I'm using the up and down arrow keys to jump between cuts, but for some reason I can jump back beween cuts, but when clips are stepped up it doesn't seem to let me jump forward to the next edit.
    I assume you're referring to when you have more than one track with clips on them. In that case, you need to be mindful of which tracks are targeted; that controls which tracks are subject to the Next/Previous Edit commands.
    For example:
    Any track that isn't targeted will be ignored by the Next/Previous Edit commands. Just click the header "button" to enable or disable a track. Track targeting affects many other operations in Premiere Pro--for example, adding edits or applying transitions. Check out this Help document page for some more info: Targeting tracks
    Not sure about the MBP keyboard question, but a Google search for such turned up this: Home and End Keys on the Macbook Pro

  • Help!  Links moving around

    I'd appreciate any help.
    On my website, created in muse, I created a page that has all the different "link" buttons (about, gallery, contact, etc.).
    I duplicated this page and then created content for each page.  I did this so that the "link" buttons would stay in the same place for each page. 
    The problem I am having is that on some of the pages (look at the blog page), all of the "link" buttons shift a little bit to the left.  I don't know why this is happening because each page is duplicate of the master.
    Does anyone have any suggestions?  It looks fine in preview, but when I publish it, it gets screwed up.
    please check out the site...
    www.jasonjohnson.com
    Thanks!
    Jason

    www.jasonjohnson.com
    It appears to have fixed itself. It looks like the links aren't moving around. Maybe it was a cache problem.
    Thanks. Let me know if they move around for you.
    Sent from my iPhone

  • Photoshop CS2 redraw garbage when moving around an image window on my G4 laptop

    Hi.I recently had to reinstall Photoshop CS2 onto my Mac Laptop 1.5 GHz PowerPC G4, running system 10.4.11, which required a new hard drive after the old one died. I am immediatly encountering a serious redraw/image repositioning problem in Photoshop that I have never seen before, and in Imageready as well. This does not happen in Macromedia Fireworks 8 however.
    I am zoomed into an image. Using the hand tool, or the scroll bars or the arrows, as soon as I move an image little messed up line graphic glitches appear and stay in place for the remainder or working with an image, and ultimately covers the image completely after moving around within it a number of times. you can see examples of this in these screenshots I've uploaded:
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage04.gif
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage03.gif
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage02.gif
    and the lines stay the same size and position even when zooming in. here's the same image w/ the same defects zoomed out and in:
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage01.gif
    http://pixeljam.com/temp/photoshopRedrawGarbage/moveGarbage01_zoomed.gif
    I've tried trashing & re-installing photoshop completely, tried running it before the updates needed from the original Photoshop application disk, and after. still the same problem.
    This occurs only when using the laptop on its own. When I hook it up to my Apple Studio Cinema Display, it works fine. The problem does not occur on the Cinema Display OR the laptop screen! it's very odd. Basically, the laptop is now something I cannot actually use away from my desk until this is resolved.
    Has anyone ever encountered this or possibly have any suggestions or advice? Thanks so much!
    -Rich
    And here are some more specs on my computer & hardware:
    Hardware Overview:
    Machine Name: PowerBook G4 12"
    Machine Model: PowerBook6,8
    CPU Type: PowerPC G4 (1.5)
    Number Of CPUs: 1
    CPU Speed: 1.5 GHz
    L2 Cache (per CPU): 512 KB
    Memory: 1.25 GB
    Bus Speed: 167 MHz
    Boot ROM Version: 4.9.0f0
    Serial Number: 4H5456AZRJ7
    Sudden Motion Sensor:
    State: Enabled
    Version: 1.0
    GeForce FX Go5200:
    Chipset Model: GeForce FX Go5200
    Type: Display
    Bus: AGP
    VRAM (Total): 64 MB
    Vendor: nVIDIA (0x10de)
    Device ID: 0x0329
    Revision ID: 0x00b1
    ROM Revision: 2122
    Displays:
    Color LCD:
    Display Type: LCD
    Resolution: 1024 x 768
    Depth: 16-bit Color
    Built-In: Yes
    Core Image: Supported
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    Cinema Display:
    Display Type: LCD
    Resolution: 1680 x 1050
    Depth: 32-bit Color
    Core Image: Supported
    Main Display: Yes
    Mirror: Off
    Online: Yes
    Quartz Extreme: Supported
    DIMM0/BUILT-IN:
    Size: 256 MB
    Type: Built-in
    Speed: Built-in
    Status: OK
    ATA Bus:
    MATSHITADVD-R UJ-845E:
    Capacity: 1.72 GB
    Model: MATSHITADVD-R UJ-845E
    Revision: DMP2
    Serial Number:
    Removable Media: Yes
    Detachable Drive: No
    BSD Name: disk5
    Protocol: ATAPI
    Unit Number: 0
    Socket Type: Internal
    OS9 Drivers: No
    S.M.A.R.T. status: Not Supported

    Hi. Thanks for your responses. There is definitely some incorrectness in the info I provided about the computer. for the Hard Drive, it's odd.. I copied and pasted that from my system profiler.. In actuality the Hard Drive is 74.53 GB. Not sure how that error occurred.
    Also I looked again at the computer's memory. I forgot the second larger 1GB memory card when I was copying and pasting from the system profiler. Sorry about that. I was in a but of a rush to get the question out.
    DIMM0/BUILT-IN:
    Size: 256 MB
    Type: Built-in
    Speed: Built-in
    Status: OK
    DIMM1/J31:
    Size: 1 GB
    Type: DDR SDRAM
    Speed: PC2700U-25330
    Status: OK
    Another thing I noticed about the problem I'm facing is that it leaves defects from mouse trails as well in the image window. None of the defects are lasting nor will they print. I close the file and they go away, if I zoom, they stay the same size. I'd agree, it sounds like a video card problem, but the reason I posted here is that only in photoshop and imageready do these problems occur. My guess, if it's the video card is that they are just programs that require more of the system. why my video card would be crapping out now, I have no idea. but I guess that's how it goes.
    But why would it work fine when hooked up to the apple cinema display? even on the laptop screen itself the problem is not present. only when the laptop is on its own.
    The computer has served me very well for almost 3 years without this problem, so that's why it's something that is not a normal problem that should be expected from this computer. I am grateful to have it & can't afford a new one.. this one is still sitting on my credit card balance. Thankfully I am under the applecare protection plan and will bring it in to the local Mac shop on monday and demonstrate the issue to them.
    Thanks for your replies.

  • Not happy with moving around keys on the timeline

    I just changed from Final Cut to Premiere CS5.0 and I really like it. Working on a Macbook Pro i5 2.3GHZ, Mac OSX 10.7 But I am not happy with moving around on the timeline. I was used to using the up and down arrows to move to next video edit point, marker point or audio edit point. I tried everything to change it, highlighted the track etc. It only works together with the FN key, which is a bit uncomfortable. And then it definetely is not going to any audio edit points (very annoying!!!) and marker points (have to use Q and W keys). It makes me doubting if continuing with Premiere or not. Its such an esencial and easy to use tool while editing in a normal fast editing rythm. When I change it in the customize keyboard menu, into a Custom keyboard or FCP keyboard, it would ignore my changes on the arrowkeys, although it recognizes any other changes I do. Is it so complicate to change this issue in Premiere to how it is set in FCP? Its such an obvious tool, using the arow keys to move around, cannot beleive that we have to live with such a limitation. Please!!!

    Its such an obvious tool, using the arow keys to move around, cannot beleive that we have to live with such a limitation. Please!!!
    You dont have to live with that at all if you are fixed only to what you have previously done.
    It makes me doubting if continuing with Premiere or not.
    There ya go!

  • I can't sync my ipod to itunes. It looks like it is going through all the steps to sync but nothing happens. The music I moved around is not going where it should

    I can't sync my ipod to itunes. It goes through all the steps to sync but it does not sync. The music I moved around does not go where I put it. It shows up in itunes (when changing music around) but does not change it on my ipod. Can someone help me?

    Sync Session Failed to Start iTouch iOS5: Apple Support Communities
    iphone could not be synced sync session failed to start...: Apple Support Communities
    and
    Can't connect to the iTunes Store

  • How to deal with moving around like in gta2?

    Hi there,
    I'm programming an game but i was wondering how to deal with moving around like in gta2.
    my game is also top-down with you(tha player) constantly in the middle of the screen. I know how to deal with button press etc.. but how to calculate how manny pixels the map has to move in the x and y axis...
    It's difficult to explain for me.. but hope the picture is clear..
    greetings

    I was afraid for this one already.. the picture is not clear:) thanx for your response so far.. I will try again.. with the game gta2 in mind:)
    see this screenie: http://www.vollversion.de/bilder/705_1_full.jpg
    My game looks the same as gta2 top down... with the character in the middle of the screen(the one firing the flame thwower )(the player). if i press up he walks towards the police car.. if i press left or right.. he only turns around(an combination of pressing up and left is also posible) thus the character walks in the direction he's facing.
    Now i would like to know how did they do this? how to programm such a movement? Because the character is standing constnatly in the middle of the screen the map has to move like in almost every game... how to calculate the x and y axis movement of the map?
    Please.. try agian.. hopefully the screenie will help.

  • Windows Crashes with JRE 1.4.2  When Moving around JDialog

    Hi!
    I work on a Java Applet/application that was originally written to run on java 1.1 -- only AWT that too. Recently I managed to convince my manager (and his manager and his manager) to migrate from the AWT framework on java 1.1 (Microsoft JVM that is ) to Swing/JFC on Sun Java 1.4.2 ... it took a lot of explaining, demostrating, begging, pleading etc., to get this project funded.
    Now, my app is all developed in JFC and ready for deployment and during testing found a potential show stopper -- When a Dialog Box or any moveable componant (internal windows etc) is moved around (holding down the mouse on the title bar of a dialog and dragging it around), the OS simply froze up ... nothing could be done other than power cycling the PC. Does anyone know if its a bug in JRE 1.4.2 and if it has been fixed?? This could potentially result in rolling back to AWT :(( .... and of course me looking like a fool in front of my manager!!
    ..... Please provide any suggestion other than moving to JRE 1.5.x beta. I've also noticed this happening in other Java Applications (Netbeans for example). So, I think this is a major bug the JRE 1.4.2.
    A million thanks and few Duke Dollars for anyone pointing me in the right direction.
    Note:
    1. This problem is not just with my app ... some other java apps that are installed on my workstation (like netbeans) behave the same when Moving Around dialog boxes.
    2. The behaviour is very random. But it has happened multiple times (and the very first time my manager run our app on jre 1.4.2)
    I would give a million dollars if I had them. But for now, please do with the million thanks and few duke dollars.

    Have you tried this on another machine?Yes ... actually this has happened on a few workstations here ... all of them are Pentium IV based dell workstations running Windows 2000.
    What exact version of 1.4.2 did you download?Java(TM) Plug-in: Version 1.4.2_04
    Using JRE version 1.4.2_04 Java HotSpot(TM) Client VM
    Have you searched the bug database? This one could be related to yours:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4673572
    This sounds similar but the difference is its not just the app that feezes up (so that you could do an alt+ctrl+del and kill it)..... the OS freezes up and you can move the mouse around still the system even queu e is not full and eventuall all I hear is the beeping. At this point I've to power cycle.
    Is there any way you could post the code or is it too big? Or, have you tried just creating a very small >application or applet that just shows one dialog, and if so, does that show the same problem? (What I'm >trying to get at here is - is it something in your code that is causing this, or something in the JRE, or >perhaps something to do with your machine's configuration/OS?)Unfortunately I cannot post the code ... its company rules and regulations. I've tried creating a very small app and it appears to work ok .... but randomly causes this freeze up. There is no definate pattern (except that it happens when you move around a JDialog or a JInternalFrame) . It could freeze up some time and work perfectly fine at other times. It has actually happened on other applications too (Netbeans, JEdit etc). That's why I suspect this might be a obscure bug in the JRE.
    I'll try to find a pattern so that it can be re-produced by everyone.
    Thanks for the help.

  • Why when I am converting a word doc into a PDF are some of the pages moving around. It appears to be

    Why when I am converting a 50 page word doc into a PDF using Acrobat XI Pro the pages are moving around.
    It appears to be happening in the places where the previous page is not a complete full page, just a half page.
    It is moving these pages up into the previous half page, but it is only moving them several lines into that page
    Which has totally distored my e-book.
    It is attaching all my pattern sheets at the very end of the file okay, etc.

    Also, to be more sure you get in the PDF what you are seeing in WORD, go to the print menu and select the Adobe PDF printer, then go back to editing. The is a feature of almost all word processors to reflow the document for best results with the attached printer. It is also one of the problems of using WORD forms that such form designers miss. If you don't like the reflow, many the Adobe PDF printer your default and always print to Acrobat. If you want it to go to a printer, then print from Acrobat to that printer and it should remain intact. The other way to avoid the reflow is to use a layout program like Publisher or InDesign.

  • IPad mini keeps clicking when open and green bars highlight and keep moving around the screen

    MY iPad mini when open keeps clicking and a green bar keeps moving around the screen highlighting things, how do I stop it?

    Go to Settings > General > Accessibility > Switch Control and turn this OFF.

  • Ipad mini screen keeps moving around and switching screens as though someone else is using it? any ideas what is going on?

    Ipad mini screen keeps moving around as though someone else is fiddling with it while I am using it. Any ideas what is goi g on?

    Hi Deeveeay,
    Try resetting the device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). When the Home screen redisplays, see if the issue has resolved itself.
    Cheers,
    GB

  • I created an album from photos taken off three different cameras. I am sorting the photos manually and when I close iPhoto, the photos move back either by date or by camera import time. How can I keep the photos from moving around?

    I created an album from photos taken off three different cameras. I am sorting the photos manually and when I close iPhoto, the photos move back either by date or by camera import time. How can I keep the photos from moving around?

    Don't tell us, tell them
    http://www.apple.com/feedback/macosx.html is the place for feature requests and feedback

Maybe you are looking for

  • How do i undo a lock code that was put on my ipod

    i have a ipod touch and my older brother borrowed it from me and when i got it back from him he had gone a put a password on it so i cant get into it, and i did ask him but he wont tell me at all so now a cant use my ipod!! HELP i go crazy without my

  • WWV_FLOW_THEME_MANAGER is invalid

    Found I couldn't run a calendar page in my application. The error logs pointed me to the package and then going to Shared Components>Templates>Template Utilization caused the following error: report error: ORA-04063: package body "FLOWS_020000.WWV_FL

  • How to run costing for materail 'X'

    Hi, my client is it is make to order business process, descreate manufacturing.          1. My client is having the productionn of finished product of 'x' in two plants- 0001 & 0002.          2. before 'X' there are 12 Processes of semi finished mate

  • Too Many Activations...why is this still a problem?

    So to make a long story short, I downloaded ADE onto my computer last week, everytime I open ADE from the same computer I get the message to authorize the computer which I have done, today I get the message that I have too many activations. Starting

  • Is the store down? Can't download my movies - error 8003 keeps appearing

    I keep receiving the error when re-starting a partially downloaded movie on my MacBook Pro. I have re-started my computer and quit iTunes but have had no luck in resolving the issues. Please help!