The Header filter popup is shown in a wrong position if the gridview has the ShowVerticalScrollBar Property set to True
Steps to Reproduce:
ASPX CODE
<head id="Head1" runat="server">
</head>
<body>
<div id="container">
<form id="form1" runat="server">
<dxwgv:ASPxGridView ID="xGrid1" runat="server">
</dxwgv:ASPxGridView>
</form>
</div>
</body>
</html>
VB.NET CODE
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
' add test columns to grid
If (Not IsPostBack AndAlso Not IsCallback) Then
Dim gridCol1, gridCol2 As New DevExpress.Web.ASPxGridView.GridViewDataColumn
xGrid1.Columns.Clear()
gridCol1.FieldName = "EventNo"
gridCol1.Caption = "My Number"
xGrid1.Columns.Add(gridCol1)
gridCol2.FieldName = "EventPriority"
gridCol2.Caption = "My Priority"
xGrid1.Columns.Add(gridCol2)
End If
' add data data columns
' Data Table for xGrid1
Dim oleDA As New OleDbDataAdapter("SELECT EventNo, EventPriority FROM Event", mtDB.Get_Conn_String)
Dim objDT As New Data.DataTable
oleDA.Fill(objDT)
xGrid1.DataSource = objDT
xGrid1.Settings.ShowHeaderFilterButton = True
If (Not IsPostBack AndAlso Not IsCallback) Then
xGrid1.AutoGenerateColumns = False
xGrid1.Settings.ShowVerticalScrollBar = True ' This causes ShowHeaderFilterButton to popup in wrong spot
End If
xGrid1.DataBind()
End Sub
Actual Results:
popup filter shows up at the top of the page (see attach screenshot)
Expected Results:
popup filter to display normally