.rgMasterTable
{
width: auto !important;
}
but I get what is on the image
if I try to overwrite the style in the master table view it renders the width attribute twice, like this:
<table cellspacing="0" class="rgMasterTable" id="RadGrid1_ctl00" style="width:100%;width:auto;table-layout:auto;empty-cells:show;">
I want that the colums width adjusts to the content, It works if I put the grid inside a table td but there must be a better way
also works inside a div with display:inline-table but not in IE7
I'm using Q1 2010
please advise
thanks!
code:
<telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" onneeddatasource="RadGrid1_NeedDataSource"> <MasterTableView style="width:auto;"> </MasterTableView> </telerik:RadGrid> <telerik:RadTabStrip ID="RadTabStrip1" SelectedIndex="0" Width="100%" Height="100%" runat="server" MultiPageID="RadMultiPage1" CssClass="RadTabStrip_Default" Skin="Default" EnableEmbeddedSkins="false" >
<Tabs>
<tab>Tab1</Tab>
.
.
.
.
</Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage1_PageViewCreated" CssClass="multiPage">
<telerik:RadPageView runat="server" ContentUrl="Page.aspx"> </telerik:RadPageView>
.
.
.
</telerik:RadMultiPage>
Can anyone guide my that how I can achieve this??? Thanks in advance.
Regards,

