No horizontal scroll using in-place edit

2 posts, 0 answers
  1. Mary
    Mary avatar
    20 posts
    Member since:
    Nov 2017

    Posted 29 Mar 2019 Link to this post

    Good afternoon,

    My RadGrid does not need horizontal scroll until it goes into in-place edit mode - then there are text boxes to the right of the box containing the grid, but no scroll bar.

    Any suggestions?

    <telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server"   AutoGenerateColumns="false"  OnNeedDataSource="RadGrid1_NeedDataSource" OnItemDataBound="RadGrid1_ItemDataBound"
                     OnUpdateCommand="RadGrid1_UpdateCommand" OnInsertCommand="RadGrid1_InsertCommand" AllowSorting="True" AllowMultiRowSelection="True" ClientSettings-Scrolling-AllowScroll="true">
            <ClientSettings  >
                
                <Selecting AllowRowSelect="true" /></ClientSettings>
            <MasterTableView AutoGenerateColumns="False" DataKeyNames="HorseKey"  ClientDataKeyNames="HorseKey" EditMode="InPlace" 
                 CommandItemDisplay="Top"  >   

  2. Eyup
    Admin
    Eyup avatar
    4074 posts

    Posted 03 Apr 2019 Link to this post

    Hi Mary,

    You can set a fixed Width to the RadGrid and MasterTableView tags to accomplish this:
    <telerik:RadGrid ... Width="800px">
        <ClientSettings>
            <Scrolling AllowScroll="true" />
        </ClientSettings>
        <MasterTableView ... Width="1600px">

    I hope this will prove helpful.

    Regards,
    Eyup
    Progress Telerik
    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top