1
Answer

How to freeze a datagrid header

All, How to freeze a datagrid header and to keep the header cells in line with the grid lines as long as data change their size? I've implemented a datagrid inside a div with scroll bars. I'd like displaying the datagrid header while scrolling down the grid.
Answers (1)
0
nick 0

nick 0

NA 37 0 20y
Remember that a datagrid is just an html table when it reaches the client browser. The header is just a row of cells that are part of this table. Your only option to "freeze" the header as you call it is to not show the header on the datagrid and place one manually with all the header text items you want outside of the scrolling div area.