Datagrid gridline

  • Thread starter Thread starter Tracey
  • Start date Start date
T

Tracey

Hi, there

My application needs a datagrid with no gridline
displayed.If the datagrid is dragged into a winform, we
can easily set the gridlinecolor to be the same as
datagrid's background color or set gridlinestyle to be
none. However, things are different when I create a
datagrid at run time though I have set its gridlinestyle
to be none.The gridline are still there.

Can some one tell me what's wrong with that?
Thanks!
 
Tracey,

If you are adding a tablestyle to the grid try setting the
tablestyles gridlinestyle instead.

Ken
 
Exactly.
It works.
thanks a lot!
-----Original Message-----
Tracey,

If you are adding a tablestyle to the grid try setting the
tablestyles gridlinestyle instead.

Ken
----------------



.
 
Back
Top