Datagrid focus for cell

Hi,
how to set focus for perticuler cell or row in datagide
using flex 3 .Flex 2 Beta 1:
var __focusedCell:Object = new Object();
__focusedCell.itemIndex = 1;
__focusedCell.columnIndex = 2;
dg.setFocusedCell(__focusedCell,true);
Flex 2 Beta 2:
var __focusedCell:Object = new Object();
__focusedCell.rowIndex = 1;
__focusedCell.columnIndex = 2;
dg.setEditedItemPosition(__focusedCell);
but this functions
(dg.setFocusedCell,dg.setEditedItemPosition) are not working in
flex 3.0. please let me know if any body known this one

Perhaps you could try:
myGrid.selectedItem = -1;

Similar Messages

  • How to create a dashed line for cell border

    Hi,
    Is anyone know How to apply the style for cell border to get the dotted line in WinRT 
    In WPF i will get the dotted line for cell border using this way.
    <DrawingBrush Viewport="0,0,20,20" ViewportUnits="Absolute" TileMode="Tile">
    <DrawingBrush.Drawing>
    <DrawingGroup>
    <GeometryDrawing Brush="Black">
    <GeometryDrawing.Geometry>
    <GeometryGroup>
    <RectangleGeometry Rect="0,0,50,50" />
    <RectangleGeometry Rect="50,50,50,50" />
    </GeometryGroup>
    </GeometryDrawing.Geometry>
    </GeometryDrawing>
    </DrawingGroup>
    </DrawingBrush.Drawing>
    </DrawingBrush>
    Thanks in Advance,

    check this thread: 
    http://stackoverflow.com/questions/14673643/windows-store-apps-how-to-draw-a-dashed-line
    Fouad Roumieh

  • Problem with requesting focus for a list

    Hi there !
    What would be the right way to request focus for a list component ?
    I can use select() method to select some item from a list, but the list itself still hasn't got a focus until I click it.
    What I'd like to do is to be able to highlight some item from the list by using up and down arrow keys only, without clicking the list first =)

    The list is visible, but still this doesn't work.
    I think that the reason for this may be that I'm running this app on Nokia 9210 Communicator emulator. The emulator itself has had some not-so-minor problems...

  • App similar to stay focused for MacBook Air

    Is there an app similar to stay focused for MacBook Air?

    There is a way to see (in small window) short bits and parts of video movies, where they exist, in the iTunes application from the store page in there. My older Mac with earlier version of iTunes lets me browse Music, Movies, TV stores, from the sections on the iTunes application; years ago there was more direct content. They used to have a site page for some of those clips... I haven't looked lately.
    A screenshot of a video clip ^ from the iTunes Movie store, via iTunes in my Mac.
    If you browse the items for sale/rent, a few have a tiny triangle on them and this opens the little window where a preview runs. A few actual movies will have an option to see a preview or trailer-like video in a similar small window that opens up over the store screen.
    The older iTunes application in earlier Mac systems had various other features. In order to view movie trailer kinds of content streamed from the internet, you may have to look into a third party application or a web page.
    There may be a list of applications included with certain models of Mac portables
    and if you can find that name, that may be a talking point. The Store has lists of
    what software may be included in the most recent Macs in each products info.
    {There was no mention prior to your reply...
    that you did not want to make movies, btw.}
    Good luck & happy computing!
    edited.

  • After i designed a website for desk top how do i save the site for cell phone

    after i designed a website for desk top how do i save the site for cell phone use

    I don't think you can simply save a desktop design as a cell phone design.  While in Muse and in the site plan view for you website you should see three tabs near the top of the page.  If you click the "Phone" tab, you will get a pop-up dialog box asking which element you would like to copy over from your desktop site (if any).  You must then design the site for cell phone use.  You can use the same objects, pictures, etc. from your desktop site and Muse should automatically optimize those elements for phone use.  However, Muse does not automatically take a desktop design and create a cell phone design from it. 
    As I understand it, Muse uses user-agent detection to decide which site it wants to display to the user. You however, need to create the different versions of your site so that Muse can apply a specific design for the intended use.

  • HT4859 I keep getting a MSG that my device has not been backed up. Going thru manage iCloud I see ther are two backs (one for cell and iPad). They both say "incomplete ". If I delete them cloud backups will stop and I assume I will need to go back to the

    I keep getting a MSG that my device has not been backed up. Going thru manage iCloud I see ther are two backs (one for cell and iPad). They both say "incomplete ". If I delete them cloud backups will stop and I assume I will need to go back to the control.
    Has anyone else experienced this?

    After deleting the backups, go back to Settings>iCloud>Storage & Backup and make sure iCloud Backup is set to On (if not, turn it on).

  • Various cell renders for cells (not for columns only) in JTable

    Hello, I need to create a property list with some various values (strings, colors, booleans) just like in Netbeans do. I will use JTable component, but I found I cannot have various cell editors for cells. In JTable cell editors can be only changed for COLUMNS. What sould I do?
    ps - is there any JPropertyPanel avaiable for free on the web?

    I had a similar problem recently whilst working on a Swing GUI designer (you're not doing the same are you? ;o). Presuming you already know how to create TableCellEditors you can use a very simple hack to achieve your goal.
    Either extend the JTable class and override the getCellEditor(int row, int column) method, or override the same method when constructing the JTable (this is what I did). You would need to write something like:
    JTable myTable = new JTable(){
        public TableCellEditor getCellEditor(int row, int column) {
            TableModel model = getModel();
            Object data = model.getValueAt(row, column);
            return getDefaultEditor(data.getClass());
    }The getCellEditor method is called by JTable whenever a cell is to edited, normally it would check to see if the TableColumn has an editor associated with it and return that, if there wasn't one it would get the class of data for the column and return the default editor for that type of class, which is similar to what it does here except it returns the default editor for the class of an individual item of datum.
    Now all you need to do is associate your TableCellEditors with the class types they are to edit with the setDefaultEditor(Class c, TableCellEditor editor) method of JTable. If, for instance, you had an editor for the Color class you would have a line something like:
    myTable.setDefaultEditor(Color.class, new ColorCellEditor());Good luck, and I hope this helps.
    MS.

  • Request focus for message area

    Dear All,
    As my screen is long hence if an error comes we will require to scroll down so I have added a message area UI element and in do modify method of the view i have request focus to my message area but it is not working.  Below is the code which I have written:
    try{
              IWDMessageArea msgarea=(MessageArea)view.getElement("MessageArea");
            msgarea.requestFocus();
            catch(Exception e)
    Is there any other property or changes need to be made.
    Thankyou.
    Regards,
    Santosh

    Hi,
    In would say, create an input field at the top left corner of the screen. Set its width to zero and bind it to a context attribute say Va_ShowMesg of type string. Now insert a MessageArea UI element just below the inputfield to display all the erro message at the top left.
    Now if you request focus for the input field using the following code, the focus will automatically come to the Message Area as well.
    wdThis.wdGetAPI().requestFocus(wdContext.currentContextElement(),wdContext.getNodeInfo().getAttribute(
              wdContext.currentContextElement().VA__SHOW_MESG));
    You can call this code whenever you need to display message to user in the message area and shift focus of the screen to the message displayed.
    Regards,
    Tushar Sinha

  • Order of focus for swing components

    Hi All,
    I am in search of the way to definine the order of focus for swing components.
    I have a JPanel to which I can add multiple JButtons and JLabels. My problem is that when ever JButton comes, it should get the focus even though JLabel exists.
    If I drag the JButton on to JLabel then also it should be placed on top of the JLabel.
    Can any body help me to solve this problem.
    Thanks in advance,
    Regards,
    Roja.

    Hi,
    I am giving my sample code here.
              if (textButton != null) {
                   setUserTextPresentFlag(true);
                   textButton.setFocusPainted(false);
                   textButton.setContentAreaFilled(false);
                   textButton.setBorder(BorderFactory.createEmptyBorder(0, 0, 0, 0));
                   textButton.setBounds(
                        editPosX,
                        editPosX,
                        textButton.getWidth(),
                        textButton.getHeight());
                        textButton.setRequestFocusEnabled(true);
    //                    textButton.grabFocus();
                        textButton.requestFocus();
    System.out.println("requestFocus isDisplayable::"+userTextImageButton.isDisplayable()+" isEnabled "+userTextImageButton.isEnabled()+" isFocusPainted "+userTextImageButton.isFocusPainted()+" isVisible "+userTextImageButton.isVisible()+" userTextImageButton.hasFocus() "+userTextImageButton.hasFocus());
    I am getting the following values for the system.out.println values.
    isDisplayable::false isEnabled true isFocusPainted false isVisible true userTextImageButton.hasFocus() false
    I didn't find a method to set displayable to true.
    could u find where the problem is?
    Thanks in advance,
    roja.

  • Is there a charge for cell phone if from Verizon to Verizon?

    Is there a charge for cell phone if from Verizon to Verizon?

    Are you asking if there is a charge for a CALL between two Verizon Mobile phones? Depends on the plan
    If you are asking about a call to a Verizon landline from a Verizon Cell phone, then there is a charge, unless the number is part of your Friends and Family List

  • All focused for the movie The Amazing Spider-Man 2

    All focused for the movie The Amazing Spider-Man 2
    https://drive.google.com/forms/d/1yLXR8rBm1cHDSTRBL9EMbXGxMyjjYxfU804QLRPMIIw/viewform
    http://theamazingspiderman2now.wordpress.com/
    http://hdmedia.uservoice.com/knowledgebase/articles/352801-watch-the-amazing-spider-man-2-online-all-resource
    studios, at one point having James Cameron to direct, before being secured by Sony Pictures Entertainment. Sony hired comic

    Dolby Laboratories is potables the silver screen world with its new Dolby Atmos technology, the simply object-based cinema sound platform available in these times. Dolby Atmos unleashes the capability of sound in storytelling by outfitting sound experts
    the prominent exception to easily designation or feat medicine sounds anywhere in the movie theatre, not just where there happen to be speakers. The counting is what moviegoers venture avowed as the most engrossing and lifelike cinema sound experience ever.
    Introduced in April 2012, Dolby Atmos has been embraced by all the greatest Hollywood studios, six Doctrine Award® winning directors, and 12 Academy Award® winning sound mixers, among others. More than 450 Dolby Atmos screens have been installed or committed
    to in 40 countries with more than 150 exhibitors. More than 100 films from 10 selection countries—representing a adequate range of genres from order thrillers and spry fa to spirits and horror—have been or are scheduled to be released with Dolby Atmos sound
    since the first film debuted in June 2012.
    Dolby Atmos has customary detailed skill rewards from both the Hollywood Post Alliance and the Cinema Audio Federation. As the inventors of the only object-based audio scheme old in the cinema today, Dolby is efficacious in all respects with the Society of
    Manner Picture and Compel Engineers in driving adoption of standards for object-based audio.

  • Focus on cell in alv

    Hi
    i use class CL_GUI_ALV_GRID to show alv.
    i want to Sets Focus on Cell after event
    How can i do it?
    Thanks
    Have a nice day

    chk the method
    CL_GUI_ALV_GRID > ->set_current_cell_via_id
    CALL METHOD <ref.var. to CL_GUI_ALV_GRID > ->set_current_cell_via_id
       EXPORTING
          IS_ROW_ID    =   <structure of type LVC_S_ROW > ( obsolete )
          IS_COLUMN_ID =   <structure of type LVC_S_COL >
          IS_ROW_NO    =   <structure of type LVC_S_ROID >.
    Parameter                  Meaning
    IS_COLUMN_ID         Structure with column field names
    IS_ROW_NO           Structure with row index
    http://help.sap.com/saphelp_47x200/helpdata/en/99/49b844d61911d2b469006094192fe3/frameset.htm
    Message was edited by:
            Chandrasekhar Jagarlamudi

  • Monitoring tool for performance focused for Ebusiness.

    Hi partners,
    We are going to evaluate some "monitoring" performance tools for an Ebusiness environment, so I would like to know if you can give any recommendations about any tool focused for Ebusiness environment.
    Any advice will be really appreciated.
    Thanks in advance.
    Francisco Mtz.

    &#20108;&#12289;     The following includes SGAgent for Oracle E-Business Suite Enterprise Edition monitor KPIs click here &#12290;
    1.     SGAgent can monitor all KPIs those Oracle standard edition includes&#65307;
    2.     SGAgent can monitor more Oracle Instances &#12289;more type database(Like DB2 MS SQL Server Sybase)&#12289;more Oracle E-Business Suite Instances at the same time and the same screen&#65307;
    3.     Oracle EBS Patch Monitor&#65288;KPI&#65306;Username&#12289;Patch Name&#12289;Patch type&#12289;language&#12289;Patch created date&#12289;last updated date&#65289;&#65307;
    4.     Oracle EBS Profile Parameters monitor&#65288;KPI&#65306;Application username who updated the profile last&#12289;Last updated date&#12289;Application name&#12289;Profile Parameter name&#12289;Profile Parameter description&#12289;Language&#12289;Profile Value&#12289;Level ID&#12289;SQL Validation&#12289;Hierarchy type&#12289;Write allowed flag&#12289;Read allowed flag&#12289;last update by userid&#65289;&#65307;
    5.     Oracle EBS Application users login monitor&#65288;KPI&#65306;Login ID&#12289;Oracle application login username&#12289;Login user description&#12289;Application users email address&#12289;Login start time&#12289;Login End time&#12289;login type&#12289;Operation system Session ID&#65289;&#65307;Operation: Can kill user directly&#12290;
    6.     Oracle EBS Application users Activity&#65288;KPI&#65306;Program ID&#12289;Program type&#65288;Forms or Concurrent Programs&#65289;&#12289;Program name&#12289;Running Program Username&#12289;user description&#12289;Program start time&#12289;Program end time&#12289;cost time (Second)&#12289;Application User Email Address&#65289;&#65307; Operation:Kill the running program&#65288;e.g. Forms ,Concurrent Programs, Concurrent Requests&#65289;&#12290;
    7.     Oracle EBS Discoverer Reports Top 10 running times per month&#65288;KPI&#65306;Instance name&#12289;month&#12289;Discoverer Report Name&#12289;Running times&#65289;;
    8.     Oracle EBS Discoverer Reports Activity &#65288;KPI&#65306;SID&#65292;Serial#&#12289;Execute times&#12289;Oracle username&#12289;machine&#12289;os username&#12289;Program type&#12289;SQL&#12289;CPU Time &#12289;PGA-ALLOCATED&#12289;PGA USED&#12289;PGA Freeable&#65289;&#65307; Operation&#65306;kill the running Discoverer Reports directly&#12290;
    9.     Online realtime Suport&#65306;SGAgent user can press the button in the top menu&#65292;chat with TechWiz Engineers directly using text words&#12290;
    10.     Store and analyze Historical data
    11.     Remote monitor &#65306;SGAgent can send its output by FTP to a public IP. Then the clients can monitor his organization from the web with any device that support web browsing.
    Add my MSN&#65307;[email protected]

  • Since upgrading to Mavericks from time to time the focus for the cursor is misplaced when scrolling

    Since upgrading to Mavericks, from time to time the focus for scrolling is misplaced. If I click into the list of emails, the mail message in preview scrolls. If I click into the mailboxes column, the list of emails in my inbox scrolls. Have anyone else seen this issue?

    Since upgrading to Mavericks, from time to time the focus for scrolling is misplaced. If I click into the list of emails, the mail message in preview scrolls. If I click into the mailboxes column, the list of emails in my inbox scrolls. Have anyone else seen this issue?

  • Is the Charge missing a hole for cell phone straps? (yes, as in Hello Kitty cell phone straps)

    is the Charge missing a hole for cell phone straps? (yes, as in Hello Kitty cell phone straps)
    my previous phone, the Fascinate, had a hole for this purpose, but for some reason I cannot
    find it on the Charge.
    The VZW rep told me that the Charge is a phone made for Americans in the US market, so
    Samsung left out the hole.... seriously? 

    Side Views
    1. Strap holder: Attach an optional carrying strap (not
    included).
    2.
    Volume Key
    : From the Home screen, press to adjust Master
    Volume. During calls or music playback, press to adjust
    volume. Press to mute the ringtone of an incoming call.
    3.
    USB Power/Accessory Port
    : Connect a USB cable for
    charging or to sync music and files.
    4.
    Power/Lock Key
    : Press and hold to turn the phone on or off.
    Press to lock the phone, or to wake the screen for
    unlocking.
    5.
    HDMI Port
    : Connect an HDMI cable (sold separately), to
    view or listen to content from your phone on another
    device, such as a TV.
    1
    2
    3
    4
    5

Maybe you are looking for

  • Error executing MS sql server procedure

    I am getting an error below while executing a SQL server procedure from SOA composite. My jdeveloper and Soa Suite version is 11.1.1.4. I am using “Oracle’s MS SQL Server Driver (Type 4) Version: 7.0 and later” driver. The SQL Server version is 2005.

  • Why is a simple Java applet not diplaying properly in its window bounds?

    Hello, I am having difficulty displaying applets on the Mac. Here is one of the simplest applets copied exactly from the Sun java website. This applet runs fine on PCs, unfortunately, on my sister's Mac, it does not display properly. It looks like th

  • Error code a121e1 trying to download Creative Cloud on Windows7 64bit

    Error code a121e1 trying to download Creative Cloud on Windows7 64bit

  • Macbook Pro constantly freezing after installing 10.9.4

    So as the title says ever since I installed 10.9.4 my MacBook pro keeps freezing every few seconds.  When I boot it up in safe mode the screen flickers like crazy.  I also tried booting with the keys command alt p r and that didn't work either.  I ju

  • MPLS LDP and LSPs

    Sorry about this, but have the MPLS and VPN Cisco press book and am just confused (in thoery) about one point. Will setup a MPLS frame implementation for the first time this evening :) Here you go...... You have LSPs witch determined the entire MPLS