Delete row in elements in list

In Elements in list of Item type: list item, for error an empty new line has been inserted(static) ,
does someone know how do to delete it?
Thanks in advance

Yes, you are right, but I thought pits a very simple thing.that knew everybody
CTRL+K Display list the list of Key that can be used in dialog box
SHIFT-CTRL +> insert an element
SHIFT-CTRL +< delete an element
Regards

Similar Messages

  • Cannot DELETE rows from LOV on running...is it a bug ??

    One of the features I appreciated in the new version of JHeadstart is that we can now insert, modify and delete rows on LOV (even in the database).
    We have just to check on Lookup properties :
    Multi-row insert allowed
    Multi-row update allowed
    Multi-row delete allowed
    I cheked all of them and on runnig I could insert and update records in LOV.
    When I tried to delete records from LOV the system display information message "nothing to save" and in fact no records were deleted.
    Normally since I checked the delete property it should be possible to delete rows from LOV
    thanks for any Help

    Monta,
    I could reproduce this, it is a bug. Added to the fix list for the next release.
    Thanks for reporting,
    Steven Davelaar,
    JHeadstart Team.

  • Row limit in declarative list view web part

    Hi,
    Imagine you are in a scenario where you develop a custom web template or a site definition. Page Layouts with web part zones are being provisioned and out of them, decoratively web part pages are being created and populated with web parts. So something like:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Module Name="XXXProjectPages" Url="$Resources:osrvcore,List_Pages_UrlName;" Path="" SetupPath="FEATURES\XXX_Intranet_PMO_PageLayouts\">
    <!-- Home -->
    <File Url="FullPageLayout\XXXFullPageLayout.aspx" Name="Default.aspx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="FALSE" ReplaceContent="TRUE" Level="Published">
    <Property Name="Title" Value="Team &amp; Collaboration" />
    <Property Name="ContentType" Value="$Resources:cmscore,contenttype_page_name;" />
    <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/XXXFullPageLayout.aspx, ~SiteCollection/_catalogs/masterpage/XXXFullPageLayout.aspx" />
    <!-- Latest News -->
    <View List="Lists/Announcements" BaseViewID="102" WebPartZoneID="wpZone1" WebPartOrder="2">
    <![CDATA[
    <WebPart xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
    <TypeName>Microsoft.SharePoint.WebPartPages.ListViewWebPart</TypeName>
    <Title>Latest News</Title>
    <FrameType>TitleBarOnly</FrameType>
    </WebPart>
    ]]>
    </View>
    For simplicity, let's assume that we are working with instances of OOB list definitions, such as Announcements or Document Library. So far so good. And now the question...
    In my understanding if you want to do something as simple as limiting the number of items returned, or specifying a custom view criteria (filter/sorting/grouping, whatever) or just remove the toolbar, you have to go as far as provisioning an ENTIRE LIST
    DEFINITION, defining your custom View in it (which declares the toolbar type, row limit and View) and then reference this new View by its BaseViewID. Is that correct?
    Is there really no other, simpler way, of 'provisioning' and referencing a new view, to an existing list instance, along with the
    Module -> File -> View element? I see a couple of logical options:
    1) I would imagine such metadata could be stored in the web part and not the actual list. i.e. the web parts sends a CAML query to the list, based on the View metadata stored in it.
    2) As we know, when you Edit page and configure the View for a List View Web Part on the page, that view is stored as a new hidden view in the actual list (i.e. if you have two list view web parts that reference that list, you will have two additional hidden
    views). Then why can't we provision such (hidden) view along with the List View WebPart when we declare it and create the page? It could be created on first access of the page, or during the page
    provisioning.
    Another option could be the XmlDefinition property of the XsltListViewWebPart, but
    apparently it is being ignored. I have also tried using the 'CustomSchema' property of the ListInstance, but it totally makes no sense because:
    a) You cannot define more than one view in it, i.e. you have to override the OOB view that comes with the definition (lol?!)
    b) You are supposed to overwrite the entire list definition, instead of simply upgrading parts of it
    So, let me elaborate: if I want to have a <View> (ListViewWebPart) in my Page and this view to have some custom criteria, I have to provision an entire List Definition, is that correct? This is crazy.

    Hi Hristo,
    According to your description, my understanding is that you want to know if you can use <view> tag in the list view web part to define the row limit of list view web part.
    Per my knowledge, you can define rowlimit element in the view element for list view web part directly not necessary to modify the entire list definition.
    View Element:
    http://msdn.microsoft.com/en-us/library/office/ms438338(v=office.15).aspx
    Also, if you want to do more customization, you can still orverride the xslt.
    More reference:
    http://www.glynblogs.com/2011/04/overriding-the-presentation-of-an-xslt-list-view-web-part.html
    http://unorig.com/2012/08/15/format-a-list-web-part-with-xslt/
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • Delete row in a table (not ALV)

    i have a table on my web-dynpro-view. I defined a delete-Button and a method with some coding.
    If the User marks a row and press the button, the row is deleted. Here's the code:
    METHOD onactioneintrag_loeschen .
      DATA:  wd_node TYPE REF TO if_wd_context_node,
             wa_temp  TYPE REF TO if_wd_context_element,
             lt_temp  TYPE wdr_context_element_set.
      wd_node = wd_context->get_child_node( name = 'LV' ).
      CALL METHOD wd_node->get_selected_elements
        RECEIVING
          set = lt_temp.
      LOOP AT lt_temp INTO wa_temp.
        wd_node->remove_element( EXPORTING element = wa_temp ).
      ENDLOOP.
    ENDMETHOD.
    My problem: in the context-change-log i can't identify the deleted rows. It's impossible to make a difference between a change of selection and a delete.

    Hi David,
    You can declare one attribute in the view of type ur row.
    and store the deleted row in this attribute in ur delete method.
    DATA: wd_node TYPE REF TO if_wd_context_node,
    wa_temp TYPE REF TO if_wd_context_element,
    lt_temp TYPE wdr_context_element_set.
    wd_node = wd_context->get_child_node( name = 'LV' ).
    CALL METHOD wd_node->get_selected_elements
    RECEIVING
    set = lt_temp.
    LOOP AT lt_temp INTO wa_temp.
    <Attribute_name> = wa_temp .
    wd_node->remove_element( EXPORTING element = wa_temp ).
    ENDLOOP.
    ENDMETHOD.
    Hope this will help you.
    Thanks & Regards,
    Arvind

  • BC4J delete row in a different VO

    Hi,
    I have a UIX/BC4J browse form with an "expert SQL" VO which joins several tables together, with one of the tables being the primary or driving table (ie a list of agreements which also displays customer data and personnel data from different tables). I want to have a "delete" button to delete the selected row. I understand that I can't use my custom VO, I have to have another VO based on the base entity of the table I want to delete from. I just don't have the nouse right now to understand how to take the "key" of the selected row in my custom VO and then direct the entity-based VO to delete the selected row. Am I on the right track or should I be writing a Java class to achieve what I want? (I would prefer to have a UIXML solution).
    Thanks,
    Steve

    Hey, I think I am getting the hang of this now. I managed to fix it by adding the entity to my custom VO (it was originally based only on a query) then including the primary key attribute in the VO. The UIX form was then able to delete rows from the VO, no additional coding necessary. Nice!
    Steve

  • B1SO2B1SO Update Documents scenario. Cannot delete row.

    Hi all,
      I've created an integration scenario that replicate Quotation creation and update from a SAP B1 System to another One.
    The scenario is ok for Document creation and even for updates of header data and update of existing row data. It works fine even for Document_LInes addition but it doesn't work for Document_Lines deletion.
    In detail the scenario doesn't give me any error and the message goes well in success list but the deleted rows in the destination System remains.
    Is it a normal behavior or can it be a Bug, or an error in xsl?
    thank you all for any help.
    Edited by: luca tassi on Dec 14, 2011 10:05 AM

    Seems that no one could help me so I reply to myself....
    I've installed the last version of B1iSN ( 8.8 PL09) and unfortunately for this issue nothing is changed .
    SAP Business one installation  is  still in the version 8.8 PL07: someone knows for certain if this issue exists using a new version of DI api whith B1iSN?

  • How can I delete a cost element group

    Hy,
    I have a new system and the cost elements groups came with the questionary. Now I want to delete them, but I have an error like : "You want to delete object (Group element cost BON_1000). This is not possible because the object is being used in another object (group, report ... )." It is possible somehow to delete cost element group?
    I don't have any other dates in the system. Thank you!

    Hi Biro Dorel 
    The cost element group can be used by either back end configuration like cost component structure or front end transactions like allocation cycles.
    Please make sure none of any front end or back end functions are using the cost element group.
    If you do sure your system is new and no transactions use it. Please check whether the group is used by another cost element group. Or if you do not know where it is used, try to use the "where used list" to find the object using the group by click the buttom on the tool bar in the cost element group maintenance window (T_KAH3).

  • [svn:fx-trunk] 9225: Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization

    Revision: 9225
    Author:   [email protected]
    Date:     2009-08-11 11:36:09 -0700 (Tue, 11 Aug 2009)
    Log Message:
    Fix bug: Rows disappear in Spark List when using negative gap in layout and using virtualization
    Fix: Change H/V layouts first-visible-element lookup logic to accommodate negative gaps.
    QE notes: None
    Doc notes: None
    Bugs: SDK-22497
    Reviewer: Hans
    Tests run: checkintests,
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22497
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as

    sorka;
    You can check the LabVIEW Support page.
    There is a troubleshooting section called LabVIEW Installation/Getting Started Resources. It also includes a LabVIEW 7.x Frequently Asked Questions that has a link that reads Issues Fixed in LabVIEW 7.1. However, not much information is provided there.
    Other places where you can post your findings is at the LAVA Forum (check the Bug list forum) and the Info-LabVIEW mailing list. These are not official places, but usually they li
    sten
    Enrique
    www.vartortech.com

  • Can't catch the matrix row for Deleting Rows

    Hi,
    I've already read related topics but couldn't solve the problem.
    I catch the Delete Row menu event 1293, but then I can't save the deleted row in an array since it's no longer listed as a selected row.
    All the matrix rows return
    oMatrix.IsRowSelected(i) = False after catching that 1293 event.  
    Trying BeforeAction True or false didn't solve that problem.
    What am I missing ?

    it sounds like a bug.
    here is workaround: in oMatrix-itempress event try to store selected rowIndex in your variable - so, when you catch 1293-menuEvent you'll know which row you should save - it'll be value of your variable.

  • Delete row by button in popin

    hi all,
    i am using table popin toggle cell, by this i am opening rows.
    i have a delete button in popin, and i want to delete row by this popin button, how can i identify in which row , in the popin the button is pressed. so that i can delete  that row only.
    i have tried by which row is open, delete that, but user can open more than one popin cell, and that button is deleting all open row.
    please give your valuable suggestion 
    Regards
    Bala
    Edited by: bala on Sep 25, 2008 9:19 AM

    yes you can delete the row by setting lead selection in the event of delete button,
    use this coding,
    data lo_nd_nodename type ref to if_wd_context_node.
    data lo_el_nodename type ref to if_wd_context_element.
    data ls_nodename type wd_this->element_nodename.
    navigate from <CONTEXT> to <NODENAME> via lead selection
    lo_nd_nodename = wd_context->get_child_node( name = wd_this->wdctx_nodename ).
    get element via lead selection
    lo_el_nodename = lo_nd_nodename->get_element( ).
    lo_el_nodename = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
    @TODO handle not set lead selection
    if lo_el_nodename is not initial.
    get all declared attributes
    lo_el_nodename->get_static_attributes(
    importing
    static_attributes = ls_nodename ).
    endif.
    if lo_nd_nodename is not initial.
    call method lo_nd_nodename->set_lead_selection
    exporting
    element = lo_el_nodename.
    endif.
    Yogesh N

  • Delete rows from table...Bizarre problem.

    Folks
    i HAVE this bizarre problem.
    I hava a Java class which displays data read into a table with a delete
    option by the side of each row.
    Now lets assume you have 3 rows in the Table.
    abc deleteButton
    efg deleteButton
    xyz deleteButton
    When I click the first delete,that row gets deleted from the table.(perfect...)
    Now I have 2 rows.
    When I click on the first row,I get the error
    'You clicked -1'
    java.lang.ArrayIndexOutofBoundsException: -1 < 0.
    Can anyone tell me why this is happening even though there are rows in the table.???
    ActionListener al = new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    System.out.println("You clicked row : " + table.getSelectedRow());
    javax.swing.table.TableModel model = table.getModel();
    Object o = model.getValueAt(table.getSelectedRow(),0);
    //System.out.print(model.getValueAt(table.getSelectedRow(), 0));
    //System.out.println();
    MyDeleteFunction(o.toString());
    // Delete row from window.
    ((DefaultTableModel)table.getModel()).removeRow(table.getSelectedRow());
    table.revalidate();
    table.repaint();

    Hi ritu,
    This class is called
    new DisplayCall_IDTodisconnect(hashTable);
    its a long file.
    its attached below.
    The rows are displayed by reading a hashtable into a vector
    and the vector is iterated and appended..
    public class DisplayCall_IDToDisconnect {
    public static JTable createTable(Vector data, String buttonLabel, ActionListener action){
    return createTable(data.iterator(), buttonLabel, action);
    public static JTable createTable(
    Iterator dataIterator,
    String buttonLabel,
    ActionListener action) {
    DefaultTableModel model = new DefaultTableModel() {
    public boolean isCellEditable(int row, int col) {
    return col == 1;
    model.setColumnCount(2);
    while (dataIterator.hasNext()) {
    Object[] row = { dataIterator.next().toString(), null };
    model.addRow(row);
    DefaultTableColumnModel columnModel = new DefaultTableColumnModel();
    columnModel.addColumn(new TableColumn(0, 100));
    columnModel.addColumn(new TableColumn(1, 80,
    new TableButtonCellRenderer(buttonLabel),
    new TableButtonCellEditor(buttonLabel, action)
    JTable table = new JTable(model, columnModel) {
    public void valueChanged(ListSelectionEvent e) {
    super.valueChanged(e);
    table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
    return table;
    private static class TableButtonCellRenderer implements TableCellRenderer {
    final JButton button;
    TableButtonCellRenderer(String buttonLabel) {
    button = new JButton(buttonLabel);
    public Component getTableCellRendererComponent(
    JTable table,
    Object value,
    boolean isSelected,
    boolean hasFocus, int row, int column) {
    return button;
    private static class TableButtonCellEditor
    extends AbstractCellEditor
    implements TableCellEditor, ActionListener {
    final JButton button;
    final ActionListener callback;
    TableButtonCellEditor(String buttonLabel, ActionListener callback) {
    button = new JButton(buttonLabel);
    this.callback = callback;
    button.addActionListener(this);
    public Component getTableCellEditorComponent(
    JTable table,
    Object value,
    boolean isSelected,
    int row, int column) {
    return button;
    public Object getCellEditorValue() {
    return null;
    public void actionPerformed(ActionEvent e) {
    button.getParent().requestFocus();
    callback.actionPerformed(e);
    static JTable table;
    Vector items;
    final ClientManager clientMgr;
    // Constructor.
    public DisplayCall_IDToDisconnect(Hashtable callLegTable,ClientManager clientMgr){
    Vector vCSeqnos = displayCSeqNos(callLegTable);
    this.clientMgr = clientMgr;
    JFrame frame = new JFrame("Disconnect Options");
    /*Vector*/ items = new Vector();
    Enumeration vEnum = vCSeqnos.elements();
    while(vEnum.hasMoreElements()){
    items.add(vEnum.nextElement());
    ActionListener al = new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    //System.out.println("You clicked row ,col: " + table.getSelectedRow()+
    // table.getSelectedColumn());
    javax.swing.table.TableModel model = table.getModel();
    Object o = model.getValueAt(table.getSelectedRow(),0);
    System.out.print(model.getValueAt(table.getSelectedRow(), 0));
    System.out.println();
    closeConnection(o.toString());
    // Delete row from window too.
    ((DefaultTableModel)table.getModel()).removeRow(table.getSelectedRow());
    table.revalidate();
    table = DisplayCSeqNos.createTable(items, "Disconnect", al);
    frame.getContentPane().add(new JScrollPane(table));
    frame.pack();
    frame.show();
    } // End Constructor.
    public void closeConnection(String s){
    /*1. Disconnect the current session*/
    this.clientMgr.disconnectCall(s);
    /*2. refresh the Disconnect window*/
    this.refreshWindow();
    public Vector displayCSeqNos(Hashtable callLegTable){
    Enumeration eNum;
    String str;
    Vector v = new Vector();
    eNum=callLegTable.keys();
    while(eNum.hasMoreElements()){
    str = (String) eNum.nextElement();
    //System.out.println("Key : " + str + " Value : " + callLegTable.get(str));
    v.addElement(str);
    return v;
    } // End of displayCSeqNos.

  • Updating, Adding, or Deleting rows from a query

    So, I've got this page that originally was made of four
    different forms. It worked great. But, then the client asked that I
    "idiot proof" the page.
    Originally, I had a form that enclosed a one-line table (with
    Add & Clear buttons on the end) that took seven fields and
    "added" a new record to the "tbljob" table.
    That was followed with another form that created a table from
    the results of a cfquery and listed all the rows from tbljob (with
    Update/Delete buttons on the end of each row).
    This worked fine when it was two separate forms. Now, I'm
    trying to use only one "form" while displaying the two tables. The
    buttons are now done with Javascript (so there are dialog boxes).
    The problem is that I am getting a CF error message because the
    insert, update, and delete commands are trying to pass the contents
    of the fields as comma-delimited lists rather than the single data
    item that is actually in each field. I am passing a hidden field
    with each row that contains the "job_id".
    I know the problem is that I'm not identifying each row as
    being unique. I guess it's like I'm passing an "array" of data
    rather than just a "row".
    Basically, I just want to be able to display a blank row for
    adding records followed by multiple rows from a query. The blank
    row needs to have "Add" and "Cancel" buttons at the end and the
    multi-row part has to have "Update" and "Delete" buttons on the end
    of each row and manage the appropriate records.
    It's got me stumped. TIA.

    What you can do is try using <cfloop> to insert, update
    and delete your information.
    For instance deleting the information try this.
    <!---- Delete Jobs---->
    <cfloop index="JobIDs" list="#Job_ID#" delimiters=",">
    <cfquery name="delteall" datasource="dbsource">
    DELETE
    FROM table
    Where job_Id = #JobIDs#
    </cfquery>
    </cfloop>
    Do the same for your inserting and updating.
    Because what CF see is job_id = 1,2,3,4,5,6,7,8,9
    SO you are looping over a list = #job_id# and delimiter is "
    , " and we are calling the index JobIDs. JobIDs are the values - 1
    2 3 4 5 6 ....
    I hope this helps. As for the displaying of the images, use
    if then statements:
    <cfif isdefined("edittable") and edittable eq '"y">
    Then display the query and outputs for the editing options
    <cfelseif isdefined("deletetable") and addtable eq "y">
    The dispaly the query and outputs for adding options
    <cfelse>
    Then display the query for outputing the delete options
    </cfif>
    So your link will have soemthing of this sort <a
    href="samepage.cfm?deletetable=y">Add Table</a>
    Hope this helps,
    Sevor Klu

  • Add/Delete rows from ALV-grid

    Hi to all,
    i have 2 questions concerning alv-grids:
    i have an alvgrid displaying a table and what i need is some functionality to add or delete rows from the alvgrid - how can i do that ?
    within one row i have one field containing the status and i want to be able to select the status from a combo/dropdown-field and set it for this particular row.
    thanks in advance!

    Hi,
    Report BCALV_EDIT_04 shows how to append and delete rows.
    Report BCALV_EDIT_06 shows drop down list for cells in a column.
    These report should be available in any R/3 system including all ABAP Preview versions.
    Hope this can help.
    Regards, Johan

  • DISPLAY AND DELETE ROW ISSUE

    Moderator message: please do not post subject in all capitals
    Dear friends
    i have created report for transfering data from one database table to another database table i.e. detail table.
    after executing Master data list will appear and after clicking on master data record it shows detail data with edit fields where i can enter my own data and after clicking save button i can pass that data to database table and at the same time data goes in display mode. I want that enterd data not to delete bye delete row button please tell me how can i avoid deletion of data.
    Thanks
    regards
    Rohan
    Edited by: Matt on Jan 19, 2009 1:51 PM

    Hi ,
    You csn hide the Delete button so that it will not delete the line...
    Please have a look at this example ...BCALV_EDIT_05. You need to append exclude table and pass in the set_table_for_first_display method like below...
      ls_exclude = cl_gui_alv_grid=>mc_fc_loc_delete_row.
      append ls_exclude to t_exclude.
    call method g_grid->set_table_for_first_display
           exporting is_layout             = gs_layout
                     it_toolbar_excluding  = lt_exclude
           changing  it_fieldcatalog       = gt_fieldcat
                     it_outtab             = gt_outtab[].
    hope this helps you,.
    Raj

  • Disable users from adding-deleting row/columns

    we are running sharepoint 2010 and I would like to setup some type of persmission that will disable certain users from adding-deleting  rows/columns.
    any suggestions will be appreciated
    thank you

    Each list in sharepoint can be assigned certain roles.YOu can break the inheritance for that list and assign a group as a new role to the list.The users belonging to that group will only have access to that list depending to what permissions you give that
    group.The code goes something like this:
    SPWeb web = (SPWeb)properties.Feature.Parent;
    string ListName = "C";
    SPList list = web.Lists[ListName];           
                list.BreakRoleInheritance(true);           
    string GroupName = "Owners";
    SPGroup group = web.SiteGroups[GroupName];
    SPGroupCollection removeGroups = web.SiteGroups;
    foreach (SPGroup removeGroup
    in removeGroups)
    if(removeGroup.Name != GroupName)
    SPPrincipal principal = (SPPrincipal)removeGroup;               
                        list.RoleAssignments.Remove(principal);
    SPRoleDefinition rDefination = web.RoleDefinitions.GetByType(SPRoleType.Administrator);
    SPRoleAssignment rAssignment =
    new SPRoleAssignment(group);
                rAssignment.RoleDefinitionBindings.Add(rDefination);
                list.RoleAssignments.Add(rAssignment);
                list.Update();

Maybe you are looking for

  • My new Mac crashed. Have difficulties reinstalling CS6

    My new mac crashed. They installed a new hard drive. I'm trying to reinstall my CS6, I have the serial number. But the systems says that the code is invalid. What must I do? Must also say that finding a download page is difficult... I know how to go

  • Opencard.core.service does not exist

    when i am using build_sample.bat for building java card samples i am getting the following errors: Building the client part of RMI samples... C:\java_card_kit-2_2_1\samples\src_client\com\sun\javacard\clientsamples\purseclient \PurseClient.java:18: p

  • Upgraded to Lion on iMac.  Now HDMI output is gone.

    I have an iMac connected through HDMI to my Sony Bravia.  It's worked fine. After I upgraded to Lion, I went to display from iMac to the TV and my HDMI selection under Preferences is now gone.

  • HT-ST9 Spotify Connect Issue

    Just purchased the HT-ST9. It's absolutely awesome! However I'm having issues playing Spotify with Spotify Connect. The speaker connects to my wifi no problem and has updated to the latest firmware, but when listening to Spotify from any device - iPh

  • Z 10 emails

    Hi all i have just upgraded (i hope) to a Z10 from a touch but i am not receiving my bt emails although they are setup . Can anyone please help thanks in advance Dell