Click here to Skip to main content
15,912,400 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a problem here which after applying fixed grid view header it does not align with my grid view data. Before the I code it to fixed the header, the grid view columns align well with the column data.

The following is the sample problem I am facing:
http://i.stack.imgur.com/TtGOa.png[^]

The scroll bar pushes the datagrid to the side.
Posted
Updated 28-Sep-15 14:53pm
v6

Instead of go with Javascript, better to use Jquery plugins to achieve this by 2-3 lines of code. Refer below link, here I'm explaining how to scroll the rows with fixed headers step by step http://www.dotnetspider.com/resources/45021-Scrollable-GridView-using-JQuery.aspx[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900