Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Web Datagrid Column Width and Alignment

0 views
Skip to first unread message

Alan Z. Scharf

unread,
Apr 17, 2003, 1:11:11 PM4/17/03
to
How can I specify a web datagrid's individual column widths and alignments,
e.g. right justify a Currency columns?

I have not been able to find this in documentation or in the several books I
have.

Thanks.

Alan


___________________________
Alan Z. Scharf
GrapeVine Systems
New York City


Mike Moore [MSFT]

unread,
Apr 23, 2003, 7:06:43 PM4/23/03
to
Hi Alan,

* Place a DataGrid on an ASPX form
* Right-click the grid and select "Property Builder" from the pop-up menu
* UN-check auto generate columns
* Select "Columns" on the left
* Add the columns you need
* Select "Format" on the left
* Expand the Columns entry in the TreeView
* Select the column you wish to adjust
* Enter the width in the Width field

Does this answer your question?

Thank you, Mike Moore
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no rights.

--------------------
| >Reply-To: "Alan Z. Scharf" <asc...@grapevines.com>
| >From: "Alan Z. Scharf" <asc...@grapevines.com>
| >Subject: Web Datagrid Column Width and Alignment
| >Date: Thu, 17 Apr 2003 13:11:11 -0400
| >Lines: 17
| >X-Priority: 3
| >X-MSMail-Priority: Normal
| >X-Newsreader: Microsoft Outlook Express 6.00.3718.0
| >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3718.0
| >Message-ID: <OqnuZRQB...@TK2MSFTNGP10.phx.gbl>
| >Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
| >NNTP-Posting-Host:
207-237-205-196.c3-0.nyw-ubr2.nyr-nyw.ny.cable.rcn.com 207.237.205.196
| >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
| >Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet.webcontrols:10830
| >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols

Alan Z. Scharf

unread,
May 1, 2003, 11:40:32 AM5/1/03
to
Mike,

Thanks very much for your reply. It's what I needed.

Regards,

Alan

""Mike Moore [MSFT]"" <mic...@online.microsoft.com> wrote in message
news:MDV5E0eC...@cpmsftngxa06.phx.gbl...

0 new messages