Webgrid 7 without pagination Horizontal Scrollbar always displayed

6 replies. Last post: November 10, 2010 9:08 PM by Glenn Layaar
Tags :
  • New Discussion
  • New Question
  • New Product Feedback

Hello,

 

I'm trying to remove the horizontal scrollbar (see attached picture).

 

Like you can see, event with a small width there is an horizontal scrollbar.

 

Do you know how can I remove it ? I did check your samples trying to compare the different properties, but I didn't see any differences. I'm using IE7

 

Here is the code I use to build my webgrid :

 

<ISWebGrid:WebGrid ID="wgPendingQueryListMaster" Height="300px" runat="server" DataSourceID="idsPendingQueryList"
                            UseDefaultStyle="True" Width="100%">
                            <RootTable DataKeyField="InstanceId">
                                <Columns>
                                    <ISWebGrid:WebGridColumn Caption="<%$ Resources:Resources, grdDescription %>"
                                        DataMember="Description" Name="Description" Width="75px">
                                    </ISWebGrid:WebGridColumn>
                                    <ISWebGrid:WebGridColumn Caption="<%$ Resources:Resources, grdStartDate %>"
                                        DataMember="CreationDate" Name="CreationDate" Width="75px">
                                    </ISWebGrid:WebGridColumn>
                                    <ISWebGrid:WebGridColumn Caption="<%$ Resources:Resources, grdStatus %>"
                                        Name="Status" DataMember="Status" HiddenDataMember="Status" ColumnType="Image" Width="75px">
                                    </ISWebGrid:WebGridColumn>
                                </Columns>
                            </RootTable>
                            <LayoutSettings  AllowDelete="Yes">
                                <ClientSideEvents OnCellDblClick="PendingQueryListMaster_OnCellDblClick" 
                                    OnRowContextMenu="PendingQueryListMaster_OnRowContextMenu" />
                            </LayoutSettings>
                        </ISWebGrid:WebGrid>

Many Thanks.

 

Best Regards,

Nicolas

All times are GMT -5. The time now is 9:07 AM.
Previous Next