Freeze Header row on scroll

2 replies. Last post: June 2, 2014 11:16 PM by Hans Kristian
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
roi ukashiMember

Hi, 

Is it possible to "lock" or freeze top header row on scroll?

(Chrome V33 & HTML5 DOCTYPE)

I'm using the following settings:

<LayoutSettings AlternatingColors="True" AllowColumnFreezing="Yes" CellPaddingDefault="2"GridLineColor="203, 207, 214"

                                                                GridLineStyle="Solid"RowHeightDefault="18px" EditOnClick="false" ColumnFooters="Yes" AllowExport="Yes"

                                                                AlwaysShowHelpButton="False"

                                                                AllowFilter="Yes" AllowGrouping="Yes"AllowSorting="Yes" AllowDelete="No" AllowEdit="No"

                                                                AllowColumnSizing="Yes"AutoFitColumns="false">


But for some reason, the scrollbar appears for the entrie grid, including the header row, which makes it scroll 

down with the webgrid data.


Thanks

All times are GMT -5. The time now is 7:26 PM.
Previous Next