Hi SebFrance,
Thank you for using Syncfusion products.
Query #1 : , I"m looking on the Add(string mappingName) method
Your requirement can be achieved by specifying the “MappingName” of the column. And also we need to set the Unbound as false for those columns.
<%=Html.Syncfusion().Grid
("OrdersGrid")
. . . . .
. . . .
.Column(col =>
{
//set UnBound as false , otherwise columns will be treated as unbound column and it will empty without any data's
col.Add("OrderID").UnBound(false);
col.Add("CustomerID").UnBound(false);
col.Add("EmployeeID").UnBound(false);
col.Add("ShipCity").UnBound(false);
col.Add("Freight").UnBound(false);
col.Add("ShipCountry").UnBound(false);
})
%>
For your convenience , we have prepared the sample and the same can be downloaded from the following link :
http://www.syncfusion.com/downloads/Support/DirectTrac/87446/Sample-346942925.zip
Note: If you want to run the sample in MVC3, change the configuration manager as Debug_MVC3/Release_MVC3.To briefly know about that steps please kindly refer this document link.
How to Switch between MVC2 to MVC3
Please try this and let us know if you need any further assistance.
Regards,
Eswari.S