Disable editing of part of table

Hello,
i need to disable editing on some rows in table. Also i need to change style of some rows, is it possible in webdynpro (some sample code?) or i have to use PDK?
thanks
JJ

Jiri,
Let us assume your attribute CHAR1 name is Flag. So:
1. Right under the node with attribute Flag create sub-node with cardinality 1..1, singleton=flase, name it UISettings
2. In this sub-node create boolean attribute EditorEnabled
3. Mark EditorEnabled attribute readOnly=true, calculated=true
4. Switch to source editor, and write the following for method getUISettingsEditorEnabled:
return "X".equalsIgnoreCase(element.getParentElement().getAttribute("Flag");
5. Bind "enabled" properties of cell renderers to EditorEnabled attribute.
Make sure to rename "Flag" in code to actuall property name from BAPI!
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com

Similar Messages

  • How to disable edit link in interactive report

    Hi,
    How to disable edit(e3.gif image) link interactive report.
    Thanks,
    nr

    Hi Jari,
    Apex Version:3.2
    I created on Interactive report on emp table I have created edit link on empno using Icon5 image.
    Report Attributes>Column Attributes>Column Link.
    I can Hide the Icon5 using following script but I need to disable only. I did not get any disable() method in Jquery.
    Region Id:R812581842900385833
    $(document).ready(function() {
    var viewOnly=document.getElementById('P1_ITEM1').value;
    if(viewOnly == "0")
    $("#R812581842900385833 img").hide();
    thanks,
    Nr
    Edited by: pnr on Mar 13, 2012 6:09 AM

  • ADF DI : Need to disable edit on a column in excel spread sheet

    Hi,
    I need to make a column disable for edit in ADF table in excel.I tried making read only property to true but , user can still edit that column but will get update failed error.I want my column to be completely disabled even for editing.Is there any way to disable edit on the column and makes it grey out??
    Thanks in Advance,
    Alekhya

    I have enabled worksheet protection, with only the Column i need to be
    made read only. Accodring to the ADF DI Dev guide, "The end user can insert a
    full row or column. However, once inserted, they cannot be deleted.". But
    even full row insert shows up disabled. Its not allowing me to insert a new row at all.

  • Disabled new entries button in Table Maintenance

    Hi Guru,
    I want to disabled new entries button in table maintenance (sm30) due to authorization. could u tell me how  can we do it.
    I want give authorize to user only see table maintenace entries
    not able to give new entries.
    <REMOVED BY MODERATOR>
    Thanks
    Ramakrishna
    Edited by: Alvaro Tejada Galindo on Apr 8, 2008 4:24 PM

    hi krishna,
    It is used for updating tables.i.e deleting,updating and inserting data into tables.
    check these threads and links
    Re: Regarding Table Mainantance Generator
    Re: table maintenance
    For further help look into these links
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21eb6e446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    Table
    Table maintanence generator is nothing but making a table available for adding records and deleting records.
    The transaction code used is SM30.
    follow below steps
    1) go to se11 check table maintanance check box under
    attributes tab
    2) utilities-table maintanance Generator->
    create function group and assign it under
    function group input box.
    also assign authorization group default &NC& .
    3)
    select standard recording routine radio in table
    table mainitainence generator to move table
    contents to quality and production by assigning
    it to request.
    4) select maintaience type as single step.
    5) maintainence screen as system generated numbers
    this dialog box appears when you click on create
    button
    6) save and activate table
    using sm30 you can create entries manually.
    check these links
    Table Maintainance generator
    Table Maintainance Generator!!
    Re: STANDARD RECORDING ROUTINE IN TABLE MAINTENANCE SCREEN
    <REMOVED BY MODERATOR>
    karthik
    Edited by: Alvaro Tejada Galindo on Apr 8, 2008 5:11 PM

  • Disable editing of column in advanceddatagrid

    I'm having problems disabling editing in the advanced
    datagrid The code for the column is below. It is using an
    itemRender. I wouldn't think this would be the problem, but perhaps
    I need to disable it at the item renderer level and not the
    datagrid. Any ideas?
    <mx:AdvancedDataGridColumn width="10" id="DGColumn_X"
    editable="false" visible="true" sortable="false" headerText="X"
    dataField="hasPermission" itemRenderer="mx.controls.CheckBox"
    />

    It looks like the class you are losing doesn't support what you are trying to do; you can only toggle whether columns are sortable on a global basis. At least, that's my impression after looking at the first API which Google coughed up for that class.
    I guess you could turn the sorting on/off depending upon which column is clicked, though I'm not sure how well that will work.
    The columnMoved should be called when columns are moved from one index to another. The event will have a 'from' and a 'to' index on it.
    I think you may want to try using a mouse listener on the TableHeader, figure out the column that we clicked on, and then act accordingly:
            JTableHeader tableHeader = table.getTableHeader();
            tableHeader.addMouseListener(new MouseAdapter() {
                public void mousePressed(MouseEvent event) {
                    JTableHeader header = (JTableHeader) (event.getSource());
                    int index = header.columnAtPoint(event.getPoint());
                    // do stuff based on index
            });You may want to play with that, as I'm not sure how it will work with that class, particularly as I assume it toggles sorting through ascending, descending, no sorting.

  • JTable- how can i disable editing

    hi
    could anyone please lemme know if there is any way to disable editing in a jtable. i tried disabling it, but ;) hehe, well that diables selecting a row also then. One more thing, is there any simpler method to add scroll bars to a panel or frame without having to place the panel itself into a jscrlolpane, 'cos im having too many other problems when i make a nested panel. if anyone has a solution , please do tell me
    thankyou

    u can do it when u use model for the table.
    use AbstractTable model and over ride isCellEditable method returning false..
    Check sun demo examples how to use AbstractTableModel...
    very simple right....hihihi..

  • Checkbox "hidden" disabled for web parts

    Hello,
    I ran into a weird problem today.
    When I open "edit web part" and then open "Layout", the checkbox for "Hidden" is disabled (grayed out).
    So basically I cannot hide any of my web parts.
    Also the "Zone" dropdown and "Zone Index" textbox are disabled for some reason.
    I could check the "Hidden" checkbox before (last week), so I'm not sure what I did?
    Is there some feature that would cause this behaviour ?
    It's not our theme/css, because a default out of the box team site with the default theme/masterpage/layout shows the same problem.
    Anyone else that experienced this and knows how to enable this checkbox again ?

    Hi Mente,
    I'm the only sharepoint developer here, and also the only one with access to SharePoint Designer, so unless I did it by accident there is no one that disabled the AllowHide and AllowZoneChange.
    I digged a bit further today in this issue, and I noticed that I can set the hidden checkbox and zone properties on web part pages, but not in wiki pages.
    For the zone properties that sounds logical, as wiki pages don't work with zones as far as I know, it's just a page that can be seen as 1 zone. But why can't I hide a web part in a wiki page, that has nothing to do with being on a wiki or web part page....
    I need to add some javascript, and I want to do this using a hidden content editor web part. I don't want to customize the page in SharePoint designer for just hiding a piece of code...
    Replacing my wiki page with a web part page is no solution either, as I'll lose the quick launch menu that way and I still have to customize the page to readd the quick launch page.
    So how can I create a page where I can add a web part and hide it, without the need to customize this page in SharePoint designer to fix things that SharePoint breaks out of the box... ?

  • The detail part of table doesn't refresh after deleting a row

    Hello!
    I'm developing a Master-Detail table with some a functionality. Particularly, I want to invoke a DELETE function in the Detail part of the table.
    For this purpose, I placed a Command button to the tableSelectOne component of the Detail part of the table, which stores current row key and calls another page. On this (<another>) page I created a ReadOnly form with data related to the row of Detail table, which key is stored. In addition, I added there two Command buttons. First of them is a CancelButton, which does nothing except returning to master-detail page. The second is a DeleteButton, which executes a RemoveEntity method and returns to master-detail page, too.
    When I'm tried to delete in this way a row from detail part of table, I discovered, that this row is really deleted from the database, but it doesn't affect on the content of the Detail part of the table. Any kinds of refreshing couldn't aid me, only restart of the application.
    Could anybody help me to solve this problem?
    Thank in advance.

    Hi,
    I'm facing the same problem but Frank's solution doesn't fix it.
    you need to define an invoke action in the binding
    for your m/d page and set it into the page binding's
    execute section. Then set the condition for invoking
    the action to !postback. This will re-execute the
    iteratorThis efectively re-executes the iterator, so the master table data is refreshed. You can see the TopLink log showing the query to the db (I'm using TopLink instead of BC). The problem is that the detail rows are queried only once and only the inserts and updates are displayed, not the deletes.
    I think the problem may be related to PPR or some cache issue.
    See the BC tutorial
    http://www.oracle.com/technology/obe/ADFBC_tutorial_10
    13/ADFBC_tutorial.pdf
    See page 86 "Adding the ServiceHistories Data". This
    defines a invoke action for this kinf of task. More
    example code is contained in the SRDemo sampleThe tutorial doesn't contain a scenario with master-detail deleting detail records (neither the BC tutorial, nor the TopLink one) so it can't help me :(
    The only solution I can think of is using a different model method (a method in the SessionFacade for TopLink) for the detail table (one that takes the master PK as parameter and retrieves the corresponding detail records) and have a selectionListener in the selection component of the master re-execute the method (passing the PK from the master table current row).
    Is there a solution that doesn't require the use of a separate method for the detail?
    Thanks,
    Miguel

  • People Picker/Edit Web Parts/More not working in IE11

    So, we just installed IE11 in our company and found the following issues with SharePoint 2010:
    People Picker not working
    At Search site, when you type in string(s) and hit Enter, nothing happens (you must click the search button)
    Cannot edit web parts on Wiki Page
    After doing some exhaustive homework (and installing Sep 2014 CU to see they were fixed), the only 2 solutions are:
    Run in compatibility Mode
    Fix the below tag in the Master Page and People Picker headers (14 hive)
    meta http-equiv="X-UA-Compatible" content="IE=8"
    So, I just want to know if others have encountered this and what they did to resolve (compatibility mode or change the tags or other).
    I have a ticket open with Microsoft, we installed Sept 2014 CU, and are still having these 3 issues.
    Godspeed,
    Herschel

    Hi,
    Thanks for posting your issue,
    We know that IE11 has compatibility issues. Kindly follow below mentioned steps to solve this issue
    1. Installed all the latest Update for IE 11
    2. Add the site in compatibility Mode (Tools> Compatibility view settings> type site name> add)
    3. Add the site in trusted sites and set the security Zone level to low ( IE> Internet Options> Security> trusted sites> sites>add your site there> ok> custom level> select low> reset> ok)
    Also, browse the below mentioned URLs for more details to fix this issue.
    http://www.proactivespeaks.com/2013/09/12/fixing-sharepoint-compatibility-issues-with-internet-explorer-ie-9-and-ie-10/
    http://saiabhilash.blogspot.in/2012/12/people-picker-to-add-users-to.html
    http://sinclairinat0r.com/2014/02/25/sharepoint-2010-people-picker-and-workflow-compatibility-fixes-for-ie10ie11/
    I hope this is helpful to you, mark it as Helpful.
    If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • SharePoint 2013 and IE 11 issue - While creating a Web Part Page and Editing Web Part Properties

    I tried to edit a Web Part in SharePoint 2013 using IE 11 but I did not see the Edit Eeb Part dropdown menu at the top-right corner of the web part. Then I tried to create a Web Part page and I get the following error.
    Cannot create a Web Part Page with the current browser. Browsers that support the creation of Web Part Pages include Microsoft Internet Explorer 7.0 or later, Mozilla Firefox 3.0 or later, and Apple Safari 3.0 or later
    Strange !!! My web browser is IE 11.
    I tried the above two tasks in Google Chrome and worked fine.
    Solution:
    I added the site url to local intranet zone in IE 11 and I am now able to add Web Part Page and Edit Web Part in IE 11.
    imd.net

    Hi - One more solution is to add SharePoint site to compatibility group:
    http://blog.fpweb.net/sharepoint-internet-explorer-compatibility-issues-with-video/#.VAaZSPmSyy4
    -prs

  • Disable Editing in GL a/c in VKOA

    Hi experts,
    My PRD Server in transaction code vkoa have privilege to edit GL accounts.
    but client setting is disable.
    How can i disable edit GL accounts in VKOA.
    Regards,

    Actually the settings will be controlled by BASIS team
    It is not suggested to keep the VKOA settings in EDITABLE mode, which will impact a lot if something goes wrong.
    Ask your BASIS team to disable, if chages required do it through DEV - QAS - PROD
    Thanks

  • Making particular rows as non editable before displaying the TABLE

    Hi everyone,
                               I would like to know how to make a particular rows as non editable in UI element "TABLE" before it is displayed . The scenario is :
    On entering the Personnel number, I am getting family dependants in the table. Then, I am selecting any of the family members on some condition and saving each member with the request.
    Next time when i enter the same personnel number, I would like to show the table with already saved request for the family members rows as non editable & other members row as editable.????
    Please provide a feasible solution.

    Hi Pradeep,
    follow as per suggested. if not work use cell variants concept. it will work.
    Please check this wiki...
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynproforABAPCellVariants
    Cheers,
    Kris.

  • I need to edit out parts of a song to cut it down to two minutes for my daughter's talent show. I went to info and it will cut down one part but only one part. I need to put three parts together. I tried adding duplicates of the song to the list but if I

    I need to edit out parts of a song to cut it down to two minutes for my daughter's talent show. I went to info/start time and it will cut down one part but only one part. I need to put three parts together. I tried adding duplicates of the song to the list but if If I change the start time on one it will change it on all of them.

    In your library, right-click the song you want to edit.
    select "get info".
    go to "options" and select the start and stop times for your first section of the song.
    click "OK".
    Find the shortened version of the song in your library. It may take a minute for it to show up. right click it again and select "create (????) version". (the ???? is different for different formats).
    The library will spit out a new, second version of the song which you can rename. I suggest you use the original title and add a 1 to the end.
    Now you can go back to the other version and repeat the process with a different  start/stop time.
    Once you are done editing, you can burn all of your versions to a disk, just make sure your interval time is zero so there are no gaps between edits.
    To keep the orginal song on your library, just go back to the original and put the start/stop times back to the original settings.

  • Disable EDIT AUTHORIZATIONS in PI 7.1

    Hi all,
    In PI 7.1 we can define and edit authorizations for access to objects in the Enterprise Services Repository.
    Is there any way that i can disable EDIT AUTHORIZATIONS  option of the context menu at the Software component level.
    regards
    Gangaprasad

    Sebastian,
    I found these Actions in Identity-Managements, where I can do settings for a virtual Provider.
         jms.default          topic.all.all
         jms.default          temp.topic.all.all
         jms.default          administration.all.all     
         jms.default          queue.all.all
         jms.default          temp.queue.all.all
    So I will create a new Virtual Provider "myProvider" assing my JMS-Queue to this provider and play around with the parameter settings "jms.myProvider" and assign these actions to a test user.
    Furthermore I found these actions in Identy Management. I think in the first step I won't change anything at these parameters.
         jms_provider          topic.all.all
         jms_provider          temp.topic.all.all
         jms_provider          administration.all.all
         jms_provider          queue.all.all
         jms_provider          temp.queue.all.all
    I let you know the result of my tests.
    regards
    Barbara

  • Edit web part option does not appear in browser on lists

    I've inserted some lists on a wiki page. However, when viewing in the browser the checkbox and the dropdown containing the Edit Web Part option do not appear. On the properties tag I thought I enabled all the correct properties such as Allow Edit, Allow
    Minimize etc. What am I missing?

    Hi Larry,
    According to your description, my understanding is that the Edit web part option disappeared in the list web part.
    I recommend to check if the account has permission to edit the web part, please check the permission of the account in Site Permissions and the list permissions.
    Please also check if the target audience is set in the web part.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

Maybe you are looking for

  • FTP Adapter error: SLDAccess

    Hello everyone! When XI picks up an XML using the FTP adapter (sender), I get this error message: <b><i>Error: com.sap.aii.af.ra.ms.api.ConfigException: Some of the IS access information is not available. SLDAcess property may be set to true, but SLD

  • Is Actiontec Rev F better than Rev E for 801.11b/g?

    My area only has 20/5, so getting a 801.11n router (such as Actiontec Rev F or Rev G) is not going to change the internet speed, at least on paper. But, today, I borrowed a friend's 802.11n router and had it piggybacked on my Actiontec Rev E. Surpris

  • Fullscreen Video Playback, from Button? Video Question

    I have used the external URL to link directly to a video and it opened in an HTML window, not just fullscreen. I would like to emulate what is seen in this example. LINK: http://youtu.be/-YMyQZki0bY?hd=1&t=1m2s

  • Automatic payment flow isnu00B4t working

    Hi Team, I got the below requirement from my user. But i dont think if the customer is marked for deletion the automatic payment run will work. I need your advice and how to resolve this issue. Regards, Jana Can you please advice if a customer is mar

  • Update query for large no of records

    i have a doubt regarding an update statement and performance. There is a table with the following fields: empno,ename,esal,edept..etc., now consider that i want to update the field salary with null for all the employees and suppose there 10 million r