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
180
Fixed header is not working on Firefox
posted

Hi 

I am trying to keep showing  header when user scroll using this code

<DisplayLayout CellClickActionDefault="RowSelect"
                    Name="dg1"
                    SelectTypeRowDefault="Extended" Version="4.00" ViewType="Flat"
                    AllowColSizingDefault="Free"
                    HeaderClickActionDefault= "SortMulti" ColWidthDefault=""
                    AllowSortingDefault="OnClient"                     
                    RowSizingDefault="Free" SelectTypeColDefault="Single"
                    RowHeightDefault="18px" SelectTypeCellDefault="Extended"
                    BorderCollapseDefault="Separate" TableLayout="Fixed" StationaryMargins="Header" UseFixedHeaders="true">

but is not working properly, it is showing a large space between headers and content, and even when scrolling, the header disappear

  • 180
    posted

    If I code like this:

                <DisplayLayout CellClickActionDefault="RowSelect"
                        Name="dgJobs"
                        SelectTypeRowDefault="Extended" Version="4.00" ViewType="Flat"
                        AllowColSizingDefault="Free"
                        HeaderClickActionDefault= "SortMulti" ColWidthDefault=""
                        AllowSortingDefault="OnClient"                     
                        RowSizingDefault="Free" SelectTypeColDefault="Single"
                        RowHeightDefault="18px" SelectTypeCellDefault="Extended"
                        BorderCollapseDefault="Separate" StationaryMargins="Header">

     

    it works well on Explorer but not on firefox

    also table is not well formatted as new image shows