Apr 09, 2009, 10:53 AM
[FIXED] [V0.8] TrackMouseOver
Hello,
The following simplified example demonstrates a minor problem with the GridPanel and TrackMouseOver.
Example.aspx:
1. Run your mouse over the names Geoffrey and Timothy; works
2. Run your mouse over the View buttons; you might need to do this rapidly
3. Notice how it doesn't release the row? It's still highlighted like the mouse is hovering
Was tested in FF3.0 and IE6.0
Cheers,
Timothy
The following simplified example demonstrates a minor problem with the GridPanel and TrackMouseOver.
Example.aspx:
<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
Store1.DataSource = new object[] {
new object[] { "Geoffrey" },
new object[] { "Timothy" }
};
Store1.DataBind();
}
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Example</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager runat="server" />
<ext:Store ID="Store1"
runat="server"
AutoLoad="true">
<Reader>
<ext:ArrayReader>
<Fields>
<ext:RecordField Name="Name" />
</Fields>
</ext:ArrayReader>
</Reader>
</ext:Store>
<ext:GridPanel ID="GridPanel1"
runat="server"
AutoHeight="true"
AutoWidth="true"
StoreID="Store1"
TrackMouseOver="true">
<ColumnModel>
<Columns>
<ext:Column ColumnID="Name" DataIndex="Name" />
<ext:CommandColumn>
<Commands>
<ext:GridCommand CommandName="View" Text="View" />
</Commands>
</ext:CommandColumn>
</Columns>
</ColumnModel>
</ext:GridPanel>
</form>
</body>
</html>
Replication steps:1. Run your mouse over the names Geoffrey and Timothy; works
2. Run your mouse over the View buttons; you might need to do this rapidly
3. Notice how it doesn't release the row? It's still highlighted like the mouse is hovering
Was tested in FF3.0 and IE6.0
Cheers,
Timothy