Why does row selection cause the screen to jump to make the top of the grid visible. It only occurs in IE, Google Chrome (and Firefox as well) behaves as expected, making the row selection but keeping the webform in place and not jumping. ASPX and Code Behind to reproduce are below:
WebForm1.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication3.WebForm1" %>
<%@ Register Assembly="Infragistics4.Web.v10.2, Version=10.2.20102.1011, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.Web.UI.GridControls" TagPrefix="ig" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<ig:WebDataGrid ID="WebDataGrid1" runat="server" Width="400px">
<Behaviors>
<ig:RowSelectors RowNumbering="True">
</ig:RowSelectors>
<ig:Selection CellClickAction="Row" CellSelectType="None"
RowSelectType="Multiple">
</ig:Selection>
</Behaviors>
</ig:WebDataGrid>
</div>
</form>
</body>
</html>
Hello Scott,
you have to enable Activation: <Behaviors> <ig:Activation Enabled="true" /> <ig:RowSelectors RowNumbering="True"> </ig:RowSelectors> <ig:Selection CellClickAction="Row" CellSelectType="None" RowSelectType="Multiple"> </ig:Selection></Behaviors>
Please let me know if you have any further questions with this matter.
Hi,
I have the issue that when my webdatagrid has columns that extend past the border of the browser, when I select a cell after having scrolled over to the right past the border, the browser jumps to the far left edge of the browser, and so the user can not click inside the cell to get the provider editor. I have <ig: Activation Enabled="true" /> but that has no effect. we are using IE7. Any workaround? Thanks.
That worked, but now it has some other undesired effects, see screenshots.
1) How do i remove the cell selection border/focus rectangle?
2) When row is deselected, how to i remove the highlight on the row selector?