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

No horizontal scroll using in-place edit

1 Answer 58 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mary
Top achievements
Rank 1
Mary asked on 30 Mar 2019, 03:22 AM

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"  >   

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 03 Apr 2019, 01:36 PM
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.
Tags
Grid
Asked by
Mary
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or