Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get grid's column widths
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
00962477
Message ID:
00962638
Vues:
9
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform