Does anybody know how...

  • Thread starter Thread starter James Bender
  • Start date Start date
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
 
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!
 
Back
Top