How to make a grid cell uneditable without messing up tabbing

I'm using an AdvancedDataGrid in ActionScript 3/Flex 4. The grid has 5 columns: Caller Intent, Labels, Strategy, Confirmation Mode, and Confirmation Promptlet. All columns are editable except for Labels. However, if you change the Confirmation Mode value to NEVER, the next column Confirmation Promptlet becomes uneditable and is set with the value 'n/a' (this is the desired functionality).
Unfortunately, the image is not very clear at all. I changes the Confirmation Mode value to NEVER in the second row. This is what happens when I start tabbing out of the Confirmation Mode cell:
1st Tab: Confirmation Promptlet populated with 'n/a'. I don't see anything in focus.
2nd Tab: The 5th tab from the left in the view stack (dark grey) is in focus.
3rd Tab: I don't see anything in focus.
4th Tab: The button with the green '+' (top left) is in focus. 5th Tab: The grid itself is in focus.
6th Tab: Finally I get to the Caller Intent cell of the next row (when this image was captured)
I tried setting tabEnabled="false" and tabFocusEnabled="false" for the button. I set only tabFocusEnabled="false" for the AdvancedDataGrid. But then the Tab focus starts moving to the components in the upper right panel and lower right panel.
I need to accomplish 2 things:
1. Have tabbing be contained in the grid, in the upper right panel, and in the lower right panel. Meaning tabbing should not cross from one area to another.
2. Have an uneditable field not mess up the normal tabbing behaviour.
Thank you.
Bonnie

Hi there!
I'm trying to force the columnIndex and rowIndex values of my grid's editedItemPosition object with no success .
Here is my code:
                                protected function adgGrid_itemEditBegin( event:AdvancedDataGridEvent ):void {
                                    if ( clickCount <= 1 || adg_mappedTagsList.selectedItems.length > 1 ) {
                                        event.preventDefault();
                                    } else {
                                        // If user is trying to edit promptlet field but mode has been set to NEVER, make promptlet field non-editable.
                                        if ( event.columnIndex == 4 && adg_mappedTagsList.selectedItem[ "confirmationMode" ] == 2 ) {
                                            adg_mappedTagsList.editedItemPosition.columnIndex = 0;
                                            adg_mappedTagsList.editedItemPosition.rowIndex = adg_mappedTagsList.selectedIndex + 1;
                                            event.preventDefault();
I stepped through the debugger and I do not see the values being changed:
adg_mappedTagsList.editedItemPosition = Object (@a3ae8e1)
    columnIndex = 4
    rowIndex = 2
adg_mappedTagsList.selectedIndex = 2
In this scenario, the values should be 0 for columnIndex and 3 for rowIndex.  However, as I stepped over the two assignment statements, I do see the address of the editedItemPosition object being changed.
What am I missing here?
Thanks!
Bonnie

Similar Messages

  • How to make alv grid cell as image cell

    Dear All,
                  I want to create one alv report in abap.  Acutually i  need a output in report like machine number , machine name, model,
    finally i want to display the images in the last colum( cell )  corresponding to the machines for each row.  Machine no,name,model ..etc.. i fetched from the custom table. I maintaned the  machines images in se78.  Can any one help for this requirment..
    Thanks and Regards,
      Kavin

    in my opinion you will not be able to do that in a ALV grid
    the only way to do it is to build a HTML content and to display it into HTML viewer
    then the images should be loaded as mime objects (SMW0) and not as text elements (SE78)

  • How to make valuation type field not changeable  in delivery tab of PO

    Hai friends,
                    I am new to badis..please guide me to solve the issue...
    how to make valuation type field not changeable  in delivery tab of PO...
    The field shd be in display mode only ...actually...there  a badi has been used before
    to get valuation type from a ztable depending on material and plant...
    Now ..my requirement is that the user shd not change the default value brought from the ztable...

    Hi SRINIVAS,
    You can achieve this from BADI only if BADI is allows you to do this. You cannot achieve everything from a BADI. Check if there is any expoting field in the methods that can be ticked for making the field in display mode. If not then you cannot achieve this from BADI.
    The field you want to default to display is a standard or zfield. If z, then you can changethe attribute of the screen field to Output only.
    Regards,
    Manish

  • How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110

    hi
    How to make field ( F110V-LIST1 ) mandatatory in free selection tab of F110
    regards,
    Billa

    Hi,
    Standard transaction variant is not possible ,i dont want to use as zf110.
    Regards,
    Billa
    Edited by: Billa Mahe on Sep 3, 2010 3:14 PM

  • How to make a table in java without using GUI??

    how can i make a table in java without usinf GUI, just simple codes??
    NAME ID NUMBER ADDRESS STATUS

    If you simply want to store them internally, you don't want to use a table.
    Make a simple class with properties id, name, number, address, status. Then create a Hashtable that indexes instances of the class by id or some other property.

  • How to make a grid column a linked column?

    Is there any way to make a grid column a linked column?
    I have a cardcode column in a grid, which I want to link with BP master link object.  If I try to do it the same way I do for matrix, it gives me 'specific cast not valid' error; whereas the same property works fine with matrix.
    help will be appreciated...
    Binita

    You need to do the following:
    string colUid = "yourUid";
    oGrid.Columns.Item(colUid).Type = BoGridColumnType.gct_EditText;
    EditTextColumn col = (EditTextColumn)oGrid.Columns.Item(colUid)
    col.LinkedObjectType = "2"; //2 = Buisness Partner (The id behind the BoLinkeObjectType as a string)

  • How to Make Fonts Bigger in Safari Menu Bar and Tabs

    Hello,
    I just set up a new IMAC 27" for my mom and she cannot read the menu bars and tabs in Safari. I know how to make the text of the webpage itself bigger, but is there any way to make the text in the menu bars and tabs bigger.  Someone sugggested Opera browser. Would that be a better option?
    Thanks
    John

    Welcome!
    I had the same issue with my 27-inch--here's how I fixed it:
    1) Go to System Preferences > Displays and select the "Displays" tab
    2) For "Resolution" there are two buttons: "Best for Display" and "Scaled." Select "Scaled."
    3) Now you should see a list of resolutions. The default is probably 2560x1440. Change it to 1920x1080.
    I don't have great eyes but this setting makes it easy for me to see. It makes all menu bars including Safari about 3/10ths inch wide and the menu lettering close to 1/4-inch tall.

  • WPF: how to make the grid column edtiable base on cell content?

    our WPF application uses DataGrid.
    One grid column we need base on cell has value or not to decide if make the cell editable.
    If cell is empty, not editable. If cell is not empty, make it editable.
    The cell is bind to a class. We try to make property to bind to the
    DataGridTextColumn
    IsReadOnly property
    public bool IsSampleIdFieldReadOnly { get { return string.IsNullOrEmpty(_sampleId); } }
    DataGridTextColumn MinWidth="120"
    Binding="{Binding SampleId}"
    IsReadOnly="{Binding IsSampleIdFieldReadOnly}"
    Header="Sample ID" />
    However all cells in the column are editable.
    how to achieve that? Thx!
    JaneC

    I guess that will apply to the whole column rather than specific cells and you need a  cellstyle.
    You could try something like:
    <DataGridTextColumn Binding="{Binding SampleId}" Header="Sample Id">
    <DataGridTextColumn.CellStyle>
    <Style TargetType="DataGridCell">
    <Style.Triggers>
    <DataTrigger Binding="{Binding IsSampleIdFieldReadOnly}" Value="true">
    <Setter Property="IsReadOnly" Value="true" />
    </DataTrigger>
    </Style.Triggers>
    I'm afraid I don't have enough time to test it as I'm off out drinking shortly.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • JavaFX2.2 TableView:How to make a table cell be edited without mouse click?

    Hi,
    I've encounter a problem with editable table cells. I'm using the TableView in my project just as the Tutorial on Oracle (http://docs.oracle.com/javafx/2/ui_controls/table-view.htm).
    According to it, I use the setCellFactory method to reimplement the table cell as a text field with the help of the TextFieldTableCell class. However, I found the steps is a little complex to get to the point where the cell can be edited:
    1.Let the table cell be selected by using direction key.
    2.Press “Enter” to converts the cell to a text filed so that it is ready to be edited.
    3.Clicking in the text field allows the contents to be edited
    The problem is step 3, that you must use the mouse to click before you can input data in this table cell.
    So, is there a solution to avoid step 3? That is the text field allows the data inputting when you just press “Enter”(step 2).
    By the way, English is not my native language. Hope I have made myself clear.

    Hi,
    You need to pass the focus to the text field when the startEditing event occurs. In the class that extends TableCell you use for cellFactory:
    public void startEdit() {
    super.startEdit();
    createTextField();
    setText(null);
    setGraphic(textField);
    * put focus on the textfield so user can directly typed on it
    Runnable r = new Runnable() {
    @Override
    public void run() {
    getGraphic().requestFocus();
    Platform.runLater(r);
    }

  • How to make the words show up without me prompting by tapping space bar?

    Now that I have gotten all the text on the front page to appearall together and not one line at a time, each line prompted by me hitting the Space bar, how do I get the words to appear all on their own without me tapping the space bar? This will be exported as a video to Youtube so the viewer won't be able to tap the space bar to make the video progress.
    Isn't there something called ”automatic”? I want to just click the “Play” button and have the text just appar all on its own.
    Mireille, thanks for telling me about that Build feature. It worked nicely. I chose “iris.”
    ~ Lorna in Southern California

    Oh now I see! It was in that hidden drawer, and to see that drawer you had to click Other Options. Ok. So now I set it to Automatic! Merci, Mereille. ~Lorna

  • How to make a custom cell to put in title list?

    Hi,
    I want to retrieve data from xml and make each item look like
    a cell in the tile list. How can i do that in flex?
    Is tile list the recommend control for the job?
    Thanks,
    Nuno

    "sinosoidal" <[email protected]> wrote in
    message
    news:gcfhrp$8pp$[email protected]..
    > Hi,
    >
    > I want to retrieve data from xml and make each item look
    like a cell in
    > the tile list. How can i do that in flex?
    >
    > Is tile list the recommend control for the job?
    There are some good itemrenderer resources listed with Q2
    http://www.magnoliamultimedia.com/flex_examples/Amys_Flex_FAQ.pdf

  • How to make SAP Instance on Windows without SAPinst (manually)

    Dear colleagues!
    On unix platform It's usually more convenient for me to make an additional sap instance by manually copying of sapmnt, usr and a couple of others folders, making links, editing /etc/services. It's faster than running SAPINST (for me).
    So the question is - how and what should I perform for making an instance, central instance as well on WINDOWS platform.
    with best regards,
    Vladimir

    Hi,
    It is not recommended way to install SAP System without following Standard Installation Method. Please read concerned Official SAP Installation Guide and follow the standard procedure without inviting more complexities and headache.
    Regards,
    Bhavik G. Shroff

  • ALV GRID CELL EDIT without object use

    Hi !
    I'm not using grid object, I'm using the standard
    function.
    I want to edit one cell only in the grid,
    again - I'm not using the alv grid object.
    how can I change the style of one cell.
    thank you
      Adi

    Hi,
    You can edit one column as below.But I am not sure about editing a cell.
      DATA: line_fieldcat TYPE slis_fieldcat_alv.
    line_fieldcat-fieldname = 'WS_CHAR'.
      line_fieldcat-tabname   = 'I_DATA'.
      line_fieldcat-seltext_l = 'Test Character Field'.
      line_fieldcat-datatype  = 'CHAR'.
      line_fieldcat-outputlen = '15'.    
      line_fieldcat-edit      = 'X'.     
      APPEND line_fieldcat TO i_fieldcat. " column.

  • How to make an Xcode full uninstall without tools ( CD/DVD)

    Hello,
    I have a mac mini late 2012. I dont have OSX Mountain Lion CD or DVD, because my computer has not CD/DVD disk player threfore the OSx comes preinstalled. As i woul like to become an IOS app developer, i have downloaded XCODE 4.6 from AppStore to learn to use it. As you can see i dont have any disk with this software.
    After xcode was intalled i started to try to practice with some testing projects. as you can imagine, i have received a lot of error signals and warnings telling about missing objects, names, etc. I had erased those projects by hand, just deleting project folders without using the organizer to erase the projects.
    After all of this actions, i have tried to start new clean projects in xcode, however, i keep receiving the same errors in new projects, and when i click over any warning simbol it shows instances of the deleted wrong project. Also if you open simulator you can see in there the old deted wrong project icon.
    I have searching with no succes try to "clean" everything created through xcode in the past, however i cant found any way to do that, so i thougth to try to uninstall xcode and after this, try to install it again but clean. I ereased the application and re install it, but same errors are appearing yet. Then i investigate trough the internet about a full uninstall , and all of i have found talks about to use a tools disk to run a command to "erase" xcode complete.
    I also have tried with a comman that sows me errors, this is a copied and pasted text from my terminal:
    Last login: Wed Feb 20 20:08:13 on console
    Mac-mini-de-Fernando:~ fernando$ sudo /Developer/Library/uninstall-devtools –mode=all
    Password:
    sudo: /Developer/Library/uninstall-devtools: command not found
    Mac-mini-de-Fernando:~ fernando$
    As you can see, i dont have any way to run the unisntall tool. After all of this post, i need to make 2 questions, i hope you can help, i getting crazy !!
    1.-Any idea to clean XCODE configuration?
    2.-If not, Any idea to make a full uninstall without osx disks?
    Thanks a lot

    That command you're using is outdated, sorry.
    Xcode latest version is 4.6 - you 'uninstall' just like an other app now...drag it to the trash, then empty.
    In Xocde/Organizer/Documentation, type in: movieplayer
    ...see if you can download that sample app and then see if it runs as-is for you.

  • How to make iTunes add a folder without creating duplicates?

    Hello,
    I have a PC running windows 7.  I keep all my music in one folder on a NAS device.  I am getting more and more fed up with Windows Media Player (WMP) and I would like to move to iTunes.  This move, however, appears to be as painful as using WMP.  Please help if you can.  I have used iTunes before so I have an existing music and video library and I also have a number of playlists both with music and videos.  I cannot afford to start from sratch, i.e., to remove and readd everything; it would be too costly.  I have two major problems with iTunes:
    1. When I try to add files that already exist in the iTunes library iTunes happily adds these file and creates duplicates.  I cannot find a knob that would prevent iTunes from creating these duplicates and simply ignore any found files if they are already present in the library.  All such duplicates point to the same file on disk.  I am really scratching my head over this as I would think that this would be a very basic thing to do/allow, yet it does not seem to be possible.  Is it me missing something simple here or is it Apple telling me that this is how it must be...???
    All I want to do is to add the top folder that contains all my music without having to deal with thousands of duplicates.  I cannot add the files one-by-one because there are too many of new files there and if I remove all the files and re-add them all my lists will likely become empty (tried it on one list and, as expected, the list got emptied once I removed the files that were in the list).  Hmm, is this asking for too much?  Please help.
    2. I do not seem to see a way to tell iTunes to monitor for new media files.  WMP allows you to specify folders to monitor.  You add a file to the folder and the file gets added to the library.  What is wrong or bad with this concept (other that it would not work if duplicates were handled)?  Why does iTunes not seem to support that?
    Thank you,
    Peter

    tt2, thank you for your reply.  Let me restate your answers the way I see them.
    Problem #1:  You said that "iTunes only creates duplicates if you ask it to...".  Well  my goal is not to create duplicates but to avoid them and the problem with iTunes is that it does not seem to offer an easy way to do this.   Do not get me wrong, I like iTunes but let's call black black and white white.  So the way I read your answer is: no iTunes does not support a way to add the same folder twice without creating duplicates. 
    Problem #2: The answer to the second question is also no, iTunes does not offer any way to monitor for new files in a folder or folders.
    I wish the above were incorrect but from what I hear and from what your wrote I conclude iTunes does not support any of that.
    You offered external to iTunes solutions for both problems.  Thank you for that!  I did not know about this tools.  Having said that my iTunes music files are on a NAS device (files not copied to iTunes library), my video files are on NAS but (because of the necessity to convert to iTunes supported format) they were transcoded and stored in iTunes library, my iTunes Store purchases (music) are in the iTunes library and on the NAS (backup - likely duplicates).  In short it gets messy very quickly and after reading the NAS and multi-path warnings for the DeDuper tool I am just not jumping on the idea of using it - there would be physical duplicates and I would not want any physical files to be deleted.  tt2, do you know if the DeDuper offers a mode where it would present the user with a list of duplicates and allow the user to decide which dups to remove before doing anything?  I basically would want to remove the dups from the library but without deleting any physical files.
    I will have a closer look at the iTunes Folder Watch program.  Unless I am misinterpreting something I think it should do what I want to do. 
    So again, thank you for your answers and suggestions with the external tools.  It is just too bad that iTunes does not support what I (and many others) need natively.
    Peter

Maybe you are looking for

  • Can't view synced photos on iPhone 5S

    The girlfriend recently upgraded her iPhone 4S to the iPhone 5S. The 4S was running ios7 and all photos in events and albums synced from iPhoto could be viewed. Since she backed up her new 5S from her 4S back up she can only view a fraction of the ph

  • Is it possible for someone w/o a web cam to view me when mine is turned on.

    My husband and I are wanting to communicate through ichat (using google) I have web came and he has a pc with no web came is there any way for us to chat and him se me even though he doesn't have a web cam for me to see him? I am new to macs and have

  • Webservice error messages

    Hi All I am using a web service to feed my flex application with data. When exceptions occur in the web service, I only get some generic error message in my fault handler. I would like to be able to get information such as error messages from the web

  • Cannot start WebLogic Server 6.1 as NT Sercice

    Windows NT 4.0SP6a, WebLogic SP6.1 runs just fine from the command line. However, after installing it as NT service, the service is not able to start. I get the famous Error 2140, An internal Windows NT error occurred, if started from the services co

  • Hi ,, question about abot_query .. plz

    hi ,, i made a form that contain 7 canvases,, i navigate from one canvas to the second one by push button "with 'when button pressed" trigger ,that load the second canvas in the "enter-query" mode,,, in this second canvas i make push button to cancel