How to display a fixed column in a datagrid?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
i have about twenty columns displayed in a datagrid,and the first column is "EmployeeID" column.Now,i want to display the "EmployeeID" column awalys when i drag the datagrid's scrollbar.What can i do
Thanks
 
Napo,

I don't know if you can do this, because you would really have two views
on the data, one for your fixed columns, and another for the ones that are
not fixed. True DB grid used to support this with splits, but the current
DataGrid class does not. You will have to use another third party control in
order to get this functionality (I don't believe that creating your own
column style will help either).

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

Napo said:
Hi:
i have about twenty columns displayed in a datagrid,and the first
column is "EmployeeID" column.Now,i want to display the "EmployeeID" column
awalys when i drag the datagrid's scrollbar.What can i do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top