Does anybody know how...

J

James Bender

.... to get rid of the grey row header box on the left of
the datagrid control? I have tried setting the row header
visible property to false and setting the row header
width propty to 1 and niether did the trick.

Thanks.
James
 
D

DancnDude

Try this:

Create a DataGridTableStyle for the DataGrid. In VS.NET you can click on
the TableStyles property and add one. Then you need to set the
RowHeadersVisible = false. You may need to set a MappingName before this
will work, however. In my case, this is set to the name of the DataTable I
am mapping to.

I hope this helps!
 

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

Top