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

How To Freez DataGrid Columns

P: n/a
Hello,

I have small DataGrid problem.

I have created a DataView from a SQL database table. That table has 25
columns. I used select * from tbl1 to fetch all columns and all rows.

I am binding DataView to DataSource property of DataGrid.

Now my DataGrid has 25 columns and over 2000 rows.
What I want is to freez first 2 columns of DataGrid. So that when I do
horizontal scroll those two columns are always visible.

It is exactly the same as you lock columns in EXCEL sheet.

Kindly help,

Rafey.
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.