Freeze first column in datagrid in vb.net

  • Thread starter Thread starter Localbar
  • Start date Start date
Hi,

I thought it was impossible in the datagrid, however you can create a nice
extra datagrid above it, that only holds the first row.

Cor
 
Cor Ligthert said:
Hi,

I thought it was impossible in the datagrid, however you can create
a nice extra datagrid above it, that only holds the first row.

A frozen row is not a frozen column. :-)


Armin
 
Localbar said:
Anyone have idea how to do that?

Thanks a lot
Localbar
Assuming VB 2005 DataGridView -

In Properties, select Columns>Collection and set Frozen to True.

In Code, "DataGridView1.Columns(0).Frozen = True"

Hope this helps.

ShaneO

There are 10 kinds of people - Those who understand Binary and those who
don't.
 
Thanks ShaneO..But I am using VB 2003.....

so..is this mean ..cannot do that...

Localbar
 
Localbar said:
Thanks ShaneO..But I am using VB 2003.....

so..is this mean ..cannot do that...

Localbar
Unfortunately I don't have VB 2003 so I can't answer your question,
maybe someone else can provide a definite answer on that???.....


ShaneO

There are 10 kinds of people - Those who understand Binary and those who
don't.
 
Back
Top