We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

mvc grid not aligning to data

Thread ID:





98624 Mar 11,2011 03:51 PM Mar 15,2011 05:27 AM ASP.NET MVC (Classic) 2
Tags: Grid
Cameron Hebert
Asked On March 11, 2011 03:51 PM


I have an mvc grid.

The column headers do not seem to align to the data columns at runtime. Once the page is loaded, if I adjust the sizing of the column, they seem to snap into place.

public ProductionEntities _prodDB = new ProductionEntities();
//public ProductionRepository _prodDB = new ProductionRepository();

public ActionResult Index(Skins? Skins)
GridPropertiesModel gridModel = new GridPropertiesModel()
DataSource = _prodDB.Productions.ToList(),
ActionMode = "Server",
Caption = "Production",
AllowScrolling = true,
AllowPaging = true,
AllowResizing = true,
PageSize = 25,

ViewData["DefaultSkin"] = Skins == null ? Syncfusion.Mvc.Shared.Skins.Blueberry: (Skins)Skins;
ViewData["gridModel"] = gridModel;

return View();

public ActionResult Index(PagingParams args)
IEnumerable data = new ProductionEntities().Productions.ToList();
return data.GridActions();

Production Report

<%= Html.Syncfusion().Grid("ProductionGrid", "gridModel",
column =>
column.Add(c => c.reportDate)

column.Add(c => c.Hour)

column.Add(c => c.FTE)

column.Add(c => c.Dials)

column.Add(c => c.UniqueDials)
.HeaderText("Unique Dials")

column.Add(c => c.Complete)

column.Add(c => c.Contact)

column.Add(c => c.RPC)

column.Add(c => c.Success)

column.Add(c => c.RDV)

column.Add(c => c.BusinessListing)
.HeaderText("Business Listing")


Cameron Hebert
Replied On March 11, 2011 03:55 PM


Eswari S [Syncfusion]
Replied On March 15, 2011 05:27 AM

Hi Cameron,

The reported issue with 'Mvc grid alignment' has been confirmed as a defect; hence we have logged a defect report. However, we do not provide confidential information and patches in the general forum, so could you please create a new incident such that we can fix the issue and provide the patch for you.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon