Link to home
Start Free TrialLog in
Avatar of fpoyavo
fpoyavoFlag for United States of America

asked on

Datagrid format

Hi Experts,

I have a datagrid and it has as standard feature index tab on the left side. How do I get rid of it ?

Thank you.
Avatar of Harlequin_
Harlequin_

Assuming I understand correctly:
this.dataGrid1.RowHeadersVisible = false;
To remove columnheaders or caption; set the ColumnHeadersVisible and/or CaptionVisible to false.
Avatar of fpoyavo

ASKER

Nope. I need to keep all my (populated) columns except the first one that is blank and populated by datagrid. The one called tableindex or something.
There is no such thing as table index in the data grid. There is a caption (by default a blue one) and the column names. For both of them Harlequin_ told you how to remove them.
Avatar of fpoyavo

ASKER

Hi,

I am talking about tabs on the left side of each row.

Thank you.
Then it's the row header - the first answer by Harlequin_
Avatar of fpoyavo

ASKER

That's right ....but it does not work even if I specify false.
ASKER CERTIFIED SOLUTION
Avatar of TheAvenger
TheAvenger
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial