ImageCommandColumn

  1. #1

    ImageCommandColumn



    I added a ImageCommandColumn in the ajaxMethod, but it doesn't has any result.

            Coolite.Ext.Web.ImageCommandColumn ImageCommandColumnMeta = new Coolite.Ext.Web.ImageCommandColumn();
            ImageCommandColumnMeta.Width = 100;
            ImageCommandColumnMeta.Header = "info";
    
    
            Coolite.Ext.Web.ImageCommand ImageCommandMeta = new Coolite.Ext.Web.ImageCommand();
            ImageCommandMeta.CommandName = "ShowInfo";
    
    
            ImageCommandMeta.Icon = Coolite.Ext.Web.Icon.NewspaperGo;
            ImageCommandMeta.ToolTip.Text = "show information";
    
    
            ImageCommandColumnMeta.Commands.Add(ImageCommandMeta);
            GridPanel1.ColumnModel.Columns.Add(ImageCommandColumnMeta);
            GridPanel1.Listeners.Command.Handler = "alert();";
            
            if (Ext.IsAjaxRequest)
            {
                GridPanel1.Reconfigure();
            }
    Now the question is that:
    1.the icon doesn't display.
    2.the handler doesn't works.

    Please help me! Thank you!
  2. #2

    RE: ImageCommandColumn

    Hi,

    Unfortunatelly, the 0.8.1 version doesn't allow to add ImageCommandColumn during AjaxEvent
  3. #3

    RE: ImageCommandColumn

    Then can you give some suggestions?
    Because I should change the store of the gridpanel dynamicly, and then I want to add a ImageCommandColumn in the last column.
  4. #4

    RE: ImageCommandColumn

    Hi,

    We have added that functionality to the 0.8.2 version which available in SVN only
    Here is a post where described how it works in 0.8.2
    http://forums.ext.net/showthread.php...18384-5-1.aspx

Similar Threads

  1. [CLOSED] ImageCommandColumn
    By cwolcott in forum 2.x Legacy Premium Help
    Replies: 5
    Last Post: Jun 15, 2012, 7:44 PM
  2. [CLOSED] ImageCommandColumn Issues
    By randy85253 in forum 1.x Legacy Premium Help
    Replies: 13
    Last Post: Jun 28, 2010, 7:49 AM
  3. [CLOSED] GridPanel and ImageCommandColumn...
    By state in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Aug 03, 2009, 5:40 PM
  4. [CLOSED] ImageCommandColumn bug
    By alexp in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 03, 2009, 11:15 AM

Posting Permissions