[CLOSED] How to remove an image from the GridPanel column?

  1. #1

    [CLOSED] How to remove an image from the GridPanel column?

    Hi,

    I have a column renderer applying an image to a GridPanel column on the client as below:

    <ColumnModel runat="server">
        <Columns>
            <ext:Column ColumnID="IconColumn" MenuDisabled="true" Sortable="false" Resizable="false"
                Hideable="false" Width="26">
                <Renderer Fn="iconRenderer" />
            </ext:Column>
        </Columns>
    </ColumnModel>
    
    var iconRenderer = function (value, metadata, record) {
        var iconSrc = Ext.net.ResourceMgr.getIconUrl("Bell");
    
        return String.format("<img src='{0}' />", iconSrc);
    };
    Could you suggest client and server solutions to remove the image applied as above from the specific row cell. E.g., on RowSelect I'd like to remove the image.
    Last edited by Daniil; Sep 15, 2012 at 4:02 PM. Reason: [CLOSED]
  2. #2
    I seem to have found a solution using the hints in http://forums.ext.net/showthread.php...-on-the-client (also opened by me :)

    The difference was that then I had image columns data bound, which worked fine. I've got to make slight code changes. Please mark this question as resolved for now.

Similar Threads

  1. [CLOSED] How to set an image into GridPanel column on the client?
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 19, 2012, 4:55 PM
  2. [CLOSED] How to display an image in GridPanel column?
    By vadym.f in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 28, 2012, 1:15 PM
  3. Replies: 8
    Last Post: Sep 13, 2011, 8:47 PM
  4. [CLOSED] gridpanel header menu column checkbox remove
    By majestic in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 15, 2009, 11:28 AM
  5. Image and Text column in gridpanel
    By filipator in forum 1.x Help
    Replies: 0
    Last Post: Mar 16, 2009, 2:48 PM

Posting Permissions