Listbox set to NOT editable cells; EditRow property seems to override

Hi All,
I have several listboxes that I programmatically set to Editable Cells or not, depending on the runtime status. When I have it turned OFF, I do not want the user to be able to edit the text values in the cells.
However, I have a RTM for the listbox with an "Edit" option. That menu item sets the EditRow property (after setting Key Focus) to the selected row. This makes the text editable, even if I have it turned OFF!!
This is not the behaviour I expected. Is this a bug?

Could you provide the code that you are seeing this occur in? Its almost impossible to see if this is a bug without some example. The simpler the example the better.
 It is possible that it is a bug, but it's also possible that you are setting the cell to edit mode after you set it to lock. I am wondering why you are doing that? Its most likely that you want to edit some cells but keep others locked from editing, and I do not think that is a bug, however, it might be a good product suggestion to keep certain cells permanently locked from the user, which is probably not the case with the lock function you are using (which most likely can be over ridden by other property nodes).
Regards,
Andrew
National Instruments
RIO Embedded Hardware PSE
CompactRIO Developers Guide

Similar Messages

  • Set quotation not editable in webUI

    Hi all,
        i want to find ways to set quotation not editable in webUI according to quotation no when push EDIT button not SAVE button.
        Is there any BADI to achieve this (i can get quotation no in the BADI) ?

    Hi Gang Li,
    If it helps, I would try by implementing badi CRM_ORDER_AUTH_CHECK, with method CRM_ORDER_ADD_AUTH_CHECK. If after your checks there the user had no authorization to edit (iv_mode = 'B'), you can pull NO_AUTHORITY exception there.
    Kind regards,
    Garcia

  • How to set JSpinner  not editable?

    hi
    I am using a jspinner - i would like the JSpinner to be enabled but i dont want the user to be able to edit the data inside the spinner.
    I know in combo box when i had this problem i used:
    setEditable(false)
    but i dont see this function in the JSpinner.
    How can i do it? does setting a null editor should help?
    Liat

    i m displaying data to table cells but problem is that they are Editable , any one can change the displayed info .
    so how to stop other from editingIf you are using some custom table model, then override isCellEditable() and return false.
    If you are making table by passing data and column names from the constructor itself, then you would have to change it to following to override isCellEditable():
    JTable table= new JTable(new DefaultTableModel(data, columnNames){
         @Override
         public boolean isCellEditable(int row, int column) {
              return false;
    });Sorry, I don't know of any other shortcut method :)
    Thanks!

  • Double click does not edit cell

    One of my users: double-clicking a cell is expected to place the focus into the cell for editing, but the expected behavior isn't happening. Cursor remains unchanged.
    It's not the mouse; I tried a couple. It's not plist, deleted both.
    It is something totally simple but what?

    Complementary questions :
    (1) How is the app behaving if you run it in an other user account ?
    (2) Was Mac Os updated to 10.6.2 thru "Applications Update" ?
    If it was, it may be a good idea to apply the combo updater available from:
    http://support.apple.com/kb/dl959
    Yvan KOENIG (VALLAURIS, France) mercredi 24 mars 2010 16:17:34

  • Sharepoint Online Can not edit anything in Sharepoint designer as Site collection administrator

    Dear all,
    I am using sharepoint online and sharepoint designer 2013. Things were working fine but one day it suddenly stopped working. I have assigned site collection administrator to several accounts and I tried on different computers. I can not edit anything in
    sharepoint designer 2013. Can not edit workflows, can not edit lists. Everything seems to be bugging out. I have reinstalled sharepoint designer and tried on different computers, all of them behave the same. I checked on all accounts I assigned site collection
    admin to, they all have full control over everything. I can edit lists on the sharepoint site with no problem. Anyone knows what's going on?
    I also created another blank site, same thing happens.
    -Timothy

    Are you able to edit site in IE?
    Try below:
    http://blogs.technet.com/b/namkh/archive/2013/04/18/quot-the-web-site-has-been-configured-to-disallow-editing-with-sharepoint-designer-quot.aspx
     One straight forward way of doing it is from the UI (Which did not work in my case though :(  )
      1.  Right-click the ONET.XML file ( at \Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\SiteTemplates\<var><Service></var>\xml) for the site definition and open it with Notepad
           If you see “DisableWebDesignFeatures=wdfopensite” section in the one.xml that means your site has been configured to disallow SharePoint designer.
          You can remove this section from the file and should be able to access the site in designer now
    2.   If you are unable to get rid of “DisableWebDesignFeatures=wdfopensite” or find the correct onet.xml corresponding to your site definition, here is a simple script I put together to see if Designer is disabled on the site using the property
    vti_disablewebdesignfeatures2 and update it as required.
    Manage Permissions and Control Access to Sharepoint Designer
    http://support.microsoft.com/kb/2592376
    If this helped you resolve your issue, please mark it Answered

  • Not editable in JTable..

    I want to make not-editable cell in JTable.
    so I was searching for source code and posts in forums..
    I found perfect source code..
    but I don't know the difference between my source code and perfect code...
    could you explain me the difference two of sources
    Especially, isCellEditabel function....
    In advance thank you
    perfect code
    Test()
    JTable myTable = new JTable(data, headers)
    @Override
    public boolean isCellEditable(int row, int column)
    return false;
    add(new JScrollPane(myTable));
    my source code
    field_vc.add("Hotel Name");
    field_vc.add("City");
    field_vc.add("Maximum");
    field_vc.add("Smoking");
    field_vc.add("Price per Night");
    field_vc.add("Date");
    field_vc.add("Customer ID");
    field_vc.add("Select");
    view_jt = new JTable(data_vc , field_vc)
    @Override
    public boolean isCellEditable(int row, int column)
         return false;
    view_jsp = new JScrollPane(view_jt);
    perfect source code is not editable in JTable
    But my source code is editable in JTable
    Plz help me
    Edited by: KIMJINHO on Feb 22, 2008 8:33 AM

    But my source code is editable in JTableprove it by posting a demo program that we can copy/paste/compile/run and double click a cell to edit

  • How to set not editable property in elements of pdf document

    Hi,
    I have developed a web dynpro with pdf intercative form, but when I drag and drop the elements of data source into pdf  they are in inpu-field mode (editable).
    I want to that fields are in text mode and therefore they are not editable.
    How to solve this problem?
    Thanks
    Alfonso.

    hi,
    With respect to your problem of making UI elements as non editable, you need to do the following
    Select the element on the Interactive PDF
    then to the right you could see the properties like Layout, Border, Accessibility and Object.
    Select Object: and under that select Value.
    here you find the option of making it as non editable by selecting Read Only option.
    Hope this solves your problem.
    let  me know if you have any further issues.
    regards,
    kris

  • Edit cell in multicolum​n listbox is slow

    Hi,
    I want to make an editable multicolumn listbox where users can make a derivation of channels, using -1 en 1 to subtract channels. Now when i set the multiclomumn listbox to editable cells, it takes a least one second (in run-time) to actually input something into the cell??
    Also, how can get the clicked cell, position?? I can't get it out of the "Active cell" property node? I want to pop up a dialog when clicking on the cell, that i can fill it's value..
    Anyone knows how to speed this up?
    Best regards,
    Thijs
    Solved!
    Go to Solution.

    It seems like the problem is getting the cell selected, not actually changing it.  Try adding a "Value Change" event case for the listbox.  Use the Coords property to get the coordinates of the changed cell, increment the column by one and then set this value to the EditPos property.  This may help alleviate the problem, though the user will have to edit the columns in order and press <ENTER> after each cell.
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    multicolumn listbox.PNG ‏5 KB

  • Set ALV Cell visibility property

    Hi,
    I would have 2 tables for ALV. One table consists of the data to be bound to the ALV. The other table would have the read only property(boolean) filled for each of the ALV cells.
    I would want to set the property of each ALV cell using the second table. How do i do that?
    Currently i am just testing it for few attributes statically using the below code.
    DATA lo_nd_date_table TYPE REF TO if_wd_context_node.
    DATA lo_el_date_table TYPE REF TO if_wd_context_element.
    DATA: lt_ele_set TYPE wdr_context_element_set.
    navigate from <CONTEXT> to <DATE_TABLE> via lead selection
      lo_nd_date_table = wd_context->get_child_node( name = wd_this->wdctx_date_table ).
    lt_ele_set = lo_nd_date_table->get_elements( ).
      LOOP AT lt_ele_set INTO lo_el_date_table.
          lo_el_date_table->set_attribute_property(
               attribute_name = 'WK02'                                 -
    > Attribute Name (Column Name)
               property       = if_wd_context_element=>e_property-read_only
               value          =  'X' ).
    << Similarly for other attributes>>
    ENDLOOP.
    I have inserted this code at the end. Initially few other properties were set to the cells.
    This seems to be not working.
    Regards,
    Rekha
    Edited by: Rekha Gopinath on Sep 8, 2009 10:40 AM

    Hi Lekha,
    In my case, the columns represents dates. The rows represent projects. So, only those row cells are editable where the project is valid.
    1. I have created READ_ONLY attribute for the date node (table).
    2. I am filling the READ_ONLY to abap_true or abap_false based on the following condition.
       Even if one of the projects is not valid for a date, then READ_ONLY = ABAP_TRUE. This means, even if one cell is set to abap_true, then READ_ONLY is set to abap_true.
    3. I modify the date node and bind it with the READ_ONLY set row wise.
    Loop at the data and set read only
      navigate from <CONTEXT> to <DATE_TABLE> via lead selection
      lo_nd_date_table = wd_context->get_child_node( name = wd_this->wdctx_date_table ).
      CALL METHOD lo_nd_date_table->get_static_attributes_table
        IMPORTING
          table  = lt_date_table    .
      LOOP AT lt_date_table INTO ls_date_table.
        lv_tabix = sy-tabix.
          READ TABLE wd_this->gt_prop INTO ls_prop INDEX lv_tabix.
          IF sy-subrc EQ 0.
            IF ls_prop-wk01 = abap_true OR         
              ls_prop-wk02 = abap_true OR
              ls_prop-wk03 = abap_true OR
              ls_prop-wk04 = abap_true OR
              ls_prop-wk05 = abap_true OR
              ls_prop-wk06 = abap_true OR
              ls_prop-wk07 = abap_true OR
              ls_prop-wk08 = abap_true OR
              ls_prop-wk09 = abap_true OR
              ls_prop-wk10 = abap_true OR
              ls_prop-wk11 = abap_true OR
              ls_prop-wk12 = abap_true OR
              ls_prop-wk13 = abap_true OR
              ls_prop-wk14 = abap_true OR
              ls_prop-wk15 = abap_true.
              ls_date_table-read_only = abap_true.
            ELSE.
              ls_date_table-read_only = abap_false.
            ENDIF.
          ENDIF.
        MODIFY lt_date_table FROM ls_date_table INDEX lv_tabix TRANSPORTING read_only.
      ENDLOOP.
      CALL METHOD lo_nd_date_table->bind_table
        EXPORTING
          new_items            = lt_date_table
          set_initial_elements = abap_true.
    4. I loop through the column reference and use the code mentioned earlier.
              CREATE OBJECT lr_input
                EXPORTING
                  value_fieldname = lv_id.
              lo_column->set_cell_editor( value  = lr_input ).
              lr_input->set_read_only_fieldname( value = 'READ_ONLY' ).
    The expected output is different from the input i had mentioned earlier for Row 1, row 2, Row 3 and row 4. Here, i would get all the rows as non editable except for Row 3.
    I would want to set all columns based on condition.
    Regards,
    Rekha

  • LabVIEW 8.2 Multicolumn Listbox Edit Cell Event Bug

    I've observed an odd behavior with the "Edit Cell?" event with multicolumn listboxes. If the "Edit Position" is set when clicking on the listbox and the "Edit Cell?" event is trapped with discard set to false, when clicking outside of the list box, previous edits are lost.   I have attached a simple example of this bug.
    Attachments:
    Listbox Edit Cell Event Bug.vi ‏19 KB

    Thank you for the update Fran.
    I lost my bet and you earned your stars.
    So it sounds like the issue was the multiple event structures alone.
    I just like to keep track of what the final fixes are.
    Ben
    Message Edited by Ben on 12-06-2006 04:50 PM
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How do i set the background of the table( not of cell / row / column).

    How do i set the background of the table( not of cell / row / column).
    What happens when i load the applet the table is blank and displays the background color is gray which we want to be white.
    We tried using the setBackGround but it is not working maybe we are not using it properly. Any help would be gr8.
    Thanks in advance.

    I don't understand very well, but i guess that the background is gray when the table content's empty, isn't it?
    When the table model is empty, the JTable doesn't paint, so its container displays its background (often gray).
    In this case, what you must do is force the table to paint, even if the model is empty. So, you have to create your own table and override three methods :
    public class MyTable extends JTable
    //specify the preferred and minum size when empty
    myPreferredWidth = 200;
    myPreferredHeigth =200;
    myMinimunWidth = ...;
    myMinimunHeigth = ...;
    public Dimension getPreferredSize()
    if(getModel().getRowCount() < 1)
    return new Dimension(myPreferredWidth, myPreferredHeigth);
    else
    return super.getPreferredSize();
    public Dimension getMinimumSize()
    if( getModel().getRowCount() > 0)
    return new Dimension(myMinimunWidth, myMinimunHeigth);
    else
    return super.getMinimumSize();
    protected void paintComponent(Graphics g)
    if (getModel().getRowCount<1 && isOpaque()) { //paint background
    g.setColor(Color.white);
    g.fillRect(0, 0, getWidth(), getHeight());
    else super.paintComponent(g);
    }

  • User Property Sets / UUP -- not showing up

    Hi. We are having problems getting any portal user property sets to show up in any environment other than our dev boxes. We are running 10.2. Our environment consists of our dev workstations, a dev server in 'development' mode, a stage server in 'production' mode, and a production server in 'production' mode.
    On our development boxes, we see the following property sets from the portal admin:
    Groupspace
    CustomerProperties
    BusinessUserProperties
    BusinessEmployeeProperties
    The latter 2 are our UUP property sets. As I said, these sets appear on our dev boxes, but from what I understand, that is expected because the EAR is exploded when published on a dev box.
    Consultants developed much of this portal application for us, including the uup property sets, and they are backing away and not offering any help in this matter. They simply said to use the propegation tools. I used the propegation tool to merge my dev box inventory and our development server inventory, and the differences did indicate the 4 property sets listed above. I selected to add only those 4 property sets to the dev server, exported the merged inventory, and exported it to our dev server with no errors. However, still no property sets showed up. I then pulled down another inventory from our dev server, and it indicated that it still did not have the property sets. I repeated this cycle once more to no avail.
    Things that are confusing to me are:
    1) The 'Groupspace' and 'CustomerProperties' sets appear to be portal default property sets. Wouldn't they be expected to exist in all environments?
    2) I thought that I read if the server you are deploying the EAR to is in 'development' mode, then the property sets should be moved over when deploying the EAR normally. I may be wrong about this as I am on information overload trying to learn these portal aspects under a time crunch.
    3) Where in the portal database are the propertysets themselved defined? I can see the 'PROPERTY_KEY' and 'PROPERTY_VALUE' tables which handle storing the user properties themselves, but I don't see any tables which would define a property set.
    Thanks in advance for any insights to this issue. It is making my week really tough.

    1st, I recommend posting in the WebLogic Portal forum:
    WebLogic Portal
    2ndly, I recommend opening a support case to get assistance if you are under a time crunch.

  • Version Set is not created when editing with Photoshop CS4?

    Last week I was working in PSE7 and opening files into PS CS4 for editing. I open the files by clicking the Open with link and choose Photoshop. I edited several dozen photos and when I closed them from PS CS4 Version Sets were created in PSE7 like they should be. At some point that stopped happening. Now when I do as before and open the files into PS CS4, edit them, and then close them the Version Set is not being created in PSE7. I look in the folder containing the files and the file has a new modified date but it still has the same file name instead of being saved with the - edited name as before. Does anyone know why the version sets are no longer being created when editing with PS CS4? I can edit the files with the PSE7 editor and the version sets are created as they should be. Thanks!

    Okay so tha there is no misunderstanding here is exactly what I'm doing. From the PSE7 Organizer I select a photo (file name Tetons & Jenny Lake 026.jpg) and click the Fix tab. I then click More Options and select Photoshop. The photo opens in into PS CS4. I make my edits click the x on the tab to close the image and I'm asked "Save changes to the Adobe Photoshop document "Tetons & Jenny Lake 026_edited-1.jpg" before closing?" I click Yes then click OK to save the image at maximum quality. I go back to the PSE 7 Organizer and there is no version set. I check the folder the original image was in and see the original file Tetons & Jenny Lake 026.jpg with a new modified date and time. I can even choose Save As from PS CS4 and it asks me if I want to overwrite Tetons & Jenny Lake 026_edited-1.jpg and I select Yes, but I get the exact same results. Thanks!

  • ItemFocusOut not catching  "TAB" key in Datagrid edited cell?

    In DataGrid, "keyUp" can catch "TAB" key when it is pressed,
    but the Keyboard event has less information needed. I tried
    itemFocusOut, but it seems DataGridEvent would not catch it. Any
    tips on how to make "TAB" key generate DataGridEvent or similar
    event?
    Platforms with this issue: WIN-XP/JDK-1.6/Air-1.5/FLEX
    SDK-3.2
    Thanks!
    -Herbert

    Let me rephrase like this:
    In our application, a DataGrid’s edited cell has
    “itemEditEnd” and “itemEditBeginning”
    handlers defined. However when a “TAB” key is pressed
    to navigate from one editable cell to another editable cell, none
    of the above handlers can catch this special key stroke event.
    Our intention is to make “TAB” key to emit an
    event that can be caught by above handlers. Or, in other words, we
    would like make “TAB” key to be similar(in the sense of
    generating events) to that of “Enter” key when pressed.

  • Full ALV column getting editable not just cell!

    Need desparate help please...
    A very strange thing is happening. I have DATA_ITAB for ALV display. The ITAB has 2 extra fields one for STYLE one for COLOR as follows:-
    TYPES : cellstyles TYPE lvc_t_styl ,
    *for editing cells
    For cell coloring
    cellcolor TYPE lvc_t_scol.
    The correct cells are being coloured based on the logic. The issue is with the editable cells. The whole column is being made editable including the cell. I have checked in debugger all rows of the ITAB_DATA have correct fields in the cellstyles tab with fields sorted to reflect which fields should be edidable for each index. Still the whole column is being made editable.
    I am NOT using edit flag for the field catalogue so that is not a problem......I have included the cellstyles field in the layout of the grid....
    Can anyone help with this issue......thnx

    Thank you guys for your silence That prompted me to continue to look at my code and finally noticed I had marked the column editable in fieldcat
    Once i switched that of and then called the following it worked like a GEM:-
    CALL METHOD p_ob_grid->set_ready_for_input
          EXPORTING
            i_ready_for_input = 1.
    << Please do not offer points >>
    Edited by: Rob Burbank on Oct 8, 2010 2:11 PM

Maybe you are looking for

  • How to send a email with a link

    Hi All,             I have a scenario where I have to send an email to a person informing him about the workitem             Now this user is not a SAP user so i have to send a link to him of a web page where he will execute             the work item

  • IPhone 2.0 software/Exchange contacts question

    I have my contacts on Exchange (2003) arranged as "active" contacts and "non-active" contacts. The reason I did this is because I wanted a manageable number of contacts on my iPhone (and in my BMW's bluetooth register). With the iPhone 1.0 software,

  • Logic Pro 9.1.1 AU third-party plug-ins ongoing issue for many

    Where is the Logic development team on this? Nearly all third-party AU plug-ins produce random pops and clicks at the beginning of playback and on occasion randomly during playback but before audio regions in tracks with these plug-ins installed. The

  • Problems importing CDs

    Hi, I have seen other discussions on problems importing CDs & Gracenote. I have the following problem. Using iTunes 10.2 on my laptop, CDs will not import when I am connected to the internet at home, but the same CDs will import when I am at work. At

  • Sync phone to itunes ?

    not the other way around.