[CLOSED] GridCommand's Tooltip

  1. #1

    [CLOSED] GridCommand's Tooltip

    On the following example, command's tooltip is not show when it's hovered.

    <!DOCTYPE html>
    <html>
    <head id="Head1" runat="server">
    </head>
    <body>
        <ext:ResourceManager runat="server" Theme="Gray" ScriptMode="Debug" />
        <ext:GridPanel Title="Ext.Net" Width="500" Height="500" runat="server">
            <Store>
                <ext:Store AutoLoad="true" runat="server">
                    <Proxy>
                        <ext:AjaxProxy Url="/Example/LoadFakeRecords/" StartParam="start" LimitParam="limit" PageParam="page" SortParam="sort">
                            <ActionMethods Read="POST" />
                            <Reader>
                                <ext:JsonReader RootProperty="data" />
                            </Reader>
                        </ext:AjaxProxy>
                    </Proxy>
                    <Model>
                        <ext:Model IDProperty="ID" runat="server">
                            <Fields>
                                <ext:ModelField Name="ID" />
                                <ext:ModelField Name="Name" />
                            </Fields>
                        </ext:Model>
                    </Model>
                </ext:Store>
            </Store>
            <ColumnModel runat="server">
                <Columns>
                    <ext:Column Text="ID" DataIndex="ID" runat="server" />
                    <ext:Column Text="Name" DataIndex="Name" Flex="1" runat="server" />
                    <ext:CommandColumn runat="server" Width="23">
                        <Commands>
                            <ext:GridCommand Icon="Delete" CommandName="Delete">
                                <ToolTip Text="Delete" />
                            </ext:GridCommand>
                        </Commands>
                    </ext:CommandColumn>
                </Columns>
            </ColumnModel>
        </ext:GridPanel>
    </body>
    </html>
    namespace SandBox.Controllers
    {
        public class ExampleController : System.Web.Mvc.Controller
        {
            public ActionResult Index()
            {
                return View();
            }
    
            public StoreResult LoadFakeRecords(int start, int limit, int page, string sort)
            {
                List<Entity> lst = new List<Entity>();
    
                for (int index = start; index < (page * limit); index++)
                {
                    lst.Add(new Entity
                    {
                        ID = index,
                        Name = string.Format("Name - {0}", index)
                    });
                }
    
                return new StoreResult(lst, (page * limit) + limit);
            }
        }
    
        [Serializable]
        public class Entity
        {
            public int ID { get; set; }
    
            public string Name { get; set; }
        }
    }
    Last edited by Dimitris; Feb 16, 2015 at 5:15 AM. Reason: [CLOSED]
  2. #2
    It's possible to reproduce it on: https://examples3.ext.net/#/GridPane...s/Row_Command/

    At version 2.x, it works as expected: https://examples2.ext.net/#/GridPane...s/Row_Command/
    Last edited by geoffrey.mcgill; Feb 07, 2015 at 1:36 AM.
  3. #3
    Hi Raphael,

    I just checked with the v.3 online example and it works as expected. As far as I can remember you are working with IE 11. Can you please check if it only happens in this case?
  4. #4
  5. #5
    Yes, please do.

    I just checked with your sample code -just in case- and it works as expected in both windows 7 and 8 using FF 35.0.1, Chrome and IE 10,11.
  6. #6
    I will keep you posted.
  7. #7
    The issue is related to touch screen. I opened a new thread: http://forums.ext.net/showthread.php?54311.

    Please mark this thread as closed.

Similar Threads

  1. doubt with GridCommand
    By lucasbarrios2 in forum 1.x Help
    Replies: 0
    Last Post: May 14, 2012, 6:14 PM
  2. Help GridCommand
    By hbbazan in forum 1.x Help
    Replies: 11
    Last Post: Mar 05, 2010, 2:30 PM
  3. How to get the GridCommand name
    By wkcode in forum 1.x Help
    Replies: 2
    Last Post: Mar 03, 2010, 4:40 AM
  4. Help with Store & GridCommand
    By jidaneri in forum 1.x Help
    Replies: 8
    Last Post: Jan 25, 2010, 7:22 PM
  5. Replies: 1
    Last Post: Sep 14, 2009, 6:10 AM

Posting Permissions