Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get columns to stretch?
Message
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Titre:
How to get columns to stretch?
Divers
Thread ID:
00963097
Message ID:
00963097
Vues:
43
How can I get the grid columns to "stretch" over the available grid width?
Example:
Lets say I have a datagrid on my form at the datagrid's width is 300. I have 3 columns in my grid. Each column's width is 75. 3 multiplied with 75 is equal to 225, which means I have 75 pixels left over.
Or what if I make the column's width 100, now my grid look fine until the silly user decides to maximize the form (I have anchored my datagrid) and now I get several pixels left over.
Or what if the user doesn't maximize the form but decreases the second column's width, now I've got pixels left over.

I hope my examples make sense. What I would like to happend is that the right-most column adjusts acording to what the silly user does and expands or shrinks to leave no pixels left over?

I seem to remember this is how it was in VFP by default.

Is it any way to do this? Is it the "best" way to do it only to adjust the right-most column? Or should all the columns adjust proportionately to acheive this?

Thanks,
Einar
Semper ubi sub ubi.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform