Hi ,
Anybody please help me in this ..it is an urgent for me.
Actually i have a DataGridview in my window which should be with one fixed row and 2 fixed columns.
Fixedrow is done in Datagridview with the headercolumn property. Now i need to add 2 columns as fixed..
I tried with cell.frozen property, then the column is frozen, but still the tab control goes into this cells.and also it is not appearing same as column header.
Is there a way to make this 2 columns as rowheader?
In VB6 Flexgrid we have the option Fixedcols=2 ....is there any equivalent in DataGrideview windows C#?
Anyone please help me, asap...
Thanks in advance.
- Rami
RamiPosted Mar 26, 2009, 3:24 AM
Hi Sky,
Thanks for your reply..
As i have said early, i have tried using Frozen Property, but here only that column is freezed...but it is not acting or appearing like Column header...I mean when we use Tab key, then the control still enters into the frozen cell..whereas in colum header/row header mouse focus or tab key control is not allowed into it.
Also the Column's color and appearence is different from coulmn header...
My actual requirement is I want to make 2 columns as row header, in my Dataview grid......(Like we are able to set 2 rows as column header..how to set 2 columns as row header?)
Can you help me on this...
Once again Thanks for your reply...
- Rami.P
SkyPosted Mar 26, 2009, 3:02 AM
DataGridView.Columns(0).Frozen = True