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

Grid Horizontal Scroll does not show when fields overflow in Edit mode

2 Answers 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
bbeatty
Top achievements
Rank 1
bbeatty asked on 26 Apr 2012, 08:26 PM
I have a grid that, when in Edit mode the text boxes cause the fields to overflow horizontally to the right.

the problem is that it is not enabling the scroll bars so the user cannot scroll and edit the fields.
My other grids do not have this problem
I've attached before and after screen shots.

@(Html.Telerik().Grid<GridContactItem>()
      .Name("GridContact")
      .ToolBar(commands => commands.Insert().ButtonType(GridButtonType.ImageAndText).ImageHtmlAttributes(new { style = "margin-left:0" }))
      .DataKeys(keys => keys.Add(p => p.Id).RouteKey("contactId"))
      .DataBinding(dataBinding => dataBinding.Ajax()
                                      .Select(MVC.Company.ContactGetAll().GetRouteValueDictionary())
                                      .Insert(MVC.Company.ContactInsert().GetRouteValueDictionary())
                                      .Update(MVC.Company.ContactUpdate().GetRouteValueDictionary())
                                      .Delete(MVC.Company.ContactDelete().GetRouteValueDictionary())
      )
      .Columns(columns =>
          {
              columns.Command(commands =>
                  {
                      commands.Edit().ButtonType(type);
                      commands.Delete().ButtonType(type);
                  }).Title("Commands").Width(200);
              columns.Bound(b => b.FirstName);
              columns.Bound(b => b.LastName);
              columns.Bound(b => b.OfficeNumber);
              columns.Bound(b => b.MobileNumber);  
                
              columns.Bound(b => b.Email);
              
          })
        .Editable(e => e.Mode(mode))
      .Sortable()
      .Filterable()
      .ClientEvents(events => events.OnError("onGridError")))

2 Answers, 1 is accepted

Sort by
0
Jo
Top achievements
Rank 1
answered on 29 Jun 2012, 10:25 PM
Hello,
I am having the same issue with my grid.  Seems to only occur in IE 9.  The Chrome layout looks good.

Were you able to resolve this issue?

Thanks.
0
bbeatty
Top achievements
Rank 1
answered on 02 Jul 2012, 04:10 PM
sorry, no I haven't found a work around for IE9
Tags
Grid
Asked by
bbeatty
Top achievements
Rank 1
Answers by
Jo
Top achievements
Rank 1
bbeatty
Top achievements
Rank 1
Share this question
or