Click here to Skip to main content
15,891,743 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
All,

I have a requirement where I have to freeze first two columns og gridview. I have tried with CSS (position:fixed) but it's not working for me.

What I have tried:

All,

I have a requirement where I have to freeze first two columns og gridview. I have tried  with CSS (position:fixed) but it's not working for me.
Posted
Updated 20-Nov-18 12:16pm

See HERE[^]
 
Share this answer
 
Setting the CSS with position:fixed isn't going to work on that. You need to do a bit of plumbing to make that work. Here's one example using jQuery: How to freeze gridview column in asp.net using jquery. | DotNet - awesome[^]
 
Share this answer
 

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