Hello,
I am working on a project with a RadGrid that has DetailView.
The RadGrid has a lot of columns.
I want the columns’ width to auto-size by content.
I have the following code:
VB.NET:
ASPX:
When I add the following code, all columns’s width get “squashed”:
How can I solve this?
I have attached video link that shows this issue:
[video link]
Thanks,
Daniel.
I am working on a project with a RadGrid that has DetailView.
The RadGrid has a lot of columns.
I want the columns’ width to auto-size by content.
I have the following code:
VB.NET:
RadGrid1.AllowSorting = TrueadGrid1.MasterTableView.AllowSorting = TrueadGrid1.ClientSettings.Scrolling.UseStaticHeaders = TrueadGrid1.MasterTableView.PageSize = 30adGrid1.MasterTableView.AllowPaging = TrueadGrid1.AllowPaging = FalseASPX:
<style type="text/css"> #RadGrid1Panel, .RadGrid, .RadGrid_Default{ width: 700px !important; } </style><telerik:RadGrid ID="RadGrid1" runat="server" MasterTableView-EnableHeaderContextMenu="true" Height="900px" Width="700px" > <ClientSettings> <Scrolling AllowScroll="True"></Scrolling> </ClientSettings> </telerik:RadGrid>When I add the following code, all columns’s width get “squashed”:
Dim tableViewOrders = New GridTableView(RadGrid1)RadGrid1.MasterTableView.DetailTables.Add(tableViewOrders)How can I solve this?
I have attached video link that shows this issue:
[video link]
Thanks,
Daniel.