By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 2,004 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

In a datagrid need to lock the header

P: n/a
Hello I have a datagrid and I'm showing many records. I need 2 things:

I need that everytime they scroll down, the header stays lock so the user
can see it all the time. I need to scroll only the data and keep the header
stationary. Is this possible?

Second the user has a search bottom and a textbox and when he inserts a
value my program selects the row (using MyGrid.SelectedIndex) that matches
the value the user entered. If the row is at the botton of the datagrid the
user can't see it, has to move down to find it. I need the datagrid to
scroll up to show the selected row in front of the screen because right now
he has to scroll down to find where is the highlighted record.

Thanks in advance
Jennyfer
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.