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?
 
Back
Top