This is a migrated thread and some comments may be shown as answers.

RadGrid in ToolTip Mastertableview Width

5 Answers 173 Views
Grid
This is a migrated thread and some comments may be shown as answers.
RBarnes
Top achievements
Rank 1
RBarnes asked on 05 Nov 2014, 05:16 PM

I have the below markup, and in IE11, I get a horizontal scroll, which is equivalent to the width of my MasterTableView Border if the Grid is in a Tooltip.  This does not happen in Chrome.

Version: 2014.3.1024.40

The only way I can get rid of the Horizontal scroll, is to specifically set the width of the MasterTableView to be the width of
my grid minus my border width times 2 , then the width is correct and I get NO scroll.  

The rendered html shows 100% if I omit the width on the MasterTableView, but yet I get a border if the grid's in a Tooltip and I don't specify the width as defined above.


 
<telerik:RadToolTip ID="rttPerformanceData" runat="server" HideEvent="ManualClose"
       Modal="False" Title="Select To View Performance Data Being Returned" Position="BottomCenter"
       RelativeTo="BrowserWindow" ShowEvent="FromCode" EnableViewState="True" ShowCallout="false"
       ShowDelay="0" AutoCloseDelay="0" Visible="false">
       <telerik:RadGrid ID="rgAirSoundModels" runat="server" AutoGenerateColumns="False"
           BorderWidth="0" GridLines="Both" Visible="true" AllowSorting="true" Width="500px"
           CommandItemStyle-HorizontalAlign="Right" EnableLinqExpressions="false" MasterTableView-TableLayout="Fixed">
           <MasterTableView DataKeyNames="pm_ProductModelID" TableLayout="Fixed" BorderWidth="1" BorderStyle="Solid" BorderColor="Gray">

5 Answers, 1 is accepted

Sort by
0
Galin
Telerik team
answered on 10 Nov 2014, 12:00 PM
Hi Roger,

I tried to replicate the described issue but to no avail. Fore reference I am sending my testing page, please check it out and let me know if I have missed something important.

However you can get rid of the grid's border with the following CSS rule
div.RadGrid {
    border: none;
}



Regards,
Galin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
RBarnes
Top achievements
Rank 1
answered on 12 Nov 2014, 04:11 PM
Here is my example, that shows the issue I'm seeing.  I don't want to get rid of the Borders on the MasterTableView.
​

This appears to only happen in IE11, not in Chrome.

Remove .png from the Zip.
0
Galin
Telerik team
answered on 17 Nov 2014, 12:06 PM
Hi Roger,

Thank you for providing the runnable project.

In order to resolve this conflict I suggest you to use the following CSS rule
.RadGrid .rgMasterTable {
    box-sizing: border-box;
}

I hope this helps.

Regards,
Galin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Kavita
Top achievements
Rank 1
answered on 13 Jan 2015, 03:53 PM
Hello.We are facing exactly same issue , So how did you fix this. Can you post the resolution also.


Thanks ,
Kavita
0
Galin
Telerik team
answered on 16 Jan 2015, 02:58 PM
Hi Kavita,

The suggested solution is the following CSS rule:
.RadGrid .rgMasterTable {
    box-sizing: border-box;
}

However in case your scenario is not the same and this this does not help you I suggest you to start a formal support ticket and attach a sample project which we can use to reproduce the issue.

Thank you for the cooperation.

Regards,
Galin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
RBarnes
Top achievements
Rank 1
Answers by
Galin
Telerik team
RBarnes
Top achievements
Rank 1
Kavita
Top achievements
Rank 1
Share this question
or