Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Browser="xml" and Header.Fixed = True
posted

Heya.

 

If I set the browser property to "xml" and set the headers to fixed, I got some odd behavior. The columns that are set to "fixed" are fixed, but when scrolling horizontally they get hidden behind the other columns.
If I remove the browser="xml" property, the fixed headers work correctly (fixed on top of the other columns, not underneath)

 

Markup -
<igtbl:UltraWebGrid ID="uwgCoffeeGrid" runat="server" Browser="xml">

CodeBehind -
Private Sub uwgCoffeeGrid_InitializeLayout(ByVal sender As Object, ByVal e As Infragistics.WebUI.UltraWebGrid.LayoutEventArgs) Handles uwgCoffeeGrid.InitializeLayout

    Me.uwgCoffeeGrid.DisplayLayout.UseFixedHeaders = True
    Me.uwgCoffeeGrid.Columns.FromKey("UserName").Header.Fixed = True 

End Sub

Oh, and does anyone know where to set the Browser="xml" in the codebehind? I was setting it in the InitializeLayout, but that doesnt seem to work.