Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column widths in gridview
Message
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01296965
Message ID:
01335594
Views:
19
>>>>Using VS2005 and asp.net, can I specify each columns width in a gridview?
>>>>
>>>>Thanks,
>>>
>>>http://msdn2.microsoft.com/en-us/library/ms178296.aspx
>>
>>Hi Viv,
>>
>>Is there a way to have GridView to be fixed width?
>
>Don't know. I suppose fixing the width of each of the columns would do it.
>In that link I see that we're trying to set one column's width to the biggest width of the data. I want to set few column that may potentially expand to some fixed width but I'm not sure which units should I try to set them according to this article.
>
>The example in the link doesn't specify a unit but since the default is Pixel they're using that. This lists the unit types you can use:http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.unittype(VS.85).aspx
>
>I'm afraid I only really just tinker with aspx stuff so I'm probably not the best person to aks.
>Regards,
>Viv
>

Hi Viv,

Long time no communication...

After about two hour struggle I was able to achieve the desired effect. See my answer in ASP.NET forum...

BTW, you were extremely helpful with ASP.NET / JavaScript problems about a half of year ago...
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform