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

Fixed height , static columns rendering problem

3 Answers 57 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rizwan
Top achievements
Rank 1
Rizwan asked on 11 Sep 2012, 01:31 PM
Hi
   I am using telerik 2012.2.724.35  , I am using fixed header and my grid does not render properly ,, please review the last column
these are grid settings
  <telerik:RadGrid ID="radGridPermission" runat="server" Skin="Office2007" AutoGenerateColumns="false" AllowPaging="false" AllowSorting="true" Width="99%" >
        <GroupingSettings CaseSensitive="false" />
        <ExportSettings OpenInNewWindow="true" >
            <Pdf FontType="Link" PaperSize="A4"  />
            <Excel Format="Html"   />
            <Csv ColumnDelimiter="Comma" RowDelimiter="NewLine"   />
        </ExportSettings>
        <ClientSettings>
        <ClientEvents OnRowSelected="P_OnRowSelected" OnRowDeselected="P_OnRowDeselected" OnRowCreating="P_OnRowCreating" OnRowCreated="P_OnRowCreating" />
        <Scrolling AllowScroll="true" FrozenColumnsCount="2" UseStaticHeaders="true"/>
        </ClientSettings>
        <MasterTableView ShowHeader="true" AllowFilteringByColumn="false" ClientDataKeyNames="UserId" ItemStyle-CssClass="UseHand">        
            <PagerTemplate>
                    <uc1:gridFooter ID="gridFooter" runat="server"  />
                </PagerTemplate>
            <Columns>      
columns here
 
 
This is code behind settings in a common function used by all grids on entire website.
 
            grid.PageSize = GetGridPageSize; // this is 10
            grid.PagerStyle.Mode = PagerMode;
            grid.PagerStyle.PageButtonCount = GetGridPageSize;
            grid.AllowPaging = true;
            grid.MasterTableView.AllowFilteringByColumn = false;
            grid.PagerStyle.AlwaysVisible = true;
            grid.ClientSettings.EnableRowHoverStyle = true;
 
            grid.MasterTableView.TableLayout = GridTableLayout.Auto;
            grid.MasterTableView.HierarchyDefaultExpanded = false;
            grid.ClientSettings.Selecting.AllowRowSelect = true;
            grid.ExportSettings.Pdf.PaperSize = GetPageSize;


Problem is in IE9 compat mode and IE7

3 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 13 Sep 2012, 08:54 PM
Hi,

To avoid the described behavior you should leave one column without width(for example the last one). Generally, when the RadGrid is used with fixed width and static headers and you set some column widths, it is good to leave one column with no width.

Additionally, you can refer to the link below for more information about column widths:
http://www.telerik.com/community/forums/aspnet/grid/best-practice-for-grid-and-column-widths.aspx#1214355Regards,


Kind regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Rizwan
Top achievements
Rank 1
answered on 21 Sep 2012, 01:19 PM
Hi
   Please visit
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/frozencolumns/defaultcs.aspx

set your browser IE-9 Compatibility with IE9 Standards and you will see somehting like attached picture.
is there any fix to this ?

Best Regards
Rizwan Bashir
0
Pavlina
Telerik team
answered on 26 Sep 2012, 01:10 PM
Hi,

IE-9 Compatibility View with IE9 Standards document mode is not supported browser.We only support official versions of the browsers.

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Rizwan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Rizwan
Top achievements
Rank 1
Share this question
or