Results 1 to 2 of 2

Thread: How to remove item aftering rendering to?

  1. #1

    Default How to remove item aftering rendering to?

    I use the following code to render a panel to a cell in a grid:

    Code:
    var tr = Ext.get(grid.view.getRow(rowIndex));
    var cell = tr.query(".x-grid3-row-body")[0];
    pnl.render(cell)
    Later on, I need to remove pnl from the cell. How would I do this?

  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007
    Location
    Bédoin/Nottingham
    Posts
    30,890

    Default

    Call destroy upon that Panel.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •