Make Enter work as Tab in Flex DataGrid

Hello!
I'm trying to make Enter work the same as Tab in a DataGrid -
commit changes to the edited cell and move focus to the next one to
the right, then next row, etc.
I've tried to use something like:
focusManager.getNextFocusManagerComponent(true).setFocus();
or
focusManager.moveFocus(FocusRequestDirection.FORWARD);
but I cannot seem to make it work in a DataGrid...
Any help would be much appreciated!
Thank you!
Sergey

in keyup event of the grid, try something like:
public static function focusCell(columnIndex:int,
dg:DataGrid) : void {
dg.scrollToIndex(dg.selectedIndex);
var focusedCell:Object = new Object();
focusedCell.rowIndex = dg.selectedIndex;
focusedCell.columnIndex = columnIndex ;
dg.editedItemPosition = focusedCell;
}

Similar Messages

  • Make enter key work as tab in apex

    Hi ,
    I have one form it contains 15 fields . to navigate from one field to next field i have to use enter key instead of TAB key.
    is there any solution.
    Thanks
    Sagar

    Hello Vikram,
    Big Fan of you, you've helped me a lot in my query hope you'll do so this time too
    need help here :make enter key work as tab in apex
    $(document).ready(function() { $('input').keydown( function(e) { var key = e.charCode ? e.charCode : e.keyCode ? e.keyCode : 0; if(key == 13) { e.preventDefault(); var inputs = $(this).closest('form').find(':input:visible'); inputs.eq( inputs.index(this)+ 1 ).focus(); } }); });
    This works fine on tabular forms if there are existing records but as soon as I hit add rows hitting enter does not move the cursor, can you help 

  • Do I need to enter my home ISP details into my iPAD to make it work properly .

    Do I need to enter my home ISP into my new iPad to make it work properly ?

    iPads are connected to computers with iTunes to synchronize music, pictures, books etc.
    You typically connect the ipad via wifi to the Internet so that you get the most out of it.
    You should get a wifi/router.

  • The e mail tab at the left top corner of the Notes page in iBooks is inactive in my Ipad3 WiFi retina display. How to make it work?

    The e-mail tab at the left top corner of the Notes page in iBooks is inactive in my Ipad3 WiFi retina display. How to make it work?

    Stephane,
    First off - great tutorial - will go through it tonight to make sure I have the same.
    I have this setup too, however I am connected to the internet fine, but iTunes airtunes sharing does not appear at all. Any suggestions as to why or what I can try?
    The Airport Express is setup to use Airtunes, and iTunes is too. When setting up the airport Exp, Airtunes worked but internet didnt. When i figured out the internet part, Airtunes stopped
    Thank you

  • In Lion, sometimes clicking on close button or tabs doesn't respond as if the buttons aren't there, i have to move the cursor away and move back to make them work again, anyone can help me?

    I'm not sure if anyone had run into this issue. Clicking the same place on the display sevral times will cause the click to stop working. For example, if i open safari and click on the Show Reading List button, it will work the first time i click it, but stop responding to my command as i click more, as if the button is not there, i have to move away the cursor and click somewhere else and move back to click the button to make it work again. And it happened everywhere, not just the show reading list button. The scrolling and moving are normal.
    In fact, I have my trackpad replaced in an apple store for this issue but it turned out this is not a hardware problem, and it is not only my problem. Ironically, i found the same issue on several of the demo Macs inside the apple store. So anyone can help me here? Thanks.

    Hi manni394, what version of Firefox are you running now?
    Firefox 22 has a new way of setting the default zoom level: it is based on your Windows font size setting. So, if you set Windows fonts to 125% (enlarged 25%), your Firefox pages also will be enlarged 25%. On pages that do not adjust their layout, you may get a horizontal scroll bar.
    To reduce the zoom on a page, hold Ctrl and tap the - key (the one on the numeric keypad or the one on the number row of the keyboard). The zoom should be reduced for each tap.
    If you want to globally adjust your zoom level to be lower, you can use either of these add-ons:
    * [https://addons.mozilla.org/firefox/addon/default-fullzoom-level/ Default FullZoom Level]
    * [https://addons.mozilla.org/firefox/addon/nosquint/ NoSquint]
    If you already have one of those add-ons, check the default/global zoom level in case it needs to be adjusted.

  • Is there a way of merging cells (not columns) in a Flex Datagrid?

    Hello everyone!
    I'm new to Flex and I have been searching for a solution to this problem for two days now, so any help would be really appreciated!
    I have a datagrid of, lets say x columns of fixed size, with the ability to add or remove rows dynamically. When adding a row o popup comes up and lets the user determine the positions(order) and widths of the desired cells of the row. So what I want to do is to be able to merge cells of the new Datagrid row appropriately, to satisfy the user's choices. Thats the general idea.
    Is there a way to have a Datagrid (or other similar component) with different cell number and widths for each row in Flex? I need a component similar to the Datagrid because I want to be able to select rows and process their data.
    Any idea would be very helpful as I'm pressed for time and I could use someone's experience to search in the right direction and not loose time.
    Thanks in advance!

    Thank you very much for your response. I finally did what I wanted without using a Datagrid. I used a Table Flex Component (which extends Flex Grid) that I found here:
    http://code.google.com/p/flex-table/#Demo
    I downloaded the source and changed some things to make it work as I need.

  • How to make ENTER key in internet explorer run the  BIP report?

    In BI publisher 11g, users wanted that after entering the values for the parameter, they hit the ENTER key ( on the keyboard)  and the report should run .
    In Mozilla firefox, when I hit ENTER key on the keyboard report runs fine... but in Internet explorer, it does not ( infact in internet explorer TAB key works)
    How to make ENTER key in internet explorer run the report?
    Thanks
    Ashish

    Perform the following steps and tell us if it  resolve this issue:
    1. In Internet Explorer, click Tools, and then click Internet Options.
    2. Click the Security tab.
    3. There are four security zones listed:
    * Internet
    * Local intranet
    * Trusted sites
    * Restricted sites
    Click the zone being used by P6, which is noted at the bottom right hand corner of the browser window when the P6 URL is being accessed.
    4. Under Security level for this zone, click Custom Level.
    5. Under Downloads, under Automatic prompting for file downloads, click Enable, and then click OK two times.
    6. The browser will need to be restarted for the change to take effect.
    Refer to the following Microsoft Knowledge base article for additional file download and active x controls which should also be enabled: http://support.microsoft.com/kb/883255

  • I bought the pack for students adobe creative cloud, already made the payment three days ago but when opening programs like photosop and illustrator puts the trial period has expired, how I can make them work?

    I bought the pack for students adobe creative cloud, already made the payment three days ago but when opening programs like photosop and illustrator puts the trial period has expired, how I can make them work?

    Hello Ibonedm,
    Sol 1. Please try sign out from Creative cloud Desktop App and quit it.
    1. Launch Creative Cloud application manager.
    2. Click the gear icon in the upper-right corner and select Preferences.
    3. In the Preferences menu, under General, click the Account tab.
    4. Click Sign Out from Creative Cloud.
    Then re-sign in and launch Photoshop CC 2014 and check.
    Sol 2. Check your Hosts file.
    Windows
    1. Choose Start > Run, type %systemroot% \system32\drivers\etc, and then press Enter.
    2. Locate Hosts file and move it to Desktop
    3. Right-click the hosts file and select Open. Select Notepad for the application to open the hosts file.
    4. Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
    5. Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
    6. Save and close the file and move it back to Etc folder.
    Mac OS
    1. Log in as an administrator to edit the hosts file in Mac OS.
    2. In a Finder window, choose Go > Go To Folder.
    3. Type /etc.
    4. Select the hosts file and move it on Desktop  open it.
    5. Back up the hosts file: Choose File > Save As, save the file as hosts.backup, and then click OK.
    6. Search the hosts file for entries that reference activate.adobe.com (for example, 127.0.0.1 activate.adobe.com) and delete these entries.
    7. Move Hosts file back to etc folder
    8. Save and close the file.
    Then try launching Photoshop CC 2014 or Illustrator CC 2014
    If prompt for License this software, please click on it and sign in with the Adobe ID and Password which you have used to purchase the subscription and check if you can activate and use the products.
    Please respond , if any issue.
    All the best
    Loveneesh.

  • Is there a way of working collaboratively on a flex project with a small project group?

    Is there a way of working collaboratively on a flex project with a small project group?
    I am part of a small group of developers who wish to work on a single flex project together. Is there a way to set up flex so that the project can be developed by multiple people at the same time. I have seen one thread out on the internet about working locally and then uploading to SVn but this is not an option in this case.
    Any ideas.
    Many thanks in advance
    Dave

    I would say that rushing into development without a source-control system will cost you more in the long-run. If your organisation is serious about developing software it then it needs to invest in the necesary infrastructure, so you should get that process kicked-off as soon as possible.
    In the interim you could set-up a source control server on one developer's machine or commandeer a spare machine to use as a temporary source control server. Just make sure you have it backed-up regularly. Or you could use one of the online source control services; many will support private repositories for a small fee.

  • How to disaply multiple column of a table in a single flex datagrid column

    Hi,
    I have a table in my database which has say 3 column (Firstname,LastName,Location). I wanted to display these 3 different values in a single column in flex datagrid.
    Could you please help me out in this
    Thanks,
    Pratik

    Generally, in such scenarios each column is made corresponding to the column in database only and not single column.
    However, we can setStyle of a datagrid to make it appear as if all three  columns have been populated in single.
    set verticalGridLines="false" for dataGrid. Further cosmetic changes can be made to realise the required look.
    In some cases, labelFunction of a datagridColumn also suffices the need.
    Tanu

  • Project 2013 - entering work hours at a monthly level

    Hi all, 
    Any help with this 'hopefully small' problem will be hugely appreciated. It's not so much a problem, but
    me still being new to Project - sorry! As a summary of what I am working with:
    I have entered a list of tasks (all set to Manually Scheduled).
    I have entered a number of resources into the Resource List. 
    I have also assigned relevant resources to the tasks. 
    Using the Task Usage view, I would now like to begin entering Work hours for the resources assigned to the
    tasks. We are planning at a monthly level, so I know how many hours each resource is expecting to be spending on each task over each month. 
    I have set the Timescale of my Task Usage screen to a monthly scale, thinking that this would allow me to
    enter total hours for each month. As an example, one of the resources assigned to a task is set for 15 hours of Work in April. It all seems to look OK on input. 
    My problem is however, I would like the Start and Finish fields to reflect this, and span over the months
    in which the Task's resources will be doing work. It doesn't seem to pick up the month accurately. Although I have entered the 15 hours in the column labelled April, the Start and Finish dates have come out as 30/04/14 and 30/05/14 respectively. I was hoping
    the Start and Finish times of that row to be 01/04/14 and 30/04/14 respectively, but they are a month out of line, and has show the work to be happening over May, not April. Is there y way I can change this?
    I hope this makes sense as a question? Any help at all would be brilliant. Please do let me know if I've
    missed any detail and you need some more info. I'll also continue looking through the forums to check if this has already been asked. 
    p.s. I tried to upload an annotated image, but my account needs to be verified first. Do I need to do anything to request this? I didn't receive any usual 'verification' links in MS's email on opening this account.
    Thanks very much, 
    ac18

    Hi John, Julie,
    Thank you both very much for the help! Yes good spot, I did post it on both forums (http://www.msofficeforums.com/project/21190-project-2013-entering-work-hours-monthly-level.html) - it's been years since I've used forums of any kind, and it's great to see
    experts being active across multiple sites! 
    I have given both suggestions a try, but unfortunately am still not quite there yet. 
    John, although your tip seems to work OK, I think I was hoping to find a way for the Start and Finish times to automatically span across the Work hours I have entered. If I was to then enter another 5 hours, but this time for March, the Start-Finish dates
    should auto update to be 01/03/14 - 30/04/14. I understand now that this may require me to be on an Automatically Scheduled project? 
    Julie, your screen shot on the msofficeforums.com website is exactly what I am looking to achieve! I would like to enter month-level Work data, and that looks to be exactly that. I did try entering a zero in the month immediately after the last month that
    had hours in it, but Project seemed to simply ignore it, with no visible change to the dates. 
    I have done some further investigating, and there does seem to be something different happening with my Project version (it's Proj Prof 2013). I have access to another computer with Project 2010 installed on it, and this doesn't seem to cause an issue. Note,
    I did need to have set the tasks as Auto Scheduled. 
    Essentially, if I try and exactly replicate Julie's example on both versions with the following steps, I get slightly different results:
    Tasks set to Auto-Scheduled. 
    Set Project Start Date to 01/01/14
    Enter some resources. 
    Switch to Task Usage view. 
    Set the Timescales on the right hand side to: Bottom tier=Months, Middle tier=Quarters. 
    Enter a task. 
    Assign resources to the task. At this point, by default 8 hours worth of work appears for each assigned resource. In 2010, these hours appear in the January 14 column. But on my 2013 laptop however, these hours appear under the December 2013 column. Strange?
    Anyway, in both cases I clear these default hours by entering zeros in their places.
    I now enter 15 hours under April 2014 for one of the resources on the task.
    In 2010, the Start and Finish dates of the assigned resource's row update to 01/04/14 - 30/04/14.
    In 2013 however, the Start and Finish dates update to 30/04/14 - 30/05/14. 
    I have a feeling that this discrepancy is perhaps at the heart of my problem? Is there a setting with the application that I am not making?
    Thanks again, 
    Arjun

  • How to make a working IMAGE ofperfect system? What program to use? NoRestor

    OK, being a PC guy (sigh) I am used to system restore.
    A few things. The other day for no reason iDVD stopped playing sound, for the life of me I could not fix it, garage band played fine....as well as Logic Express, but no for iDVD which leads me to this. I had to reinstall OS and all the software again.
    Is there something similar to system restore?
    Or, how does one make a working copy of his/her image when it is working great and then use that for the re-install.
    I assume from the tiger disc this is where you say use recover image or something like that. What programs (if there is no restore) are there for making a working image of your system? Will toast do it? I don't want a toast image but a DMG image.....after I install FC, iWork, iLife, Garage loops, where looking at 30GB at least, but will do it if it means the next time something goes wrong instead of reinstalling all I have to do is mount this recoverable image!
    Thanks again!

    Here's what I do. This is my backup routine - seriously.
    - Get Info on your main drive, copy down the # of bytes used. Divide by 1024 then by 1024 again. This gives you the number of MB used on your system
    - Open Disk Utility. Select FILE > New...> Blank Disk Image
    - from the size drop down, select Custom, then enter the MB number you calculated plus about 0.2.
    - Save as read/write, no encryption, to an external drive (firewire is more reliable in my experience but USB should work) - use a descriptive name so you know it's a backup. If your image is big, this will take a while as D.Util. writes a file the same size as your main drive.
    - Your new disk image will show up in Disk Utility. Verify the bytes available is more than the bytes on your main drive (highlight them in turn and look at the info at the bottom of the D.Util. window)
    - Now click the Restore button. Drag your main drive into the Source slot and the mounted disk image into the destination slot. No need to erase destination because you just overwrote those bytes creating the contiguous .DMG file.
    - Click Restore and go watch a movie.
    When D.U. is done your main drive will now be in a .dmg file. To get your drive back, boot from the install CD, select D.U. from the Utilities menu, restore from the image (click the Image button on the restore screen to mount and browse external drives). This time you put the mounted image file in the source and your main drive in the destination slot. Watch another movie.
    I suggest you test this between external drives first in case you think it's black magic. You can then boot from the second restored drive to verify that yes indeed it's a perfect clone and it's bootable (need FW drives since you can't boot from USB). If your restore doesn't work just remember your backup is on that .dmg file and don't give up. But I've never had a problem (knocking on my wooden head).
    This is my routine once a month. Between times I backup just changed files as needed. I also have a "clean" configuration of my laptop from the last time I wiped it and re-installed all my apps. That process took 2 days, but when I restore the clean it takes maybe an hour - much better than finding all my disks and serial numbers again, and wasting 2 days.
    Let us know if this is helpful,
    Ed
    iMacG5/2ghz, PBG4/1.67ghz   Mac OS X (10.4.7)   2g/2g RAM, 250g/80g HD, AE, Dvorak

  • All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again.

    First Issue:   All of my purchased apps (games) and apps such as Weight Watchers, Facebook, WeatherBug, Sports and Pinterest, Notes, Nook, etc.  are all locked up.  They simply flash, then nothing!  How can I fix this to make them work again?  If I have to delete the purchased apps, will they still be in iTunes, or will I have to re-purchase them? 
    Second Issue:   When I synced to my desktop (Windows XP)  All my photos loaded onto my iPad2.  I don't really want all 3000 + pics on my ipad!!  How do I get them off?  Next time I synced, they loaded again!  Now I have so many duplicates!  How do I get rid of the photos and prevent this from happening again?

    If none of your third-party apps are working, but the Apple built-in ones are ok, then try downloading any free app from the store (as that appears to reset something) and then re-try them - the free app can then be deleted. In terms of re-downloading apps then you can do so as long as they are still available in the store, and you use the same iTunes account as you originally used to buy them, then you should be able to re-download them for free : http://support.apple.com/kb/HT2519
    For synced photos, then with the iPad connected to and selected on the left-hand side of your computer's iTunes, then on the Photos tab on the right-hand side you can control which photos are synced to the iPad : http://support.apple.com/kb/HT4236 . If you don't want any photos to be synced then try selecting just an empty folder.

  • Import CSV/Excel data into Flex Datagrid using Java/JSP

    Hi,
    Is there any way we can import excel/csv data into flex datagrid component.
    I see that is been done using php in this site. http://code.google.com/p/as3xls/
    Any help would be appreciated.
    Thanks in advance

    You can store the list of data from the Excel sheet that you have read already into an ArrayList
    Then go through the JDBC tutorial, and learn how to insert a single record into the table.
    After you understand how to insert a single record, you can iterate through the ArrayList of data and insert them into the table in the database.
    If you know JDBC, see if you can use OR Mapping frameworks like Hibernate or iBatis, they make it very easy to manage database in Java.

  • Flex DataGrid with Dynamic Grouping

    Does anyone know of any examples of Flex datagrids that have
    grouping features comparable to the numerous grid components
    available in the ASP.NET world? I’m thinking of .NET
    component vendors such as Telerik, Infragistics, Component Art,
    DevExpress, etc.
    The way these .NET controls generally work is that you drag
    the header of a column to a bar above the grid, which causes the
    grid to redraw based on the new grouping you just specified.
    This is an example of a grid component that I am currently
    using:
    Telerik
    Grid
    Thank you,
    Mike Chabot

    The renderer's data property is the data for the entire row so you can get the column1 data and assign the combobox's dataprovider accordingly.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

Maybe you are looking for