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. Image for the cookie policy date

[+] column showing in the grid

I am evaluating the sf grid. When using my model, I keep getting a column on the left with a [+] (see attachment).

How can I remove this column?

.aspx
<%=Html.Grid(

"MvcGridServerMode","GridModel" ,column =>{

column.Add(c => c.SurName).HeaderText("Name").Format("{SurName}, {FirstNames} {MiddleNames}");
column.Add(c => c.ClaimStatus).HeaderText("Status");
column.Add(c => c.M46No).HeaderText("ACC 45#");
column.Add(c => c.InjuryDate).HeaderText("Injury");
column.Add(c => c.Address1).HeaderText("Phones").Format("Home {HomePhone}
Work {WorkPhone}");
column.Add(c => c.HomePhone).HeaderText("Address").Format("{Address1}
{Address2}
{Address3} {PostCode}");
column.Add(c => c.Dob).HeaderText("Dob");
column.Add(c => c.Claim);
}) %>



.cs
var claims = _AccRepository.SearchClaims("test", "cross");
ViewData["Claims"] = claims;

GridPropertiesModel gridModel = new GridPropertiesModel()
{
DataSource = claims,
AutoFormat = Skins.Office2007Blue,

Caption = "Claims",
AllowGrouping = false,
NestedTableExpand = false,

PrimaryKeyColumns = { "Id" },
};

ViewData["GridModel"] = gridModel;
return View();

Thanks

Sean



pluscolumn_9699ab1b.zip

1 Reply

BM Balaji M Syncfusion Team October 30, 2009 07:44 PM UTC

Hi Sean,

Thank you for your interest in Syncfusion products.

We are able to reproduce this issue and this is known issue in Grid. This issue raised because of association

relatin between those datatables. We have recently fixed this issue and will be available with our Syncfusion

Essential Studio 2009 Volume 4.

Our Volume 4 RC,which has been released yesterday has a fix for this issue.

Could you please try this version?

We have published the Essential Studio version 2009 Volume 4 RC in the following forum :
http://www.syncfusion.com/support/forums/general/91019/essential-studio-2009-vol4-rc-v74015-available-for-downlo

ad

Please refer the sample from the below link.

http://files.syncfusion.com/support/grid_mvc/Incidents/F90993/MVC_GridSample.zip

Please let me know if you have any concerns.

Regards,
M. Ba

Loader.
Live Chat Icon For mobile
Up arrow icon