How to control the width of radgrid
Posted
by
user710502
on Stack Overflow
See other posts from Stack Overflow
or by user710502
Published on 2012-06-29T21:00:23Z
Indexed on
2012/06/29
21:16 UTC
Read the original article
Hit count: 180
I have a RadGrid but it is spanning the width across the page, how can I control it and set a width and mae contents in the cells wrap if they need to?. I cant find anything that is helping me. I tried MasterTableView-TableLayout="fix" but then anything in the cells gets cut off. Any help would be much appreciated:
<RadGrid:CustomRadGrid ID="DetailsGrid" runat="server" AutoGenerateColumns="False"
ShowFooter="True" OnNeedDataSource="DetailsGrid_NeedDataSource" OnItemDataBound="DetailsGrid_ItemDataBound"
OnItemCreated="DetailsGrid_ItemCreated"
OnItemCommand="DetailsGrid_ItemCommand"
GridLines="None" AllowFilteringByColumn="True"
AllowPaging="True"
AllowSorting="True"
AllowMultiRowSelection="true">
© Stack Overflow or respective owner