I have a Gridview, in my GridView I have thousands of Rows. Previously I'm displaying my Grid using paging concept. But now my requirement is to display the data with Scrolling option with Headers should be fixed. To follow the below steps we can easily do this...
Using below styles we give some colors of the headers and set the position.
And call this class in GridView HeaderStyle and FoterStyle properties itself. Use the below sample code
Add JQuery Plugins, for this we download from below link use the below link and download the plugins.
After download JQuery plugins you just keep it that plugins in script folder and call that plugins using below lines of code
Design your page like below.
In code behind wrote below lines of code and see the result
follow above mentioned all points and see the result.