I am creating a webgrid from code and so I'm also setting all of the properties from code. I want to be able to fix my header in place when scrolling vertically, but I can't seem to find the appropriate property. Can somebody please explain how I do this. I've tried the UseFixedHeader property but my grid doesn't even appear when I use it.
Regards
UseFixedHeaders is to keep certain columns from scrolling right and left.
To freeze the headers from scrolling up and down use:
Gridname.DisplayLayout.StationaryMargins = Infragistics.WebUI.UltraWebGrid.StationaryMargins.Header.
You'll probably need to set the grid width to something less then the total overall width of all the columns too.
Good luck!