Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get grid's column widths
Message
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00962477
Message ID:
00962638
Views:
8
Vlad,
No this is a WinForm datagrid (see message category <s>) but thanks for the reply.

Einar

>Einar,
>
>Is it asp.net datagrid?
>I had to dig for some code:)
>
>Here is how you set the width:
> Me.dgSearch.Columns(0).HeaderStyle.Width = Unit.Percentage(20)
> Me.dgSearch.Columns(1).HeaderStyle.Width = Unit.Percentage(20)
> Me.dgSearch.Columns(2).HeaderStyle.Width = Unit.Percentage(30)
> Me.dgSearch.Columns(3).HeaderStyle.Width = Unit.Percentage(25)
> Me.dgSearch.Columns(4).HeaderStyle.Width = Unit.Percentage(5)
>
>Look at headerstyle property.
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform