DataGrid with multiple check boxes works not when scroll vertically

Hello

I need a help in the coding of the flex, I'm a list of countries where several checkboxes in a datagrid control. Like anyone in a datagrid, I added the vertical scroll bar appears to show all the items in the datagrid with the boxes in front of each item. Now I select the item by checking the boxes I scroll in the datagrid my selection not get selected. I need my selected check box remains selected even I scroll to the bottom of the data grid upwards or downwards. Is there any solution for this? or is it the bug in flex. My Code is as follows

<? XML version = "1.0" encoding = "utf-8"? >

" < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "layout ="absolute"> "

< mx:ArrayCollection id = 'people' >

< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >
< mx:Object >
< Mx:name > CBA < / mx:name >
Senior Software Engineer < mx:title > < / mx:title >
< mx:description > to work as a developer SR. < / mx:description >
< / mx:Object >

< / mx:ArrayCollection >
< mx:Box height = "100%" width = "100%" showEffect = "Bland" styleName = "padBox" direction = "horizontal" verticalScrollPolicy = 'auto' >

< mx:DataGrid allowMultipleSelection = "true" id = "dg_disk" dataProvider = "{people}" height = "100%" width = "100%" selectedIndex = "0" x = "50" y = "50" >
< mx:columns >
< mx:DataGridColumn dataField = "name" id = "empname" headerText = "EmpName" / >
< mx:DataGridColumn dataField = "title" id = "title" headerText = "Title" / >
< mx:DataGridColumn dataField = "description" id = "desc" headerText = "Description" / >
< mx:DataGridColumn dataField = "selected" id = "selected" headerText = "Select" width = "150" >

< mx:itemRenderer >
< mx:Component >
< mx:HBox horizontalAlign = "center" >
< mx:CheckBox id = selected = "{data.titile"ch_box"}" / > "

< / mx:HBox >
< / mx:Component >
< / mx:itemRenderer >
< / mx:DataGridColumn >
< / mx:columns >

< / mx:DataGrid >

< / mx:Box >
< / mx:Application >

Add the data field selected in your Arraycollection collection.


    ABC
    Senior Software Engineer
    Working as a developer SR.
    0

And are due to changes in the control check box.


              
                   
                   
                        
                           
                          
                       

                   

                 

               

Thank you and best regards,
......................................................................................... ..
POOJA Kuber | [email protected] | www.infocepts.com

.......................................................................................... .

Tags: Flex

Similar Questions

  • Hi, I have a PDF form that has multiple check boxes. Some boxes have values (off, yes) that others have just (Yes). How can I get the value of "Off" to all of the other boxes as well. Any help is greatly appreciated.

    Hi, I have a PDF form that has multiple check boxes. Some boxes have values (off, yes) that others have just (Yes). How can I get the 'Off' the value assigned to all the other boxes as well. Any help is greatly appreciated.

    'Off' is the default value of any box when it is not checked. It can not

    be changed.

  • My Apple iPhone 5 touchscreen doesn't work not when the call comes. This problem is only in locked mode and mode unlocked when the call come it works normally. The problem is only locked Iphone and a just coming guard time. give soltn

    Hello can anyone give solution to my problem.

    my iPhone touch 5 works not when it is in locked mode and it's time all incoming call came the touch works do not. other times, the touch works normally wat is the problem. ?

    If you disturb not activated. Settings > do not disturb.

  • by clicking on the apple logo, menus and check boxes do not work on the first click

    Strange behavior from El Capitan OS X 10.11.1.

    When I click on the Apple Logo, menus, and check boxes, the action does not stick.

    To open the Apple Logo, the menu appears quickly but then folds upwards, as if I had not clicked.  Pretty well, click on the third, the menu opens.

    In the Finder, when I click on a menu like file, edit, or display, the menu appears, and then restores upward. Again, after three clicks in opens.

    In Safari, on a page Web, clicking on a checkbox does not stick. I need to click three times.  I when in Safari settings to clear the cache, I also checked the box to request the site "don't follow me." And even in the actual application of Safari, the box wouldn't fit.  I clicked it three times before the box stuck.

    Installation program:

    iMac 24 - early 2008

    4 GB

    El Capitan 10.11.1

    I changed the mouse, and this has solved the problem.

  • Help with the check box.

    Hello

    I have a question with the checkbox. I use Apex 4.0.
    I have 5 check boxes and using the Lovs I gave values for each check box.

    When I select the boxes to tick and submit, the values are inserted into a single column.
    Example of
    Consider the CB as checkbox

    CB1 1
    CB2 2
    CB3 3
    CB4 4
    CB5 5

    When I select CB1 CB4, CB5 databases it stores like 1:4:5 but, I need to be stored in format 10045. As if I select CB2, 3 5, then it should be kept as 02305

    The return value of the checkbox should be included as well as the other values not selected as 0s such as related in the above format.

    Can someone help me with this.


    Thank you
    Rik

    It should work now.

    Like I said before, you should use the new element (P2_X) in the process of page(process of CB_EXAMPLE line) as the concatenated numbers.
    So I changed the field reference column DB on the P2_NUMBER_2 and added to P2_X.
    Also, I changed P2_X to only textfield display(you can change to hidden, without security of checksum), since view only items will be unavailable in the process of the page.

  • the Encrypt contents to secure data check box is not available, how to fix?

    When you encrypt a folder, if you open the properties of the folder, and then clickAdvanced, check the Encrypt contents to secure data box is not available (it appears grayed out).

    Hi Panvis,

    If you want to encrypt a file or folder by using EFS (ENCRYPTING File System), but the Advanced button is not displayed on the Properties dialog box or the encrypt the contents of the box secure data is grayed out, it could be for one of the following reasons

    You don't have an edition of Windows that supports the EFS. You can use EFS to encrypt files on Windows vista edition full, professional and Enterprise editions.

    The drive that you want to encrypt files on is not formatted using the NTFS file system. EFS only works on computers that use the NTFS file system. If the file you want to encrypt is on a drive that uses the FAT or FAT32 file system, you must convert the drive to NTFS to display the Advanced button.

    For more information, see:convert a hard disk or partition to NTFS.

    This option is not available in Windows Vista Starter, family basic and Windows editions Home Premium, for more information see the link below: http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-encrypted-files-and-folders

    I hope this helps. Let us know the results.

    Thank you and best regards,

     

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Ports USB U2312HM works not when connected to USB 3

    I use a U2312HM to work, but when I plug the USB connector to a USB 3 port on my laptop, the USB 2 ports on the monitor are not recognized. Device Manager shows it as an unknown device and no drivers to install can be found. When I use a tool like slim or driveridentifier drivers it doesn't ID the device but shows not all compatible drivers.
    When I connect the monitor to the only USB 2 port, I have on my laptop that hub is USB monitor comes to life, but I'm already using this USB port for another purpose. Can anyone tell my where I can find the correct drivers?
    I'm running Windows 7 Pro SP1 on a Dell Latitude E6530, processor Intel Core i7 3770QM with 8GM ram.

    Kvwielink,

    Install this driver, restart when done, repeat the test.

    Intel USB 3.0 eXtensible Host Controller Driver
    https://Downloadcenter.Intel.com/Detail_Desc.aspx?DwnldID=21129

  • JavaScript to display the output if multiple check boxes are selected

    Hello

    My PDF form has a number of questions about this, some of which are multiselect.

    for example

    Identify the colors of our company logo (there are three)

    Blue

    Red

    Green

    Orange

    Yellow

    Purple

    If they choose the good ones (blue, red and yellow), the script should display a 'Correct' output, if they look for something else, it should show incorrect. I have worked out how to do it for a collection of radio button, but may not know of check boxes.

    Any help would be greatly appreciated.

    Concerning

    I don't know, but see if it works for you: http://acroscript.net/pdf/demos/Adobe_Forums_1993380.pdf

  • Multiple selection box is not showing is not the values passed to grid?

    ColdFusion 8

    I've inherited an application and I try to maintain and improve the it hit... clings today.

    I have a multiple selection box that does not what to expect.  The values come from a ColdFusion grid, which is based on a database query.

    Here is the code for the select - doesn't work - nothing is selected:

    < cfselect name = "USER_IDS" multiple = "true" = "below" selected = queryposition query "USER_IDS' = 'ActiveUsersPlus' disabled = value" "disabled #" = "G_USER_WORK_UNIT_SK" display = "G_USER_ID" > "

    < / cfselect >

    Now if I change the multiple selection of a single select as below - it takes the first element in the list of the fields (from the grill) and selects it in the drop-down menu.

    < cfselect name = "USER_IDS" multiple = "false" queryposition "below" selected = query "USER_IDS' = 'ActiveUsersPlus' disabled = value" "disabled #" = "G_USER_WORK_UNIT_SK" display = "G_USER_ID" > "

    < / cfselect >

    Or if I assign a variable like this and use the code of multiple selection it seems to work as well.

    testlist = '22,26'

    ...

    "< name cfselect ="USER_IDS" multiple ="true" ="under"queryposition selected =" "#testlist # ' = 'ActiveUsersPlus' disabled = value query" disabled # "="G_USER_WORK_UNIT_SK"display ="G_USER_ID">

    < / cfselect >

    I posted "User_IDs" value in the grid and in the part data entry screen to see the values of: 22,26

    to make sure it wasn't my problem.

    Grids and multiselects need something more?  Any advice on how to fix?

    Problem was the bit of javascript for the area of selection.  There is a function for an only select box but not a box selection - this fixed it:

    If (theForm.elements [i] .Guy == "select-multiple") {}

    selectBox var = theForm.elements [i];

    var sbname = selectBox.name;

    CPValue = String (eval ('record.data.)) ((' + sbname));

    var NotifyArray = cpvalue.split(',');

    for (var j = 0; j)< selectbox.length;="" j++)="">

    selectBox [j] .selected = false;

    }

    for (var j = 0; j)< selectbox.length;="" j++)="">

    sbvalue = selectBox [j] .value;

    for (var k = 0; k)< notifyarray.length;="">

    If (sbvalue is {NotifyArray [k])}

    selectBox [j] .selected = true;

    }

    }

    }

    }

  • Panels to Spry tab, tabs works not when you click on it

    I have a Web site with a tabs inside Panel. When you click the tab, they target is no longer content. I can't see where the error occurred. the site belongs to one of my students, and she put the index.html file in a folder and does not leave it in the directory a root, so I changed a few lines on the page to think where is the file, but I don't see where I need to make changes to get the tabs to work.

    Any help would be great. Thank you.

    Kavik wrote:

    Fine thank you. I took the quotes. I definitley left in when I made the change. I also changed the path to the css file.

    The stll tabs do not work in Explorer. I restarted to make sure it wasn't a cached page I saw. I use Explorer 8.

    Thanks again for you help. Other thoughts?

    June

    If the path is correct for the .js file tabs work. I tested myself.

    The above said path your index.html file is in a different folder in the folder root of your site and that the SpryTabbedPanels.js file is in the folder SpryAssets which lies directly in the folder root of your site. If that's where your files it will work. Of course I don't know what you've been hanging out and let down but do it is the best way to break all the links.

  • HP ProBook 440 G2, fingerprint reader works not when I upgraded the Win 7 Pro form to win 8.1 Pro

    My HP ProBook 440 G2, finger print reader does not when I upgraded the Win 7 Pro form to win 8.1 Pro.

    Device manager showing the biometric reader works correctly. But in fact, the finger printer reader is not reading or senseing. It seems that the part "dummy". Please help me to correctly configure step by step for that matter.

    Thank you

    Hillet

    Have you installed the software driver validity sensor fingerprint for Windows 8.1?

    http://h20564.www2.HP.com/hpsc/SWD/public/detail?sp4ts.Oid=6943811 & swItemId = ob_134806_1 & swEnvOid = 4158

    See page 64 in the manual Windows 8.1 according to the configuration of fingerprints of validity information

    http://h20565.www2.HP.com/hpsc/doc/public/display?sp4ts.Oid=6943810 & docid = emr_na-c04371762 & docLocale = en_US

  • Problems with the passage of the anchor when scrolling down

    Hello! I got problems with my lag anchors to the left when scrolling down. I tried all the solutions found in some other Adobe Forums, but none seems not to work with mine

    Here is my website

    Home

    I hope someone can help!

    That was the problem with me. Using the 100% width option, he showed me my background and text blocks are indeed too wide. Thank you!

  • Move horizontally when scroll vertically

    Is it posible to move object (image button) when scrolling horizontally vertically

    Hello

    Yes, it can be done. The values of the query must be registered to the direction left or right, not up and down.

    You can refer to the screenshot.

    Kind regards

    Neha

  • Micro works not when using Skype. Problem is not with the microphone, but with Skype. Ive tried

    When you use Skype, my internal microphone does not work - friend says that he can not hear the voice, but he can hear other sounds - music on youtube for example. Ive tested the microphone on Skype Echo - it wasn't working at all. I tested it on a voice recorder - MIC was working properly. Also when I just started to use this laptop (3 days ago), I spoke with a friend through Skype for about 3 hours, and then he couldn't hear me suddenly annymore. If something is wrong with Skype. Computer consultant suggested me to contact Skype support technicians.

    In Skype, open Tools-> Options-> Audio settings. There is more than one option available in the selection box for Microphone?

  • PALM TX will turn on and work with power cable plugged but not when disconnected?

    Hello all-

    I have a PALM TX, who bought in 2005. It worked fine but I changed my position and my last job stop supporting. That being said, I can use now and have recently it turned on and loaded schedule, etc. However, it does work when I plugged in the power cord. It works very well with the connection, no problems. That said, once disconnected from the power source it not light?

    I finished the soft reset several times. With reconnected to the power cord it works fine. However, it still not work with the power cord?

    I was reading online in various forums and it seems like it might be my power button?

    Does anyone else have this problem?

    Any ideas or help would be greatly appreciated that now I can use and really want to use it to its full capacity.

    Thank you!

    Joe

    The connections of welding of switch on the motherboard have been a little weak on the TX line.

    It seems to me that the battery is dead.  The TX can also turn on by pressing the front buttons.  Try to press one of them and see if it lights.

    There are several online sites for repair and PDA batteries.  TX peut battery be user servicable, although it is a little intimidating for a novice.  If you Google 'Palm TX battery replacement', many hits will occur as well as how to videos!

    WyreNut

Maybe you are looking for