Re: Hidding Row Selector Columns of DataGrid by Rajeev
Rajeev
Thu Jul 31 09:50:53 CDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_00F9_01C357A1.3E180AA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Thanks Kristin,
I tried with DataGrid.RowHeadersVisible property to false. Actually =
DataGridTableStyle.RowHeadersVisible was overriding the false property =
of DataGrid, so if set the DataGridTableStyle.RowHeadersVisible property =
to false. Row headers will not be visible.
Rajeev
"Kristin" <kristin_barker@natureserve.org> wrote in message =
news:#M6agx2VDHA.208@tk2msftngp13.phx.gbl...
Did you try setting the DataGrid.RowHeadersVisible property to false?
The DataGridTableStyle associated with your DataGrid also has a =
RowHeadersVisible property but I believe the DataGrid property takes =
precedence. Setting both to false is the surest coarse of action.
Kristin
"Rajeev Soni" <rajeev_css@rediffmail.com> wrote in message =
news:e00n4j0VDHA.3088@tk2msftngp13.phx.gbl...
Hi
i want to hide the row selector column, first column of the datagrid =
which allows to select complete row / shows ">" for the active row.
how can it be done?
Rajeev
------=_NextPart_000_00F9_01C357A1.3E180AA0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>Thanks Kristin,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DVerdana size=3D2>I tried with =
DataGrid.RowHeadersVisible property=20
to false. Actually DataGridTableStyle.RowHeadersVisible was overriding =
the false=20
property of DataGrid, so if set the DataGridTableStyle.RowHeadersVisible =
property to false. Row headers will not be visible.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Rajeev</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Kristin" <<A=20
=
href=3D"mailto:kristin_barker@natureserve.org">kristin_barker@natureserve=
.org</A>>=20
wrote in message <A=20
=
href=3D"news:#M6agx2VDHA.208@tk2msftngp13.phx.gbl">news:#M6agx2VDHA.208@t=
k2msftngp13.phx.gbl</A>...</DIV>
<DIV><FONT face=3DArial size=3D2>Did you try setting the=20
DataGrid.RowHeadersVisible property to false?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The DataGridTableStyle associated =
with your=20
DataGrid also has a RowHeadersVisible property but I believe the =
DataGrid=20
property takes precedence. Setting both to false is the surest =
coarse of=20
action.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Kristin</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Rajeev Soni" <<A=20
=
href=3D"mailto:rajeev_css@rediffmail.com">rajeev_css@rediffmail.com</A>&g=
t;=20
wrote in message <A=20
=
href=3D"news:e00n4j0VDHA.3088@tk2msftngp13.phx.gbl">news:e00n4j0VDHA.3088=
@tk2msftngp13.phx.gbl</A>...</DIV>
<DIV><FONT face=3DVerdana size=3D2>Hi</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>i want to hide the row selector =
column, first=20
column of the datagrid which allows to select complete row / shows=20
"<STRONG>></STRONG>" for the active row.</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>how can it be done?</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana=20
size=3D2>Rajeev</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_00F9_01C357A1.3E180AA0--