[CLOSED] Delete selected Item from PropertyGrid

  1. #1

    [CLOSED] Delete selected Item from PropertyGrid

    I have this declaration

     <ext:Button runat="server" Icon="Delete">
                    <Listeners>
                        <Click Handler="PropertyGrid1.selModel.grid.store.removeAt(PropertyGrid1.selModel.selection.record.id);" />
                    </Listeners>
                </ext:Button>
    I get no errors but this don't work.

    I need to delete the selected item on propertyGrid using a button

    thanks
    Last edited by Daniil; Jul 22, 2011 at 4:44 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Please use the following script
    PropertyGrid1.getStore().removeAt(PropertyGrid1.getSelectionModel().getSelectedCell()[0])
  3. #3
    thanks Vladimir
    Works fine.

Similar Threads

  1. [CLOSED] Always selected Item is nothing for combobox as menu item
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 04, 2011, 4:51 PM
  2. [CLOSED] Delete item GridPanel
    By stoque in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jun 07, 2011, 6:01 PM
  3. [CLOSED] dataview delete item(s)
    By LeeTheGreek in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Mar 01, 2011, 1:46 PM
  4. [CLOSED] Propertygrid selected row value
    By Hari_CSC in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 06, 2010, 7:34 AM
  5. Replies: 2
    Last Post: Dec 25, 2009, 2:56 PM

Tags for this Thread

Posting Permissions